[tryton-debian-vcs] tryton-modules-product-cost-history branch upstream updated. upstream/4.4.1-1-ged187aa

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Fri Nov 10 12:12:35 UTC 2017


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product-cost-history.git;a=commitdiff;h=upstream/4.4.1-1-ged187aa

commit ed187aa748b7ca0e03bd6f94846a56354fec8321
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Nov 6 14:41:03 2017 +0100

    Adding upstream version 4.6.0.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..e0bc2f7
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,51 @@
+clone:
+    hg:
+        image: plugins/hg
+
+pipeline:
+    tox:
+        image: ${IMAGE}
+        environment:
+            - CFLAGS=-O0
+            - DB_CACHE=/cache
+            - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
+            - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
+        commands:
+            - pip install tox
+            - tox -e "${TOXENV}-${DATABASE}"
+        volumes:
+            - cache:/root/.cache
+
+services:
+    postgresql:
+        image: postgres
+        when:
+            matrix:
+                DATABASE: postgresql
+
+matrix:
+    include:
+        - IMAGE: python:2.7
+          TOXENV: py27
+          DATABASE: sqlite
+        - IMAGE: python:2.7
+          TOXENV: py27
+          DATABASE: postgresql
+        - IMAGE: python:3.4
+          TOXENV: py34
+          DATABASE: sqlite
+        - IMAGE: python:3.4
+          TOXENV: py34
+          DATABASE: postgresql
+        - IMAGE: python:3.5
+          TOXENV: py35
+          DATABASE: sqlite
+        - IMAGE: python:3.5
+          TOXENV: py35
+          DATABASE: postgresql
+        - IMAGE: python:3.6
+          TOXENV: py36
+          DATABASE: sqlite
+        - IMAGE: python:3.6
+          TOXENV: py36
+          DATABASE: postgresql
diff --git a/CHANGELOG b/CHANGELOG
index 98adfdc..9c3d613 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-Version 4.4.1 - 2017-09-04
+Version 4.6.0 - 2017-10-30
 * Bug fixes (see mercurial logs for details)
 
 Version 4.4.0 - 2017-05-01
diff --git a/PKG-INFO b/PKG-INFO
index dd6cdb7..272d512 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_product_cost_history
-Version: 4.4.1
+Version: 4.6.0
 Summary: Tryton module to historize product cost
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.4/
+Download-URL: http://downloads.tryton.org/4.6/
 Description: trytond_product_cost_history
         ============================
         
@@ -70,9 +70,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/locale/bg.po b/locale/bg.po
index 86b6ccb..ba5e4b1 100644
--- a/locale/bg.po
+++ b/locale/bg.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,15 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Име"
-
-msgctxt "field:product.product.cost_history,template:"
+#, fuzzy
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Продукт"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Променено на"
diff --git a/locale/ca.po b/locale/ca.po
index c2c3aae..4e7bfda 100644
--- a/locale/ca.po
+++ b/locale/ca.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nom"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Producte"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr "Nom del registre"
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Data de modificació"
diff --git a/locale/cs.po b/locale/cs.po
index a85054e..34cca42 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,15 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr ""
 
-#, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Namu"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr ""
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr ""
diff --git a/locale/de.po b/locale/de.po
index 69a3824..a3a2716 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,15 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Name"
-
-msgctxt "field:product.product.cost_history,template:"
+#, fuzzy
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Artikel"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Zuletzt geändert"
diff --git a/locale/es.po b/locale/es.po
index b4f6c6b..a4663b3 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nombre"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Producto"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr "Nombre del registro"
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Fecha de modificación"
diff --git a/locale/es_419.po b/locale/es_419.po
index 3cb38e7..a61bc5e 100644
--- a/locale/es_419.po
+++ b/locale/es_419.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,12 +22,12 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr ""
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
+msgctxt "field:product.product.cost_history,product:"
+msgid "Product"
 msgstr ""
 
-msgctxt "field:product.product.cost_history,template:"
-msgid "Product"
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.product.cost_history,write_date:"
diff --git a/locale/fr.po b/locale/fr.po
index 4e77c46..588c17a 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nom"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Produit"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Date de mise à jour"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 61eadf8..0fd8106 100644
--- a/locale/hu_HU.po
+++ b/locale/hu_HU.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,15 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Név"
-
-msgctxt "field:product.product.cost_history,template:"
+#, fuzzy
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Termék"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Utolsó módosítás dátuma"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 729f1a6..7fb9791 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -27,15 +27,14 @@ msgid "ID"
 msgstr "Movimento contabile"
 
 #, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nome"
-
-#, fuzzy
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Prodotto"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 #, fuzzy
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index edc6ad2..eb0c370 100644
--- a/locale/ja_JP.po
+++ b/locale/ja_JP.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,12 +22,12 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr ""
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
+msgctxt "field:product.product.cost_history,product:"
+msgid "Product"
 msgstr ""
 
-msgctxt "field:product.product.cost_history,template:"
-msgid "Product"
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.product.cost_history,write_date:"
diff --git a/locale/lo.po b/locale/lo.po
index b6720fc..29b5728 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -28,15 +28,14 @@ msgid "ID"
 msgstr "ເລດລຳດັບ"
 
 #, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
-
-#, fuzzy
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "ຜະລິດຕະພັນ"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 #, fuzzy
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
diff --git a/locale/lt.po b/locale/lt.po
index a85054e..34cca42 100644
--- a/locale/lt.po
+++ b/locale/lt.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,15 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr ""
 
-#, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Namu"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr ""
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr ""
diff --git a/locale/nl.po b/locale/nl.po
index c7ca4b8..3ed391f 100644
--- a/locale/nl.po
+++ b/locale/nl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -28,15 +28,14 @@ msgid "ID"
 msgstr "ID"
 
 #, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
-
-#, fuzzy
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Producten"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 #, fuzzy
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
diff --git a/locale/pl.po b/locale/pl.po
index cc6b987..8fc43d4 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nazwa"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Produkt"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr "Nazwa rekordu"
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Data zapisu"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 85317db..80462f3 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Nome"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Produto"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr "Nome do Registro"
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Data de edição"
diff --git a/locale/ru.po b/locale/ru.po
index fbb543f..753655c 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -25,14 +25,15 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Наименование"
-
-msgctxt "field:product.product.cost_history,template:"
+#, fuzzy
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "ТМЦ"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 #, fuzzy
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
diff --git a/locale/sl.po b/locale/sl.po
index 7466d60..e272933 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -22,14 +22,15 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "ID"
 
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "Ime"
-
-msgctxt "field:product.product.cost_history,template:"
+#, fuzzy
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr "Izdelek"
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
 msgstr "Zapisano"
diff --git a/locale/zh_CN.po b/locale/zh_CN.po
index ead9140..6f443fe 100644
--- a/locale/zh_CN.po
+++ b/locale/zh_CN.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -26,15 +26,14 @@ msgctxt "field:product.product.cost_history,id:"
 msgid "ID"
 msgstr "编号"
 
-#, fuzzy
-msgctxt "field:product.product.cost_history,rec_name:"
-msgid "Name"
-msgstr "纳木"
-
-msgctxt "field:product.product.cost_history,template:"
+msgctxt "field:product.product.cost_history,product:"
 msgid "Product"
 msgstr ""
 
+msgctxt "field:product.product.cost_history,rec_name:"
+msgid "Record Name"
+msgstr ""
+
 #, fuzzy
 msgctxt "field:product.product.cost_history,write_date:"
 msgid "Write Date"
diff --git a/product.py b/product.py
index 076b740..f211d8d 100644
--- a/product.py
+++ b/product.py
@@ -22,7 +22,7 @@ class ProductCostPrice:
 class ProductCostHistory(ModelSQL, ModelView):
     'History of Product Cost'
     __name__ = 'product.product.cost_history'
-    template = fields.Many2One('product.template', 'Product')
+    product = fields.Many2One('product.product', "Product")
     date = fields.DateTime('Date')
     cost_price = fields.Numeric('Cost Price')
 
@@ -43,11 +43,11 @@ class ProductCostHistory(ModelSQL, ModelView):
             Max(history.write_date).as_('write_date'),
             Coalesce(history.write_date,
                 history.create_date).as_('date'),
-            history.template.as_('template'),
+            history.product.as_('product'),
             history.cost_price.as_('cost_price'),
             group_by=(history.id,
                 Coalesce(history.write_date, history.create_date),
-                history.template, history.cost_price))
+                history.product, history.cost_price))
 
     def get_rec_name(self, name):
         return str(self.date)
@@ -66,11 +66,11 @@ class OpenProductCostHistory(Wizard):
         active_id = Transaction().context.get('active_id')
         if not active_id or active_id < 0:
             action['pyson_domain'] = PYSONEncoder().encode([
-                    ('template', '=', None),
+                    ('product', '=', None),
                     ])
         else:
             product = Product(active_id)
             action['pyson_domain'] = PYSONEncoder().encode([
-                    ('template', '=', product.template.id),
+                    ('product', '=', product.id),
                     ])
         return action, {}
diff --git a/setup.py b/setup.py
index 45f466f..6516db3 100644
--- a/setup.py
+++ b/setup.py
@@ -97,9 +97,9 @@ setup(name=name,
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
         'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Office/Business',
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..527d859
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+envlist = {py27,py34,py35,py36}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+    {py27,py34,py35,py36}-postgresql: psycopg2 >= 2.5
+    pypy-postgresql: psycopg2cffi >= 2.5
+    mysql: MySQL-python
+    sqlite: sqlitebck
+setenv =
+    sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
+    postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
+    mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
+    sqlite: DB_NAME={env:SQLITE_NAME::memory:}
+    postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+    mysql: DB_NAME={env:MYSQL_NAME:test}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
diff --git a/tryton.cfg b/tryton.cfg
index 6707016..3299c45 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.1
+version=4.6.0
 depends:
     ir
     product
diff --git a/trytond_product_cost_history.egg-info/PKG-INFO b/trytond_product_cost_history.egg-info/PKG-INFO
index c1542b7..ee287fa 100644
--- a/trytond_product_cost_history.egg-info/PKG-INFO
+++ b/trytond_product_cost_history.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-product-cost-history
-Version: 4.4.1
+Version: 4.6.0
 Summary: Tryton module to historize product cost
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.4/
+Download-URL: http://downloads.tryton.org/4.6/
 Description: trytond_product_cost_history
         ============================
         
@@ -70,9 +70,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/trytond_product_cost_history.egg-info/SOURCES.txt b/trytond_product_cost_history.egg-info/SOURCES.txt
index 67b1e73..fbd9355 100644
--- a/trytond_product_cost_history.egg-info/SOURCES.txt
+++ b/trytond_product_cost_history.egg-info/SOURCES.txt
@@ -1,11 +1,16 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+product.py
 product.xml
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./product.py
@@ -52,6 +57,8 @@ locale/pt_BR.po
 locale/ru.po
 locale/sl.po
 locale/zh_CN.po
+tests/__init__.py
+tests/test_product_cost_history.py
 trytond_product_cost_history.egg-info/PKG-INFO
 trytond_product_cost_history.egg-info/SOURCES.txt
 trytond_product_cost_history.egg-info/dependency_links.txt
diff --git a/trytond_product_cost_history.egg-info/requires.txt b/trytond_product_cost_history.egg-info/requires.txt
index d61b022..4d93a62 100644
--- a/trytond_product_cost_history.egg-info/requires.txt
+++ b/trytond_product_cost_history.egg-info/requires.txt
@@ -1,3 +1,3 @@
 python-sql
-trytond_product >= 4.4, < 4.5
-trytond >= 4.4, < 4.5
+trytond_product >= 4.6, < 4.7
+trytond >= 4.6, < 4.7
diff --git a/view/product_cost_history_tree.xml b/view/product_cost_history_tree.xml
index ad411c2..1e11954 100644
--- a/view/product_cost_history_tree.xml
+++ b/view/product_cost_history_tree.xml
@@ -2,7 +2,7 @@
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
 <tree>
-    <field name="template"/>
+    <field name="product"/>
     <field name="date" widget="date"/>
     <field name="date" widget="time" string="Time"/>
     <field name="cost_price"/>
-- 
tryton-modules-product-cost-history



More information about the tryton-debian-vcs mailing list