[tryton-debian-vcs] tryton-modules-sale-stock-quantity branch upstream updated. upstream/4.0.1-1-g5c79ef7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Dec 6 16:06:53 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-sale-stock-quantity.git;a=commitdiff;h=upstream/4.0.1-1-g5c79ef7
commit 5c79ef7c1ee7b7dc8e9be91a8b35e3ddd10fe606
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 5 09:34:44 2016 +0100
Adding upstream version 4.2.0.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index fa4231a..c24086c 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 2c7ee2b..5528688 100644
--- a/INSTALL
+++ b/INSTALL
@@ -25,7 +25,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 d6acff0..fd84960 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_sale_stock_quantity
-Version: 4.0.1
+Version: 4.2.0
Summary: Tryton module to add stock warning on sale
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_sale_stock_quantity
===========================
@@ -63,6 +63,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/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_MX.po b/locale/es_419.po
similarity index 89%
copy from locale/es_MX.po
copy to locale/es_419.po
index d78115f..cdff8b1 100644
--- a/locale/es_MX.po
+++ b/locale/es_419.po
@@ -10,4 +10,4 @@ msgstr ""
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr ""
+msgstr "Cantidad de stock de venta"
diff --git a/locale/es_AR.po b/locale/es_AR.po
deleted file mode 100644
index 6fdda0b..0000000
--- a/locale/es_AR.po
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:sale.sale:"
-msgid ""
-"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
-" lower than %(quantity)s%(unit)s."
-msgstr ""
-"La cantidad prevista %(forecast_quantity)s%(default_uom)s de «%(line)s» es "
-"menor que %(quantity)s%(unit)s."
-
-msgctxt "model:res.group,name:group_sale_stock_quantity"
-msgid "Sale Stock Quantity"
-msgstr "Cantidad de existencias de venta"
diff --git a/locale/es_CO.po b/locale/es_CO.po
deleted file mode 100644
index 307a385..0000000
--- a/locale/es_CO.po
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:sale.sale:"
-msgid ""
-"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
-" lower than %(quantity)s%(unit)s."
-msgstr ""
-"La cantidad proyectada %(forecast_quantity)s%(default_uom)s de \"%(line)s\" "
-"es menor que %(quantity)s%(unit)s."
-
-msgctxt "model:res.group,name:group_sale_stock_quantity"
-msgid "Sale Stock Quantity"
-msgstr "Cantidad de Inventario para Venta"
diff --git a/locale/es_EC.po b/locale/es_EC.po
deleted file mode 100644
index 990c70c..0000000
--- a/locale/es_EC.po
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:sale.sale:"
-msgid ""
-"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
-" lower than %(quantity)s%(unit)s."
-msgstr ""
-"La cantidad prevista %(forecast_quantity)s%(default_uom)s de \"%(line)s\" es"
-" menor que %(quantity)s%(unit)s."
-
-msgctxt "model:res.group,name:group_sale_stock_quantity"
-msgid "Sale Stock Quantity"
-msgstr "Cantidad de stock de venta"
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 d78115f..a193ce1 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -7,7 +7,9 @@ msgid ""
"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
" lower than %(quantity)s%(unit)s."
msgstr ""
+"La quantita prevista %(forecast_quantity)s%(default_uom)s di \"%(line)s\" è "
+"minore di %(quantity)s%(unit)s."
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr ""
+msgstr "quantita ordinata a magazzino"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index d78115f..d14f648 100644
--- a/locale/ja_JP.po
+++ b/locale/ja_JP.po
@@ -10,4 +10,4 @@ msgstr ""
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr ""
+msgstr "Sale Stock Quantity"
diff --git a/locale/es_MX.po b/locale/lo.po
similarity index 100%
copy from locale/es_MX.po
copy to locale/lo.po
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/lt_LT.po b/locale/nl.po
similarity index 100%
rename from locale/lt_LT.po
rename to locale/nl.po
diff --git a/locale/es_MX.po b/locale/pl.po
similarity index 91%
rename from locale/es_MX.po
rename to locale/pl.po
index d78115f..d14f648 100644
--- a/locale/es_MX.po
+++ b/locale/pl.po
@@ -10,4 +10,4 @@ msgstr ""
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr ""
+msgstr "Sale Stock Quantity"
diff --git a/locale/nl_NL.po b/locale/ru.po
similarity index 100%
rename from locale/nl_NL.po
rename to locale/ru.po
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
deleted file mode 100644
index d78115f..0000000
--- a/locale/ru_RU.po
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "error:sale.sale:"
-msgid ""
-"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
-" lower than %(quantity)s%(unit)s."
-msgstr ""
-
-msgctxt "model:res.group,name:group_sale_stock_quantity"
-msgid "Sale Stock Quantity"
-msgstr ""
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 ebfe157..a8f9fb4 100644
--- a/setup.py
+++ b/setup.py
@@ -99,6 +99,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_sale_stock_quantity.rst b/tests/scenario_sale_stock_quantity.rst
index 8e68920..5d0940d 100644
--- a/tests/scenario_sale_stock_quantity.rst
+++ b/tests/scenario_sale_stock_quantity.rst
@@ -6,7 +6,8 @@ Imports::
>>> import datetime
>>> from decimal import Decimal
- >>> from proteus import config, Model, Wizard, Report
+ >>> from proteus import Model, Wizard, Report
+ >>> 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, \
@@ -15,30 +16,15 @@ Imports::
... set_fiscalyear_invoice_sequences, create_payment_term
>>> today = datetime.date.today()
-Create database::
-
- >>> config = config.set_trytond()
- >>> config.pool.test = True
-
Install sale_stock_quantity and stock_supply::
- >>> Module = Model.get('ir.module')
- >>> modules = Module.find([('name', 'in',
- ... ['sale_stock_quantity', 'stock_supply'])])
- >>> Module.click(modules, 'install')
- >>> Wizard('ir.module.install_upgrade').execute('upgrade')
+ >>> config = activate_modules(['sale_stock_quantity', 'stock_supply'])
Create company::
>>> _ = create_company()
>>> company = get_company()
-Reload the context::
-
- >>> User = Model.get('res.user')
- >>> Group = Model.get('res.group')
- >>> config._context = User.get_preferences(True, config.context)
-
Create fiscal year::
>>> fiscalyear = set_fiscalyear_invoice_sequences(
diff --git a/tests/test_sale_stock_quantity.py b/tests/test_sale_stock_quantity.py
index 0f5db38..d7dc9a5 100644
--- a/tests/test_sale_stock_quantity.py
+++ b/tests/test_sale_stock_quantity.py
@@ -5,7 +5,7 @@ import doctest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase
-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
@@ -19,7 +19,7 @@ def suite():
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
SaleStockQuantityTestCase))
suite.addTests(doctest.DocFileSuite('scenario_sale_stock_quantity.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 2d2d431..70a0551 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.1
+version=4.2.0
depends:
product
sale
diff --git a/trytond_sale_stock_quantity.egg-info/PKG-INFO b/trytond_sale_stock_quantity.egg-info/PKG-INFO
index a3ac2c7..14db090 100644
--- a/trytond_sale_stock_quantity.egg-info/PKG-INFO
+++ b/trytond_sale_stock_quantity.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-sale-stock-quantity
-Version: 4.0.1
+Version: 4.2.0
Summary: Tryton module to add stock warning on sale
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_sale_stock_quantity
===========================
@@ -63,6 +63,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_sale_stock_quantity.egg-info/SOURCES.txt b/trytond_sale_stock_quantity.egg-info/SOURCES.txt
index 93ff279..d1d0ecd 100644
--- a/trytond_sale_stock_quantity.egg-info/SOURCES.txt
+++ b/trytond_sale_stock_quantity.egg-info/SOURCES.txt
@@ -11,49 +11,45 @@ tryton.cfg
./sale.py
./sale.xml
./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_sale_stock_quantity.rst
./tests/test_sale_stock_quantity.py
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_sale_stock_quantity.rst
trytond_sale_stock_quantity.egg-info/PKG-INFO
diff --git a/trytond_sale_stock_quantity.egg-info/requires.txt b/trytond_sale_stock_quantity.egg-info/requires.txt
index 43cc2fb..d84233e 100644
--- a/trytond_sale_stock_quantity.egg-info/requires.txt
+++ b/trytond_sale_stock_quantity.egg-info/requires.txt
@@ -1,4 +1,4 @@
-trytond_product >= 4.0, < 4.1
-trytond_sale >= 4.0, < 4.1
-trytond_stock >= 4.0, < 4.1
-trytond >= 4.0, < 4.1
+trytond_product >= 4.2, < 4.3
+trytond_sale >= 4.2, < 4.3
+trytond_stock >= 4.2, < 4.3
+trytond >= 4.2, < 4.3
--
tryton-modules-sale-stock-quantity
More information about the tryton-debian-vcs
mailing list