Migration to 4.2
This commit is contained in:
parent
e3839bf83e
commit
f3cb35c159
|
@ -1,2 +1,3 @@
|
|||
Version 4.2.0 - 2017-07-27
|
||||
Version 4.0.3 - 2016-08-19
|
||||
* Initial release
|
||||
|
|
|
@ -5,6 +5,7 @@ Carrier load UL
|
|||
Imports::
|
||||
|
||||
>>> import datetime
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
>>> from dateutil.relativedelta import relativedelta
|
||||
>>> from decimal import Decimal
|
||||
>>> from trytond.modules.company.tests.tools import create_company, \
|
||||
|
@ -25,10 +26,7 @@ Create database::
|
|||
|
||||
Install agro Module::
|
||||
|
||||
>>> Module = Model.get('ir.module')
|
||||
>>> module, = Module.find([('name', '=', 'carrier_load_done2running')])
|
||||
>>> module.click('install')
|
||||
>>> Wizard('ir.module.install_upgrade').execute('upgrade')
|
||||
>>> config = activate_modules('carrier_load_done2running')
|
||||
|
||||
Create company::
|
||||
|
||||
|
@ -240,18 +238,6 @@ Check UL loading restrictions::
|
|||
UserError: ('UserError', (u'UL "1" must be in Done state.', ''))
|
||||
>>> ul.click('assign')
|
||||
>>> ul.click('do')
|
||||
>>> start_load.execute('load_') # doctest:
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
UserError: ('UserError', (u'UL "1" does not belong to any origin of this load order.', ''))
|
||||
>>> order.ul_origin_restrict = False
|
||||
>>> order.save()
|
||||
>>> start_load.execute('load_') # doctest:
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
UserWarning: ('UserWarning', ('loading_ul_origin_1', u'UL "1" does not belong to any origin of this load order.', ''))
|
||||
>>> Model.get('res.user.warning')(user=config.user,
|
||||
... name='loading_ul_origin_1', always=True).save()
|
||||
>>> start_load.execute('load_')
|
||||
>>> start_load.form.loaded_uls
|
||||
1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.0.3
|
||||
version=4.2.0
|
||||
depends:
|
||||
carrier_load_ul
|
||||
ir
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<button name="run" string="Back to run"
|
||||
confirm="Sale and Shipment out will be deleted."/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue