[tryton-debian-vcs] tryton-modules-account-stock-anglo-saxon branch upstream updated. upstream/4.0.1-1-ge042226

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Dec 6 15:41:30 UTC 2016


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-stock-anglo-saxon.git;a=commitdiff;h=upstream/4.0.1-1-ge042226

commit e0422268dd7474c531c3d73a87c922ccecb7071c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 5 09:34:15 2016 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index d3716b7..3384445 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-Version 4.0.1 - 2016-05-11
+Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
 Version 4.0.0 - 2016-05-02
diff --git a/INSTALL b/INSTALL
index 22ba814..1198521 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,7 +26,7 @@ site-packages directory on your system.
 For advanced options, please refer to the easy_install and/or the distutils
 documentation:
 
-  http://peak.telecommunity.com/DevCenter/EasyInstall
+  http://setuptools.readthedocs.io/en/latest/easy_install.html
   http://docs.python.org/inst/inst.html
 
 To use without installation, extract the archive into ``trytond/modules`` with
diff --git a/PKG-INFO b/PKG-INFO
index 4bc9357..71e6ad3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_account_stock_anglo_saxon
-Version: 4.0.1
+Version: 4.2.0
 Summary: Tryton module for anglo-saxon real-time stock valuation
 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.0/
+Download-URL: http://downloads.tryton.org/4.2/
 Description: trytond_account_stock_anglo_saxon
         =================================
         
@@ -62,6 +62,7 @@ Classifier: Natural Language :: French
 Classifier: Natural Language :: German
 Classifier: Natural Language :: Hungarian
 Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Polish
 Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
diff --git a/invoice.py b/invoice.py
index 7a5855a..270e494 100644
--- a/invoice.py
+++ b/invoice.py
@@ -15,34 +15,39 @@ class InvoiceLine:
         '''
         Return account move for anglo-saxon stock accounting
         '''
+        pool = Pool()
+        MoveLine = pool.get('account.move.line')
+
         assert type_.startswith('in_') or type_.startswith('out_'), \
             'wrong type'
 
         result = []
-        move_line = {}
-        move_line['description'] = self.description
-        move_line['amount_second_currency'] = None
-        move_line['second_currency'] = None
+        move_line = MoveLine()
+        move_line.description = self.description
+        move_line.amount_second_currency = None
+        move_line.second_currency = None
 
         if type_.startswith('in_'):
-            move_line['debit'] = amount
-            move_line['credit'] = Decimal('0.0')
+            move_line.debit = amount
+            move_line.credit = Decimal('0.0')
             account_type = type_[3:]
         else:
-            move_line['debit'] = Decimal('0.0')
-            move_line['credit'] = amount
+            move_line.debit = Decimal('0.0')
+            move_line.credit = amount
             account_type = type_[4:]
-        move_line['account'] = getattr(self.product,
-                'account_stock_%s_used' % account_type).id
+        move_line.account = getattr(self.product,
+                'account_stock_%s_used' % account_type)
 
         result.append(move_line)
-        move_line = move_line.copy()
-        move_line['debit'], move_line['credit'] = \
-            move_line['credit'], move_line['debit']
+        debit, credit = move_line.debit, move_line.credit
+        move_line = MoveLine()
+        move_line.description = self.description
+        move_line.amount_second_currency = move_line.second_currency = None
+        move_line.debit, move_line.credit = credit, debit
         if type_.endswith('supplier'):
-            move_line['account'] = self.account.id
+            move_line.account = self.account
         else:
-            move_line['account'] = self.product.account_cogs_used.id
+            move_line.account = self.product.account_cogs_used
         result.append(move_line)
         return result
 
@@ -55,12 +60,12 @@ class InvoiceLine:
             return list(self.origin.moves)
         return []
 
-    def get_move_line(self):
+    def get_move_lines(self):
         pool = Pool()
         Move = pool.get('stock.move')
         Period = pool.get('account.period')
 
-        result = super(InvoiceLine, self).get_move_line()
+        result = super(InvoiceLine, self).get_move_lines()
 
         if self.type != 'line':
             return result
diff --git a/locale/bg_BG.po b/locale/bg.po
similarity index 100%
rename from locale/bg_BG.po
rename to locale/bg.po
diff --git a/locale/ca_ES.po b/locale/ca.po
similarity index 100%
rename from locale/ca_ES.po
rename to locale/ca.po
diff --git a/locale/cs_CZ.po b/locale/cs.po
similarity index 100%
rename from locale/cs_CZ.po
rename to locale/cs.po
diff --git a/locale/de_DE.po b/locale/de.po
similarity index 100%
rename from locale/de_DE.po
rename to locale/de.po
diff --git a/locale/es_ES.po b/locale/es.po
similarity index 100%
rename from locale/es_ES.po
rename to locale/es.po
diff --git a/locale/es_EC.po b/locale/es_419.po
similarity index 82%
rename from locale/es_EC.po
rename to locale/es_419.po
index cc5cbb7..dbdf3e1 100644
--- a/locale/es_EC.po
+++ b/locale/es_419.po
@@ -4,7 +4,7 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "error:stock.move:"
 msgid "Anglo-Saxon quantity can not be greater than quantity."
-msgstr "La cantidad anglosajona no puede ser mayor que la cantidad."
+msgstr ""
 
 msgctxt "field:product.category,account_cogs:"
 msgid "Account Cost of Goods Sold"
@@ -32,20 +32,20 @@ msgstr "Cuenta de costo de mercaderías vendidas utilizada"
 
 msgctxt "field:stock.move,in_anglo_saxon_quantity:"
 msgid "Input Anglo-Saxon Quantity"
-msgstr "Cantidad anglosajona de ingreso"
+msgstr ""
 
 msgctxt "field:stock.move,out_anglo_saxon_quantity:"
 msgid "Output Anglo-Saxon Quantity"
-msgstr "Cantidad anglosajona de salida"
+msgstr ""
 
 msgctxt "help:product.product,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
-msgstr "Se utilizará esta cuenta en lugar de la definida en la categoría."
+msgstr ""
 
 msgctxt "help:product.template,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
-msgstr "Se utilizará esta cuenta en lugar de la definida en la categoría."
+msgstr ""
 
 msgctxt "selection:account.fiscalyear,account_stock_method:"
 msgid "Anglo-Saxon"
-msgstr "Anglosajón"
+msgstr ""
diff --git a/locale/es_AR.po b/locale/es_AR.po
deleted file mode 100644
index 0f8d2ef..0000000
--- a/locale/es_AR.po
+++ /dev/null
@@ -1,51 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:stock.move:"
-msgid "Anglo-Saxon quantity can not be greater than quantity."
-msgstr "La cantidad anglo-sajona no puede ser mayor que la cantidad."
-
-msgctxt "field:product.category,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costo de Mercaderías Vendidas"
-
-msgctxt "field:product.category,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costo de Mercaderías Vendidas utilizada"
-
-msgctxt "field:product.product,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costo de Mercaderías Vendidas"
-
-msgctxt "field:product.product,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costo de Mercaderías Vendidas utilizada"
-
-msgctxt "field:product.template,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costo de Mercaderías Vendidas"
-
-msgctxt "field:product.template,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costo de Mercaderías Vendidas utilizada"
-
-msgctxt "field:stock.move,in_anglo_saxon_quantity:"
-msgid "Input Anglo-Saxon Quantity"
-msgstr "Salida de cantidad anglo-sajona"
-
-msgctxt "field:stock.move,out_anglo_saxon_quantity:"
-msgid "Output Anglo-Saxon Quantity"
-msgstr "Entrada de cantidad anglo-sajona"
-
-msgctxt "help:product.product,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Se usará esta cuenta en lugar de la definida en la categoría."
-
-msgctxt "help:product.template,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Se usará esta cuenta en lugar de la definida en la categoría."
-
-msgctxt "selection:account.fiscalyear,account_stock_method:"
-msgid "Anglo-Saxon"
-msgstr "Anglo-sajón"
diff --git a/locale/es_CO.po b/locale/es_CO.po
deleted file mode 100644
index 0fc0c73..0000000
--- a/locale/es_CO.po
+++ /dev/null
@@ -1,52 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:stock.move:"
-msgid "Anglo-Saxon quantity can not be greater than quantity."
-msgstr ""
-"La cantidad del sistema Anglosajon no puede ser mayor que la cantidad."
-
-msgctxt "field:product.category,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costos de Ventas"
-
-msgctxt "field:product.category,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costos de Ventas Usada"
-
-msgctxt "field:product.product,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costos de Ventas"
-
-msgctxt "field:product.product,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costos de Ventas Usada"
-
-msgctxt "field:product.template,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de Costos de Ventas"
-
-msgctxt "field:product.template,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de Costos de Ventas Usada"
-
-msgctxt "field:stock.move,in_anglo_saxon_quantity:"
-msgid "Input Anglo-Saxon Quantity"
-msgstr "Cantidad Anglosajona a Ingresar "
-
-msgctxt "field:stock.move,out_anglo_saxon_quantity:"
-msgid "Output Anglo-Saxon Quantity"
-msgstr "Cantidad Anglosajona de Salida"
-
-msgctxt "help:product.product,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Esta cuenta se usará en lugar de la definida en la categoría."
-
-msgctxt "help:product.template,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Esta cuenta se usará en lugar de la definida en la categoría."
-
-msgctxt "selection:account.fiscalyear,account_stock_method:"
-msgid "Anglo-Saxon"
-msgstr "Anglosajon"
diff --git a/locale/es_MX.po b/locale/es_MX.po
deleted file mode 100644
index 6845362..0000000
--- a/locale/es_MX.po
+++ /dev/null
@@ -1,54 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:stock.move:"
-msgid "Anglo-Saxon quantity can not be greater than quantity."
-msgstr "La cantidad anglosajona no puede ser mayor que la cantidad."
-
-msgctxt "field:product.category,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de costos de mercancías vendidas (CMV)"
-
-msgctxt "field:product.category,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de costos de mercancías vendidas (CMV) usada"
-
-#, fuzzy
-msgctxt "field:product.product,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de costos de mercancías vendidas (CMV)"
-
-#, fuzzy
-msgctxt "field:product.product,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de costos de mercancías vendidas (CMV) usada"
-
-msgctxt "field:product.template,account_cogs:"
-msgid "Account Cost of Goods Sold"
-msgstr "Cuenta de costos de mercancías vendidas (CMV)"
-
-msgctxt "field:product.template,account_cogs_used:"
-msgid "Account Cost of Goods Sold Used"
-msgstr "Cuenta de costos de mercancías vendidas (CMV) usada"
-
-msgctxt "field:stock.move,in_anglo_saxon_quantity:"
-msgid "Input Anglo-Saxon Quantity"
-msgstr "Cantidad anglosajona de entrada"
-
-msgctxt "field:stock.move,out_anglo_saxon_quantity:"
-msgid "Output Anglo-Saxon Quantity"
-msgstr "Cantidad anglosajona de salida"
-
-#, fuzzy
-msgctxt "help:product.product,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Se usará esta cuenta en lugar de la definida en la categoría."
-
-msgctxt "help:product.template,account_cogs:"
-msgid "This account will be used instead of the one defined on the category."
-msgstr "Se usará esta cuenta en lugar de la definida en la categoría."
-
-msgctxt "selection:account.fiscalyear,account_stock_method:"
-msgid "Anglo-Saxon"
-msgstr "Anglosajón"
diff --git a/locale/fr_FR.po b/locale/fr.po
similarity index 100%
rename from locale/fr_FR.po
rename to locale/fr.po
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 92f0e1a..694bf2d 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -4,48 +4,50 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "error:stock.move:"
 msgid "Anglo-Saxon quantity can not be greater than quantity."
-msgstr ""
+msgstr "La quantità anglo-sassone non può essere maggiore della quantità."
 
 msgctxt "field:product.category,account_cogs:"
 msgid "Account Cost of Goods Sold"
-msgstr ""
+msgstr "Conto costo del venduto"
 
 msgctxt "field:product.category,account_cogs_used:"
 msgid "Account Cost of Goods Sold Used"
-msgstr ""
+msgstr "Conto costo del venduto usato"
 
 msgctxt "field:product.product,account_cogs:"
 msgid "Account Cost of Goods Sold"
-msgstr ""
+msgstr "Conto costo del venduto"
 
 msgctxt "field:product.product,account_cogs_used:"
 msgid "Account Cost of Goods Sold Used"
-msgstr ""
+msgstr "Conto costo del venduto usato"
 
 msgctxt "field:product.template,account_cogs:"
 msgid "Account Cost of Goods Sold"
-msgstr ""
+msgstr "Conto costo del venduto"
 
 msgctxt "field:product.template,account_cogs_used:"
 msgid "Account Cost of Goods Sold Used"
-msgstr ""
+msgstr "Conto costo del venduto Usato"
 
 msgctxt "field:stock.move,in_anglo_saxon_quantity:"
 msgid "Input Anglo-Saxon Quantity"
-msgstr ""
+msgstr "Input quantità - angolsassone"
 
 msgctxt "field:stock.move,out_anglo_saxon_quantity:"
 msgid "Output Anglo-Saxon Quantity"
-msgstr ""
+msgstr "output quantità - angolsassone"
 
 msgctxt "help:product.product,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
 msgstr ""
+"Questo conto verrà utilizzato al posto di quello definito per la categoria"
 
 msgctxt "help:product.template,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
 msgstr ""
+"Questo conto verrà utilizzato al posto di quello definito per la categoria"
 
 msgctxt "selection:account.fiscalyear,account_stock_method:"
 msgid "Anglo-Saxon"
-msgstr ""
+msgstr "angolsassone"
diff --git a/locale/nl_NL.po b/locale/lo.po
similarity index 83%
copy from locale/nl_NL.po
copy to locale/lo.po
index 194174f..023f12d 100644
--- a/locale/nl_NL.po
+++ b/locale/lo.po
@@ -41,14 +41,12 @@ msgstr ""
 #, fuzzy
 msgctxt "help:product.product,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
-msgstr ""
-"Deze rekening zal gebruikt worden in de plaats van die van de categorie."
+msgstr "ບັນຊີນີ້ຈະໃຊ້ແທນໃຫ້ບັນຊີໂຕທີ່ມີໃນໝວດນັ້ນ."
 
 #, fuzzy
 msgctxt "help:product.template,account_cogs:"
 msgid "This account will be used instead of the one defined on the category."
-msgstr ""
-"Deze rekening zal gebruikt worden in de plaats van die van de categorie."
+msgstr "ບັນຊີນີ້ຈະໃຊ້ແທນໃຫ້ບັນຊີໂຕທີ່ມີໃນໝວດນັ້ນ."
 
 msgctxt "selection:account.fiscalyear,account_stock_method:"
 msgid "Anglo-Saxon"
diff --git a/locale/lo_LA.po b/locale/lt.po
similarity index 100%
rename from locale/lo_LA.po
rename to locale/lt.po
diff --git a/locale/nl_NL.po b/locale/nl.po
similarity index 100%
rename from locale/nl_NL.po
rename to locale/nl.po
diff --git a/locale/lt_LT.po b/locale/pl.po
similarity index 100%
rename from locale/lt_LT.po
rename to locale/pl.po
diff --git a/locale/ru_RU.po b/locale/ru.po
similarity index 100%
rename from locale/ru_RU.po
rename to locale/ru.po
diff --git a/locale/sl_SI.po b/locale/sl.po
similarity index 100%
rename from locale/sl_SI.po
rename to locale/sl.po
diff --git a/setup.py b/setup.py
index 5fa3835..f865878 100644
--- a/setup.py
+++ b/setup.py
@@ -98,6 +98,7 @@ setup(name=name,
         'Natural Language :: German',
         'Natural Language :: Hungarian',
         'Natural Language :: Italian',
+        'Natural Language :: Polish',
         'Natural Language :: Portuguese (Brazilian)',
         'Natural Language :: Russian',
         'Natural Language :: Slovenian',
diff --git a/tests/scenario_account_stock_anglo_saxon.rst b/tests/scenario_account_stock_anglo_saxon.rst
index 7834c99..60d6682 100644
--- a/tests/scenario_account_stock_anglo_saxon.rst
+++ b/tests/scenario_account_stock_anglo_saxon.rst
@@ -7,7 +7,8 @@ Imports::
     >>> import datetime
     >>> from dateutil.relativedelta import relativedelta
     >>> from decimal import Decimal
-    >>> from proteus import config, Model, Wizard
+    >>> from proteus import Model, Wizard
+    >>> from trytond.tests.tools import activate_modules
     >>> from trytond.modules.company.tests.tools import create_company, \
     ...     get_company
     >>> from trytond.modules.account.tests.tools import create_fiscalyear, \
@@ -20,34 +21,22 @@ Imports::
     ...     add_cogs_accounts
     >>> today = datetime.date.today()
 
-Create database::
-
-    >>> config = config.set_trytond()
-    >>> config.pool.test = True
-
 Install account_stock_continental, sale and purchase::
 
-    >>> Module = Model.get('ir.module')
-    >>> modules = Module.find([
-    ...         ('name', 'in', ('account_stock_anglo_saxon',
-    ...             'sale', 'purchase')),
-    ...     ])
-    >>> for module in modules:
-    ...     module.click('install')
-    >>> Wizard('ir.module.install_upgrade').execute('upgrade')
+    >>> config = activate_modules([
+    ...         'account_stock_anglo_saxon',
+    ...         'sale',
+    ...         'purchase',
+    ...         ])
 
 Create company::
 
     >>> _ = create_company()
     >>> company = get_company()
 
-Reload the context::
-
-    >>> User = Model.get('res.user')
-    >>> config._context = User.get_preferences(True, config.context)
-
 Create the required users::
 
+    >>> User = Model.get('res.user')
     >>> Group = Model.get('res.group')
     >>> accountant = User()
     >>> accountant.name = 'Accountant'
diff --git a/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst b/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
index bbb87aa..4c3149b 100644
--- a/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
+++ b/tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
@@ -7,7 +7,8 @@ Imports::
     >>> import datetime
     >>> from dateutil.relativedelta import relativedelta
     >>> from decimal import Decimal
-    >>> from proteus import config, Model, Wizard
+    >>> from proteus import Model, Wizard
+    >>> from trytond.tests.tools import activate_modules
     >>> from trytond.modules.company.tests.tools import create_company, \
     ...     get_company
     >>> from trytond.modules.account.tests.tools import create_fiscalyear, \
@@ -20,35 +21,24 @@ Imports::
     ...     add_cogs_accounts
     >>> today = datetime.date.today()
 
-Create database::
+Install account_stock_anglo_saxon, sale_supply, sale, purchase::
 
-    >>> config = config.set_trytond()
-    >>> config.pool.test = True
-
-Install sale_supply, sale, purchase::
-
-    >>> Module = Model.get('ir.module')
-    >>> modules = Module.find([
-    ...         ('name', 'in', ('account_stock_anglo_saxon',
-    ...             'sale_supply_drop_shipment', 'sale', 'purchase')),
+    >>> config = activate_modules([
+    ...         'account_stock_anglo_saxon',
+    ...         'sale_supply_drop_shipment',
+    ...         'sale',
+    ...         'purchase',
     ...         ])
-    >>> for module in modules:
-    ...     module.click('install')
-    >>> Wizard('ir.module.install_upgrade').execute('upgrade')
 
 Create company::
 
     >>> _ = create_company()
     >>> company = get_company()
 
-Reload the context::
+Create sale user::
 
     >>> User = Model.get('res.user')
     >>> Group = Model.get('res.group')
-    >>> config._context = User.get_preferences(True, config.context)
-
-Create sale user::
-
     >>> sale_user = User()
     >>> sale_user.name = 'Sale'
     >>> sale_user.login = 'sale'
diff --git a/tests/test_account_stock_anglo_saxon.py b/tests/test_account_stock_anglo_saxon.py
index b807afc..68fe318 100644
--- a/tests/test_account_stock_anglo_saxon.py
+++ b/tests/test_account_stock_anglo_saxon.py
@@ -7,7 +7,7 @@ from mock import Mock, patch
 
 import trytond.tests.test_tryton
 from trytond.tests.test_tryton import ModuleTestCase, with_transaction
-from trytond.tests.test_tryton import doctest_setup, doctest_teardown
+from trytond.tests.test_tryton import doctest_teardown
 from trytond.tests.test_tryton import doctest_checker
 from trytond.pool import Pool
 
@@ -58,12 +58,12 @@ def suite():
         AccountStockAngloSaxonTestCase))
     suite.addTests(doctest.DocFileSuite(
             'scenario_account_stock_anglo_saxon.rst',
-            setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
+            tearDown=doctest_teardown, encoding='utf-8',
             checker=doctest_checker,
             optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
     suite.addTests(doctest.DocFileSuite(
             'scenario_account_stock_anglo_saxon_with_drop_shipment.rst',
-            setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
+            tearDown=doctest_teardown, encoding='utf-8',
             checker=doctest_checker,
             optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
     return suite
diff --git a/tryton.cfg b/tryton.cfg
index b772cb1..5d08afd 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.2.0
 depends:
     account
     account_invoice
diff --git a/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO b/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
index 23dd033..afa727b 100644
--- a/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
+++ b/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-account-stock-anglo-saxon
-Version: 4.0.1
+Version: 4.2.0
 Summary: Tryton module for anglo-saxon real-time stock valuation
 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.0/
+Download-URL: http://downloads.tryton.org/4.2/
 Description: trytond_account_stock_anglo_saxon
         =================================
         
@@ -62,6 +62,7 @@ Classifier: Natural Language :: French
 Classifier: Natural Language :: German
 Classifier: Natural Language :: Hungarian
 Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Polish
 Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
diff --git a/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt b/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt
index 3762fce..2b3562c 100644
--- a/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt
+++ b/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt
@@ -37,25 +37,23 @@ tryton.cfg
 ./product.xml
 ./stock.py
 ./tryton.cfg
-./locale/bg_BG.po
-./locale/ca_ES.po
-./locale/cs_CZ.po
-./locale/de_DE.po
-./locale/es_AR.po
-./locale/es_CO.po
-./locale/es_EC.po
-./locale/es_ES.po
-./locale/es_MX.po
-./locale/fr_FR.po
+./locale/bg.po
+./locale/ca.po
+./locale/cs.po
+./locale/de.po
+./locale/es.po
+./locale/es_419.po
+./locale/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/lo.po
+./locale/lt.po
+./locale/nl.po
+./locale/pl.po
 ./locale/pt_BR.po
-./locale/ru_RU.po
-./locale/sl_SI.po
+./locale/ru.po
+./locale/sl.po
 ./locale/zh_CN.po
 ./tests/__init__.py
 ./tests/scenario_account_stock_anglo_saxon.rst
@@ -65,25 +63,23 @@ tryton.cfg
 ./view/category_form.xml
 ./view/template_form.xml
 doc/index.rst
-locale/bg_BG.po
-locale/ca_ES.po
-locale/cs_CZ.po
-locale/de_DE.po
-locale/es_AR.po
-locale/es_CO.po
-locale/es_EC.po
-locale/es_ES.po
-locale/es_MX.po
-locale/fr_FR.po
+locale/bg.po
+locale/ca.po
+locale/cs.po
+locale/de.po
+locale/es.po
+locale/es_419.po
+locale/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/lo.po
+locale/lt.po
+locale/nl.po
+locale/pl.po
 locale/pt_BR.po
-locale/ru_RU.po
-locale/sl_SI.po
+locale/ru.po
+locale/sl.po
 locale/zh_CN.po
 tests/scenario_account_stock_anglo_saxon.rst
 tests/scenario_account_stock_anglo_saxon_with_drop_shipment.rst
diff --git a/trytond_account_stock_anglo_saxon.egg-info/requires.txt b/trytond_account_stock_anglo_saxon.egg-info/requires.txt
index 0e3ea9e..5eccb10 100644
--- a/trytond_account_stock_anglo_saxon.egg-info/requires.txt
+++ b/trytond_account_stock_anglo_saxon.egg-info/requires.txt
@@ -1,7 +1,7 @@
-trytond_account >= 4.0, < 4.1
-trytond_account_invoice >= 4.0, < 4.1
-trytond_account_product >= 4.0, < 4.1
-trytond_account_stock_continental >= 4.0, < 4.1
-trytond_purchase >= 4.0, < 4.1
-trytond_sale >= 4.0, < 4.1
-trytond >= 4.0, < 4.1
+trytond_account >= 4.2, < 4.3
+trytond_account_invoice >= 4.2, < 4.3
+trytond_account_product >= 4.2, < 4.3
+trytond_account_stock_continental >= 4.2, < 4.3
+trytond_purchase >= 4.2, < 4.3
+trytond_sale >= 4.2, < 4.3
+trytond >= 4.2, < 4.3
-- 
tryton-modules-account-stock-anglo-saxon



More information about the tryton-debian-vcs mailing list