mirror of
https://gitlab.com/datalifeit/trytond-stock_location_dock
synced 2023-12-14 04:23:04 +01:00
Migration to 4.2
This commit is contained in:
parent
795e63a7f6
commit
915d80ea23
|
@ -1,2 +1,3 @@
|
|||
Version 4.2.0 - 2017-07-27
|
||||
Version 4.0.3 - 2016-08-19
|
||||
* Initial release
|
||||
|
|
|
@ -5,6 +5,7 @@ Stock Shipment Out 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
|
||||
|
@ -20,10 +21,7 @@ Create database::
|
|||
|
||||
Install stock Module::
|
||||
|
||||
>>> Module = Model.get('ir.module')
|
||||
>>> module, = Module.find([('name', '=', 'stock_location_dock')])
|
||||
>>> module.click('install')
|
||||
>>> Wizard('ir.module.install_upgrade').execute('upgrade')
|
||||
>>> config = activate_modules('stock_location_dock')
|
||||
|
||||
Create company::
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.0.3
|
||||
version=4.2.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<form string="Docks">
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
|
@ -10,4 +10,4 @@
|
|||
<field name="code"/>
|
||||
<label name="location"/>
|
||||
<field name="location"/>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<tree string="Docks">
|
||||
<tree>
|
||||
<field name="location"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="active" tree_invisible="1"/>
|
||||
</tree>
|
||||
</tree>
|
||||
|
|
|
@ -7,4 +7,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<field name="docks" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="dock"/>
|
||||
<field name="dock"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="dock"/>
|
||||
<field name="dock"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="dock"/>
|
||||
<field name="dock"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="dock"/>
|
||||
<field name="dock"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
Loading…
Reference in a new issue