mirror of
https://gitlab.com/datalifeit/trytond-stock_unit_load_cases
synced 2023-12-14 05:12:59 +01:00
Migration to 4.2
This commit is contained in:
parent
32db007147
commit
b37ed144fe
6 changed files with 9 additions and 11 deletions
2
CHANGELOG
Normal file
2
CHANGELOG
Normal file
|
@ -0,0 +1,2 @@
|
|||
Version 4.2.0 - 2017-07-27
|
||||
Version 4.2.0 - 2017-07-27
|
|
@ -5,6 +5,7 @@ Stock Unit Load Cases Scenario
|
|||
Imports::
|
||||
|
||||
>>> import datetime
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
>>> from proteus import config, Model, Wizard
|
||||
>>> from dateutil.relativedelta import relativedelta
|
||||
>>> from decimal import Decimal
|
||||
|
@ -21,12 +22,7 @@ Create a database::
|
|||
|
||||
Install stock_unit_load_cases::
|
||||
|
||||
>>> Module = Model.get('ir.module')
|
||||
>>> module, = Module.find([
|
||||
... ('name', '=', 'stock_unit_load_cases'),
|
||||
... ])
|
||||
>>> module.click('install')
|
||||
>>> Wizard('ir.module.install_upgrade').execute('upgrade')
|
||||
>>> config = activate_modules('stock_unit_load_cases')
|
||||
|
||||
Create company::
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.0.3
|
||||
version=4.2.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<form string="Unit load cases">
|
||||
<form>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="unit_load"/>
|
||||
<field name="unit_load"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<tree string="Unit load cases" editable="bottom">
|
||||
<tree editable="bottom">
|
||||
<field name="date"/>
|
||||
<field name="unit_load"/>
|
||||
<field name="number"/>
|
||||
</tree>
|
||||
</tree>
|
||||
|
|
Loading…
Reference in a new issue