[tryton-debian-vcs] tryton-modules-stock-supply-day branch debian updated. debian/3.8.1-1-3-ge909941

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jun 2 16:28:58 UTC 2016


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-supply-day.git;a=commitdiff;h=debian/3.8.1-1-3-ge909941

commit e9099414baa154e0ae06b6294ddbde93e3b71732
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jun 1 21:47:35 2016 +0200

    Releasing debian version 4.0.0-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 4e6fb10..9ffad9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-stock-supply-day (4.0.0-1) unstable; urgency=medium
+
+  * Merging upstream version 4.0.0.
+  * Updating the copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 30 May 2016 19:32:19 +0200
+
 tryton-modules-stock-supply-day (3.8.1-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit 3e0d79cffcdde8301612687313d4f11684dbbe82
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri May 27 19:01:03 2016 +0200

    Updating the copyright file.

diff --git a/debian/copyright b/debian/copyright
index 1151b5f..fcc6749 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -9,7 +9,7 @@ License: GPL-3+
 Files: debian/*
 Copyright:
            2009-2012 Daniel Baumann <daniel at debian.org>
-           2012-2015 Mathias Behrle <mathiasb at m9s.biz>
+           2012-2016 Mathias Behrle <mathiasb at m9s.biz>
 License: GPL-3+
 
 License: GPL-3+
commit 52c07447517284cefd831a7990a8938ad81c5467
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri May 27 18:26:23 2016 +0200

    Merging upstream version 4.0.0.

diff --git a/CHANGELOG b/CHANGELOG
index 065ca05..32a0333 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,6 @@
-Version 3.8.1 - 2016-03-14
+Version 4.0.0 - 2016-05-02
 * Bug fixes (see mercurial logs for details)
+* Add Python3 support
 
 Version 3.8.0 - 2015-11-02
 * Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index a571437..cc8aed6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_stock_supply_day
-Version: 3.8.1
+Version: 4.0.0
 Summary: Tryton module to add supply weekdays
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_stock_supply_day
         ========================
         
@@ -53,6 +53,8 @@ Classifier: Intended Audience :: Legal Industry
 Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -66,6 +68,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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 3c654da..8ecb5d9 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -73,7 +73,3 @@ msgstr "Mittwoch"
 msgctxt "view:purchase.product_supplier.day:"
 msgid "Week Day"
 msgstr "Wochentag"
-
-msgctxt "view:purchase.product_supplier:"
-msgid "Week Days"
-msgstr "Wochentage"
diff --git a/locale/es_MX.po b/locale/es_MX.po
index ceaa239..59b1df3 100644
--- a/locale/es_MX.po
+++ b/locale/es_MX.po
@@ -70,6 +70,7 @@ msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Wednesday"
 msgstr "Miércoles"
 
+#, fuzzy
 msgctxt "view:purchase.product_supplier.day:"
 msgid "Week Day"
-msgstr ""
+msgstr "Día de la semana"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 5c8b9dd..39ab604 100644
--- a/locale/hu_HU.po
+++ b/locale/hu_HU.po
@@ -4,72 +4,72 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:purchase.product_supplier,weekdays:"
 msgid "Week Days"
-msgstr ""
+msgstr "Hét napja:"
 
 msgctxt "field:purchase.product_supplier.day,create_date:"
 msgid "Create Date"
-msgstr ""
+msgstr "Létrehozás dátuma"
 
 msgctxt "field:purchase.product_supplier.day,create_uid:"
 msgid "Create User"
-msgstr ""
+msgstr "Által létrehozva"
 
 msgctxt "field:purchase.product_supplier.day,id:"
 msgid "ID"
-msgstr ""
+msgstr "ID"
 
 msgctxt "field:purchase.product_supplier.day,product_supplier:"
 msgid "Supplier"
-msgstr ""
+msgstr "Beszállítók"
 
 msgctxt "field:purchase.product_supplier.day,rec_name:"
 msgid "Name"
-msgstr ""
+msgstr "Név"
 
 msgctxt "field:purchase.product_supplier.day,weekday:"
 msgid "Week Day"
-msgstr ""
+msgstr "Hét napja:"
 
 msgctxt "field:purchase.product_supplier.day,write_date:"
 msgid "Write Date"
-msgstr ""
+msgstr "Módosítás dátuma"
 
 msgctxt "field:purchase.product_supplier.day,write_uid:"
 msgid "Write User"
-msgstr ""
+msgstr "Által módosítva"
 
 msgctxt "model:purchase.product_supplier.day,name:"
 msgid "Product Supplier Day"
-msgstr ""
+msgstr "Terméket szállító nap"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Friday"
-msgstr ""
+msgstr "Péntek"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Monday"
-msgstr ""
+msgstr "Hétfő"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Saturday"
-msgstr ""
+msgstr "Szombat"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Sunday"
-msgstr ""
+msgstr "Vasárnap"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Thursday"
-msgstr ""
+msgstr "Csütörtök"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Tuesday"
-msgstr ""
+msgstr "Kedd"
 
 msgctxt "selection:purchase.product_supplier.day,weekday:"
 msgid "Wednesday"
-msgstr ""
+msgstr "Szerda"
 
 msgctxt "view:purchase.product_supplier.day:"
 msgid "Week Day"
-msgstr ""
+msgstr "Hét napja:"
diff --git a/locale/hu_HU.po b/locale/lo_LA.po
similarity index 100%
copy from locale/hu_HU.po
copy to locale/lo_LA.po
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
index b4c236f..7b7ed79 100644
--- a/locale/ru_RU.po
+++ b/locale/ru_RU.po
@@ -2,9 +2,10 @@
 msgid ""
 msgstr "Content-Type: text/plain; charset=utf-8\n"
 
+#, fuzzy
 msgctxt "field:purchase.product_supplier,weekdays:"
 msgid "Week Days"
-msgstr ""
+msgstr "День недели"
 
 #, fuzzy
 msgctxt "field:purchase.product_supplier.day,create_date:"
diff --git a/locale/hu_HU.po b/locale/zh_CN.po
similarity index 100%
copy from locale/hu_HU.po
copy to locale/zh_CN.po
diff --git a/purchase.py b/purchase.py
index 6b41c97..b6eb031 100644
--- a/purchase.py
+++ b/purchase.py
@@ -5,10 +5,10 @@ from trytond.model import ModelView, ModelSQL, fields
 from trytond.pool import PoolMeta
 
 __all__ = ['ProductSupplier', 'ProductSupplierDay']
-__metaclass__ = PoolMeta
 
 
 class ProductSupplier:
+    __metaclass__ = PoolMeta
     __name__ = 'purchase.product_supplier'
     weekdays = fields.One2Many('purchase.product_supplier.day',
         'product_supplier', 'Week Days')
diff --git a/setup.py b/setup.py
index 07e2e5e..12887eb 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,17 @@
 from setuptools import setup
 import re
 import os
-import ConfigParser
+import io
+try:
+    from configparser import ConfigParser
+except ImportError:
+    from ConfigParser import ConfigParser
 
 
 def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+    return io.open(
+        os.path.join(os.path.dirname(__file__), fname),
+        'r', encoding='utf-8').read()
 
 
 def get_require_version(name):
@@ -21,7 +27,7 @@ def get_require_version(name):
         major_version, minor_version + 1)
     return require
 
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
 config.readfp(open('tryton.cfg'))
 info = dict(config.items('tryton'))
 for key in ('depends', 'extras_depend', 'xml'):
@@ -43,7 +49,7 @@ if minor_version % 2:
 
 requires = []
 for dep in info.get('depends', []):
-    if not re.match(r'(ir|res|webdav)(\W|$)', dep):
+    if not re.match(r'(ir|res)(\W|$)', dep):
         requires.append(get_require_version('trytond_%s' % dep))
 requires.append(get_require_version('trytond'))
 
@@ -74,6 +80,8 @@ setup(name=name,
         'Intended Audience :: Manufacturing',
         'License :: OSI Approved :: GNU General Public License (GPL)',
         'Natural Language :: Bulgarian',
+        'Natural Language :: Catalan',
+        'Natural Language :: Chinese (Simplified)',
         'Natural Language :: Czech',
         'Natural Language :: Dutch',
         'Natural Language :: English',
@@ -87,6 +95,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 :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Office/Business',
@@ -100,4 +111,5 @@ setup(name=name,
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    use_2to3=True,
     )
diff --git a/tests/__init__.py b/tests/__init__.py
index 52a2a88..49e13d5 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,6 +1,9 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
-from .test_stock_supply_day import suite
+try:
+    from trytond.modules.stock_supply_day.tests.test_stock_supply_day import suite
+except ImportError:
+    from .test_stock_supply_day import suite
 
 __all__ = ['suite']
diff --git a/tests/test_stock_supply_day.py b/tests/test_stock_supply_day.py
index a7a1a3f..cf1dd15 100644
--- a/tests/test_stock_supply_day.py
+++ b/tests/test_stock_supply_day.py
@@ -1,46 +1,41 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 import unittest
-import doctest
 import datetime
 from decimal import Decimal
 import trytond.tests.test_tryton
-from trytond.tests.test_tryton import ModuleTestCase
-from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT
-from trytond.transaction import Transaction
+from trytond.tests.test_tryton import ModuleTestCase, with_transaction
+from trytond.pool import Pool
+
+from trytond.modules.company.tests import create_company, set_company
+from trytond.modules.account.tests import create_chart
 
 
 class StockSupplyDayTestCase(ModuleTestCase):
     'Test StockSupplyDay module'
     module = 'stock_supply_day'
 
-    def setUp(self):
-        super(StockSupplyDayTestCase, self).setUp()
-        self.uom = POOL.get('product.uom')
-        self.uom_category = POOL.get('product.uom.category')
-        self.category = POOL.get('product.category')
-        self.template = POOL.get('product.template')
-        self.product = POOL.get('product.product')
-        self.company = POOL.get('company.company')
-        self.party = POOL.get('party.party')
-        self.account = POOL.get('account.account')
-        self.product_supplier = POOL.get('purchase.product_supplier')
-        self.product_supplier_day = POOL.get('purchase.product_supplier.day')
-        self.user = POOL.get('res.user')
-
-    def test0010compute_supply_date(self):
+    def test_compute_supply_date(self):
         'Test compute_supply_date'
         dates = [
-            # purchase date, delivery time, weekday, supply date
-            (datetime.date(2011, 11, 21), 10, 0, datetime.date(2011, 12, 5)),
-            (datetime.date(2011, 11, 21), 9, 1, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 21), 8, 2, datetime.date(2011, 11, 30)),
-            (datetime.date(2011, 11, 21), 7, 3, datetime.date(2011, 12, 1)),
-            (datetime.date(2011, 11, 21), 6, 4, datetime.date(2011, 12, 2)),
-            (datetime.date(2011, 11, 21), 5, 5, datetime.date(2011, 11, 26)),
-            (datetime.date(2011, 11, 21), 4, 6, datetime.date(2011, 11, 27)),
-            (datetime.date(2011, 12, 22), 12, 6, datetime.date(2012, 1, 8)),
-            (datetime.date(2011, 11, 21), 10, None,
+            # purchase date, lead time, weekday, supply date
+            (datetime.date(2011, 11, 21), datetime.timedelta(10), 0,
+                datetime.date(2011, 12, 5)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(9), 1,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(8), 2,
+                datetime.date(2011, 11, 30)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(7), 3,
+                datetime.date(2011, 12, 1)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(6), 4,
+                datetime.date(2011, 12, 2)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(5), 5,
+                datetime.date(2011, 11, 26)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(4), 6,
+                datetime.date(2011, 11, 27)),
+            (datetime.date(2011, 12, 22), datetime.timedelta(12), 6,
+                datetime.date(2012, 1, 8)),
+            (datetime.date(2011, 11, 21), datetime.timedelta(10), None,
                 datetime.date(2011, 12, 1)),
             (datetime.date(2011, 11, 21), None, 0, datetime.date.max),
             ]
@@ -48,108 +43,117 @@ class StockSupplyDayTestCase(ModuleTestCase):
         # 10 days, which would be Wednesday 2011-12-01. But with the supplier
         # weekday 0 (Monday) the forecast supply date is next Monday, the
         # 2011-12-05.
-        for purchase_date, delivery_time, weekday, supply_date in dates:
-            with Transaction().start(DB_NAME, USER, context=CONTEXT):
-                product_supplier = self.create_product_supplier_day(
-                    delivery_time, weekday)
-                date = product_supplier.compute_supply_date(purchase_date)
-                self.assertEqual(date, supply_date)
 
-    def test0020compute_purchase_date(self):
+        @with_transaction()
+        def run(purchase_date, lead_time, weekday, supply_date):
+            product_supplier = self.create_product_supplier_day(
+                lead_time, weekday)
+            date = product_supplier.compute_supply_date(purchase_date)
+            self.assertEqual(date, supply_date)
+        for purchase_date, lead_time, weekday, supply_date in dates:
+            run(purchase_date, lead_time, weekday, supply_date)
+
+    def test_compute_purchase_date(self):
         'Test compute_purchase_date'
         dates = [
-            # purchase date, delivery time, weekday, supply date
-            (datetime.date(2011, 11, 25), 10, 0, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 27), 9, 1, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 22), 8, 2, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 24), 7, 3, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 26), 6, 4, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 28), 5, 5, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 11, 30), 4, 6, datetime.date(2011, 12, 6)),
-            (datetime.date(2011, 12, 27), 6, 0, datetime.date(2012, 1, 3)),
+            # purchase date, lead time, weekday, supply date
+            (datetime.date(2011, 11, 25), datetime.timedelta(10), 0,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 27), datetime.timedelta(9), 1,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 22), datetime.timedelta(8), 2,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 24), datetime.timedelta(7), 3,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 26), datetime.timedelta(6), 4,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 28), datetime.timedelta(5), 5,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 11, 30), datetime.timedelta(4), 6,
+                datetime.date(2011, 12, 6)),
+            (datetime.date(2011, 12, 27), datetime.timedelta(6), 0,
+                datetime.date(2012, 1, 3)),
             ]
         # Supply date max is Tuesday, 2012-01-03, the supplier weekday 0 which
         # would be Monday 2012-01-02. But with the 6 days of delivery the
         # forecast purchase date is the 2011-12-27.
-        for purchase_date, delivery_time, weekday, supply_date in dates:
-            with Transaction().start(DB_NAME, USER, context=CONTEXT):
-                product_supplier = self.create_product_supplier_day(
-                    delivery_time, weekday)
-                date = product_supplier.compute_purchase_date(supply_date)
-                self.assertEqual(date, purchase_date)
 
-    def create_product_supplier_day(self, delivery_time, weekday):
+        @with_transaction()
+        def run(purchase_date, lead_time, weekday, supply_date):
+            product_supplier = self.create_product_supplier_day(
+                lead_time, weekday)
+            date = product_supplier.compute_purchase_date(supply_date)
+            self.assertEqual(date, purchase_date)
+        for purchase_date, lead_time, weekday, supply_date in dates:
+            run(purchase_date, lead_time, weekday, supply_date)
+
+    def create_product_supplier_day(self, lead_time, weekday):
         '''
         Create a Product with a Product Supplier Day
 
-        :param delivery_time: minimal time in days needed to supply
+        :param lead_time: minimal timedelta needed to supply
         :param weekday: supply day of the week (0 - 6)
         :return: the id of the Product Supplier Day
         '''
-        uom_category, = self.uom_category.create([{'name': 'Test'}])
-        uom, = self.uom.create([{
+        pool = Pool()
+        Uom = pool.get('product.uom')
+        UomCategory = pool.get('product.uom.category')
+        Template = pool.get('product.template')
+        Product = pool.get('product.product')
+        Party = pool.get('party.party')
+        Account = pool.get('account.account')
+        ProductSupplier = pool.get('purchase.product_supplier')
+        ProductSupplierDay = pool.get('purchase.product_supplier.day')
+
+        uom_category, = UomCategory.create([{'name': 'Test'}])
+        uom, = Uom.create([{
                     'name': 'Test',
                     'symbol': 'T',
                     'category': uom_category.id,
                     'rate': 1.0,
                     'factor': 1.0,
                     }])
-        category, = self.category.create([{'name': 'ProdCategoryTest'}])
-        template, = self.template.create([{
+        template, = Template.create([{
                     'name': 'ProductTest',
                     'default_uom': uom.id,
-                    'category': category.id,
-                    'account_category': True,
                     'list_price': Decimal(0),
                     'cost_price': Decimal(0),
                     }])
-        product, = self.product.create([{
+        product, = Product.create([{
                     'template': template.id,
                     }])
-        company, = self.company.search([
-                ('rec_name', '=', 'Dunder Mifflin'),
+        company = create_company()
+        with set_company(company):
+            create_chart(company)
+            receivable, = Account.search([
+                ('kind', '=', 'receivable'),
+                ('company', '=', company.id),
                 ])
-        self.user.write([self.user(USER)], {
-            'main_company': company.id,
-            'company': company.id,
-            })
-        receivable, = self.account.search([
-            ('kind', '=', 'receivable'),
-            ('company', '=', company.id),
-            ])
-        payable, = self.account.search([
-            ('kind', '=', 'payable'),
-            ('company', '=', company.id),
-            ])
-        supplier, = self.party.create([{
-                    'name': 'supplier',
-                    'account_receivable': receivable.id,
-                    'account_payable': payable.id,
-                    }])
-        product_supplier, = self.product_supplier.create([{
-                    'product': template.id,
-                    'company': company.id,
-                    'party': supplier.id,
-                    'delivery_time': delivery_time,
-                    }])
-        if weekday is not None:
-            self.product_supplier_day.create([{
-                        'product_supplier': product_supplier.id,
-                        'weekday': str(weekday),
+            payable, = Account.search([
+                ('kind', '=', 'payable'),
+                ('company', '=', company.id),
+                ])
+            supplier, = Party.create([{
+                        'name': 'supplier',
+                        'account_receivable': receivable.id,
+                        'account_payable': payable.id,
+                        }])
+            product_supplier, = ProductSupplier.create([{
+                        'product': template.id,
+                        'company': company.id,
+                        'party': supplier.id,
+                        'lead_time': lead_time,
                         }])
-        return product_supplier
+            if weekday is not None:
+                ProductSupplierDay.create([{
+                            'product_supplier': product_supplier.id,
+                            'weekday': str(weekday),
+                            }])
+            return product_supplier
 
 
 def suite():
     suite = trytond.tests.test_tryton.suite()
-    from trytond.modules.company.tests import test_company
-    for test in test_company.suite():
-        if test not in suite and not isinstance(test, doctest.DocTestCase):
-            suite.addTest(test)
-    from trytond.modules.account.tests import test_account
-    for test in test_account.suite():
-        if test not in suite and not isinstance(test, doctest.DocTestCase):
-            suite.addTest(test)
     suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
         StockSupplyDayTestCase))
     return suite
diff --git a/tryton.cfg b/tryton.cfg
index e6f95e5..d64b416 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.1
+version=4.0.0
 depends:
     ir
     purchase
diff --git a/trytond_stock_supply_day.egg-info/PKG-INFO b/trytond_stock_supply_day.egg-info/PKG-INFO
index 929f7b5..5df81ee 100644
--- a/trytond_stock_supply_day.egg-info/PKG-INFO
+++ b/trytond_stock_supply_day.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-stock-supply-day
-Version: 3.8.1
+Version: 4.0.0
 Summary: Tryton module to add supply weekdays
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_stock_supply_day
         ========================
         
@@ -53,6 +53,8 @@ Classifier: Intended Audience :: Legal Industry
 Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -66,6 +68,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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/trytond_stock_supply_day.egg-info/SOURCES.txt b/trytond_stock_supply_day.egg-info/SOURCES.txt
index 40021f9..fac8e5b 100644
--- a/trytond_stock_supply_day.egg-info/SOURCES.txt
+++ b/trytond_stock_supply_day.egg-info/SOURCES.txt
@@ -49,11 +49,13 @@ locale/fr_FR.po
 locale/hu_HU.po
 locale/it_IT.po
 locale/ja_JP.po
+locale/lo_LA.po
 locale/lt_LT.po
 locale/nl_NL.po
 locale/pt_BR.po
 locale/ru_RU.po
 locale/sl_SI.po
+locale/zh_CN.po
 trytond_stock_supply_day.egg-info/PKG-INFO
 trytond_stock_supply_day.egg-info/SOURCES.txt
 trytond_stock_supply_day.egg-info/dependency_links.txt
diff --git a/trytond_stock_supply_day.egg-info/requires.txt b/trytond_stock_supply_day.egg-info/requires.txt
index 75fac26..c1af70a 100644
--- a/trytond_stock_supply_day.egg-info/requires.txt
+++ b/trytond_stock_supply_day.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_purchase >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond_purchase >= 4.0, < 4.1
+trytond >= 4.0, < 4.1
\ No newline at end of file
diff --git a/view/product_supplier_form.xml b/view/product_supplier_form.xml
index ab40415..7e86360 100644
--- a/view/product_supplier_form.xml
+++ b/view/product_supplier_form.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. -->
 <data>
-    <xpath expr="/form/field[@name='delivery_time']" position="after">
+    <xpath expr="/form/field[@name='lead_time']" position="after">
         <field name="weekdays" colspan="4"
             view_ids="stock_supply_day.product_supplier_weekdayview_tree_editable"/>
     </xpath>
-- 
tryton-modules-stock-supply-day



More information about the tryton-debian-vcs mailing list