diff --git a/CHANGELOG b/CHANGELOG index 7b0f6f4..c26fcdf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,2 +1,3 @@ +Version 4.2.0 - 2017-07-27 Version 4.0.3 - 2016-08-19 * Initial release diff --git a/delivery_note.odt b/delivery_note.odt index 3f6caf4..0191698 100644 Binary files a/delivery_note.odt and b/delivery_note.odt differ 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/tests/scenario_stock_shipment_out.rst b/tests/scenario_stock_shipment_out.rst index e2fe17c..2de50d2 100644 --- a/tests/scenario_stock_shipment_out.rst +++ b/tests/scenario_stock_shipment_out.rst @@ -5,6 +5,7 @@ Product Limit Scenario Imports:: >>> import datetime + >>> from trytond.tests.tools import activate_modules >>> from dateutil.relativedelta import relativedelta >>> from decimal import Decimal >>> from proteus import config, Model, Wizard, Report @@ -20,19 +21,12 @@ Create database:: Install stock_location_product_limit Module:: - >>> Module = Model.get('ir.module') - >>> module, = Module.find([('name', '=', 'stock_location_product_limit')]) - >>> if module.state == 'uninstalled': - ... module.click('install') - ... Wizard('ir.module.install_upgrade').execute('upgrade') + >>> config = activate_modules('stock_location_product_limit') Create company:: - >>> try: - ... company = get_company() - ... except: - ... _ = create_company() - ... company = get_company() + >>> _ = create_company() + >>> company = get_company() Reload the context:: diff --git a/tryton.cfg b/tryton.cfg index 6e3c7b8..fd71131 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=4.0.3 +version=4.2.0 depends: company_logo ir diff --git a/view/location_quantity_tree.xml b/view/location_quantity_tree.xml index faa0155..15555cd 100644 --- a/view/location_quantity_tree.xml +++ b/view/location_quantity_tree.xml @@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. --> - \ No newline at end of file + diff --git a/view/product_limit_form.xml b/view/product_limit_form.xml index d2e3864..07f6425 100644 --- a/view/product_limit_form.xml +++ b/view/product_limit_form.xml @@ -1,7 +1,7 @@ -
+