Migration to 4.2
This commit is contained in:
parent
39b32350c5
commit
d0649cb6b3
|
@ -0,0 +1,2 @@
|
|||
Version 4.2.0 - 2017-07-27
|
||||
Version 4.2.0 - 2017-07-27
|
|
@ -4,6 +4,7 @@ Labor Yield Timesheet Scenario
|
|||
|
||||
Imports::
|
||||
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
>>> from proteus import config, Model, Wizard
|
||||
>>> from trytond.modules.company.tests.tools import create_company, \
|
||||
... get_company
|
||||
|
@ -20,12 +21,7 @@ Create a database::
|
|||
|
||||
Install labor_yield_timesheet::
|
||||
|
||||
>>> Module = Model.get('ir.module')
|
||||
>>> module, = Module.find([
|
||||
... ('name', '=', 'labor_yield_timesheet'),
|
||||
... ])
|
||||
>>> module.click('install')
|
||||
>>> Wizard('ir.module.install_upgrade').execute('upgrade')
|
||||
>>> config = activate_modules('labor_yield_timesheet')
|
||||
|
||||
Create company::
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.0.0
|
||||
version=4.2.0
|
||||
depends:
|
||||
ir
|
||||
labor_yield
|
||||
|
|
|
@ -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="Create timesheet lines">
|
||||
<form>
|
||||
<label name="work"/>
|
||||
<field name="work"/>
|
||||
<newline/>
|
||||
|
@ -9,4 +9,4 @@
|
|||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -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="Delete timesheet lines">
|
||||
<form>
|
||||
<label name="work"/>
|
||||
<field name="work"/>
|
||||
<newline/>
|
||||
|
@ -9,4 +9,4 @@
|
|||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -6,4 +6,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
position="inside">
|
||||
<field name="unit_prices" colspan="4"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -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="Work unit prices">
|
||||
<form>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="work"/>
|
||||
|
@ -10,4 +10,4 @@
|
|||
<field name="unit_price"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
</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="Work unit prices" editable="bottom">
|
||||
<tree editable="bottom">
|
||||
<field name="work"/>
|
||||
<field name="date"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="unit"/>
|
||||
</tree>
|
||||
</tree>
|
||||
|
|
Loading…
Reference in New Issue