[tryton-debian-vcs] tryton-modules-product-price-list branch upstream updated. upstream/4.4.0-1-g893183a

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Fri Nov 10 12:13:41 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-price-list.git;a=commitdiff;h=upstream/4.4.0-1-g893183a

commit 893183a73ce82a92f0edd92b24c4d342191dd6d4
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Nov 6 14:41:06 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 61610b7..2590144 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.6.0 - 2017-10-30
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.0 - 2017-05-01
 * Bug fixes (see mercurial logs for details)
 * Add category as matching criteria
diff --git a/PKG-INFO b/PKG-INFO
index 0f6eb34..d830d81 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_product_price_list
-Version: 4.4.0
+Version: 4.6.0
 Summary: Tryton module with price list
 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_price_list
         ==========================
         
@@ -69,9 +69,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 b43f946..fc71631 100644
--- a/locale/bg.po
+++ b/locale/bg.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -33,8 +33,8 @@ msgid "Name"
 msgstr "Име"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Име"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -81,8 +81,8 @@ msgid "Quantity"
 msgstr "Количество"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Име"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/ca.po b/locale/ca.po
index 3d86e0b..24df25e 100644
--- a/locale/ca.po
+++ b/locale/ca.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Nom"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom del registre"
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Quantitat"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom del registre"
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/cs.po b/locale/cs.po
index 1eb06ae..c522566 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -33,10 +33,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "Namu"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -82,10 +81,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr ""
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/de.po b/locale/de.po
index 9a08c30..26ca2de 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Name"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Name"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Anzahl"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Name"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/es.po b/locale/es.po
index 004103f..47dbe33 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Nombre"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nombre"
+msgid "Record Name"
+msgstr "Nombre del registro"
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Cantidad"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nombre"
+msgid "Record Name"
+msgstr "Nombre del registro"
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/es_419.po b/locale/es_419.po
index 9f40b72..415d7a6 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"
 
@@ -35,7 +35,7 @@ msgid "Name"
 msgstr ""
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
@@ -83,7 +83,7 @@ msgid "Quantity"
 msgstr ""
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/fr.po b/locale/fr.po
index ccc9fd3..665abdc 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Nom"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Quantité"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 557433b..66ed5fa 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"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Név"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Név"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Mennyiség"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Név"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 6c8a558..735a69a 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"
 
@@ -38,10 +38,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "Nome"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -94,10 +93,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr "Quantità"
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr ""
 
 #, fuzzy
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index 9793054..a3c854b 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"
 
@@ -33,7 +33,7 @@ msgid "Name"
 msgstr ""
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
@@ -82,7 +82,7 @@ msgid "Quantity"
 msgstr ""
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
+msgid "Record Name"
 msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/lo.po b/locale/lo.po
index c80dc18..18dd001 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -38,10 +38,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "ຊື່"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -95,10 +94,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr "ຈຳນວນ"
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
+msgid "Record Name"
+msgstr ""
 
 #, fuzzy
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/lt.po b/locale/lt.po
index 1eb06ae..c522566 100644
--- a/locale/lt.po
+++ b/locale/lt.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -33,10 +33,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "Namu"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -82,10 +81,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr ""
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/nl.po b/locale/nl.po
index 93a1c22..b1824ba 100644
--- a/locale/nl.po
+++ b/locale/nl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -38,10 +38,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "Naam bijlage"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -94,10 +93,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr "Hoeveelheid"
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
+msgid "Record Name"
+msgstr ""
 
 #, fuzzy
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/pl.po b/locale/pl.po
index 333ffc2..4cef774 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -33,8 +33,8 @@ msgid "Name"
 msgstr "Nazwa"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nazwa"
+msgid "Record Name"
+msgstr "Nazwa rekordu"
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -50,7 +50,7 @@ msgstr "Zapisał"
 
 msgctxt "field:product.price_list.line,category:"
 msgid "Category"
-msgstr ""
+msgstr "Kategoria"
 
 msgctxt "field:product.price_list.line,create_date:"
 msgid "Create Date"
@@ -81,12 +81,12 @@ msgid "Quantity"
 msgstr "Ilość"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nazwa"
+msgid "Record Name"
+msgstr "Nazwa rekordu"
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
-msgstr "Kolejność"
+msgstr "Sekwencja"
 
 msgctxt "field:product.price_list.line,unit_digits:"
 msgid "Unit Digits"
@@ -112,7 +112,7 @@ msgstr ""
 
 msgctxt "help:product.price_list,name:"
 msgid "The main identifier of the price list."
-msgstr ""
+msgstr "Główny identyfikator cennika."
 
 msgctxt "help:product.price_list,tax_included:"
 msgid "Check if result's formula includes taxes."
@@ -154,4 +154,4 @@ msgstr "Cennik"
 
 msgctxt "model:product.price_list.line,name:"
 msgid "Price List Line"
-msgstr "Wiersz z cennikiem"
+msgstr "Wiersz cennika"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 6bce2dd..41b1e68 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"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Nome"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr "Nome do Registro"
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Quantidade"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr "Nome do Registro"
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/ru.po b/locale/ru.po
index 306ee43..5de3a01 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -38,10 +38,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "Наименование"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Наименование"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -94,10 +93,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr "Кол-во"
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Наименование"
+msgid "Record Name"
+msgstr ""
 
 #, fuzzy
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/locale/sl.po b/locale/sl.po
index 3a033e5..5e9a28d 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -1,4 +1,4 @@
-# 
+#
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
@@ -35,8 +35,8 @@ msgid "Name"
 msgstr "Naziv"
 
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "Ime"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -83,8 +83,8 @@ msgid "Quantity"
 msgstr "Količina"
 
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "Ime"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list.line,sequence:"
 msgid "Sequence"
diff --git a/locale/zh_CN.po b/locale/zh_CN.po
index 87edfc7..8995954 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"
 
@@ -36,10 +36,9 @@ msgctxt "field:product.price_list,name:"
 msgid "Name"
 msgstr "纳木"
 
-#, fuzzy
 msgctxt "field:product.price_list,rec_name:"
-msgid "Name"
-msgstr "纳木"
+msgid "Record Name"
+msgstr ""
 
 msgctxt "field:product.price_list,tax_included:"
 msgid "Tax Included"
@@ -90,10 +89,9 @@ msgctxt "field:product.price_list.line,quantity:"
 msgid "Quantity"
 msgstr ""
 
-#, fuzzy
 msgctxt "field:product.price_list.line,rec_name:"
-msgid "Name"
-msgstr "纳木"
+msgid "Record Name"
+msgstr ""
 
 #, fuzzy
 msgctxt "field:product.price_list.line,sequence:"
diff --git a/price_list.py b/price_list.py
index 560e258..6f92976 100644
--- a/price_list.py
+++ b/price_list.py
@@ -59,7 +59,7 @@ class PriceList(ModelSQL, ModelView):
 
         pattern = pattern.copy()
         if product:
-            pattern['categories'] = [c.id for c in product.categories]
+            pattern['categories'] = [c.id for c in product.categories_all]
             pattern['product'] = product.id
         pattern['quantity'] = Uom.compute_qty(uom, quantity,
             product.default_uom, round=False) if product else quantity
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 7e1a000..c4dc573 100644
--- a/setup.py
+++ b/setup.py
@@ -96,9 +96,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/tests/test_product_price_list.py b/tests/test_product_price_list.py
index 30ba11e..0cdc177 100644
--- a/tests/test_product_price_list.py
+++ b/tests/test_product_price_list.py
@@ -38,7 +38,6 @@ class ProductPriceListTestCase(ModuleTestCase):
             template = Template(
                 name='Test Lot Sequence',
                 list_price=Decimal(10),
-                cost_price=Decimal(5),
                 default_uom=kilogram,
                 )
             template.save()
@@ -98,7 +97,6 @@ class ProductPriceListTestCase(ModuleTestCase):
             template = Template(
                 name="Template",
                 list_price=Decimal(10),
-                cost_price=Decimal(3),
                 default_uom=unit,
                 products=None,
                 categories=[category],
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 e3f4493..80c1ee1 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.6.0
 depends:
     company
     ir
diff --git a/trytond_product_price_list.egg-info/PKG-INFO b/trytond_product_price_list.egg-info/PKG-INFO
index b45d8c2..826ff21 100644
--- a/trytond_product_price_list.egg-info/PKG-INFO
+++ b/trytond_product_price_list.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-product-price-list
-Version: 4.4.0
+Version: 4.6.0
 Summary: Tryton module with price list
 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_price_list
         ==========================
         
@@ -69,9 +69,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_price_list.egg-info/SOURCES.txt b/trytond_product_price_list.egg-info/SOURCES.txt
index 737a380..ec96af5 100644
--- a/trytond_product_price_list.egg-info/SOURCES.txt
+++ b/trytond_product_price_list.egg-info/SOURCES.txt
@@ -1,11 +1,16 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+price_list.py
 price_list.xml
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./price_list.py
@@ -54,6 +59,8 @@ locale/pt_BR.po
 locale/ru.po
 locale/sl.po
 locale/zh_CN.po
+tests/__init__.py
+tests/test_product_price_list.py
 trytond_product_price_list.egg-info/PKG-INFO
 trytond_product_price_list.egg-info/SOURCES.txt
 trytond_product_price_list.egg-info/dependency_links.txt
diff --git a/trytond_product_price_list.egg-info/requires.txt b/trytond_product_price_list.egg-info/requires.txt
index 00b5473..696d313 100644
--- a/trytond_product_price_list.egg-info/requires.txt
+++ b/trytond_product_price_list.egg-info/requires.txt
@@ -1,5 +1,5 @@
 simpleeval
 python-sql >= 0.4
-trytond_company >= 4.4, < 4.5
-trytond_product >= 4.4, < 4.5
-trytond >= 4.4, < 4.5
+trytond_company >= 4.6, < 4.7
+trytond_product >= 4.6, < 4.7
+trytond >= 4.6, < 4.7
-- 
tryton-modules-product-price-list



More information about the tryton-debian-vcs mailing list