Migration to 4.2
This commit is contained in:
parent
f3ec8a265f
commit
255caf588a
|
@ -1,2 +1,3 @@
|
|||
Version 4.2.0 - 2017-07-27
|
||||
Version 4.0.3 - 2016-08-19
|
||||
* Initial release
|
||||
|
|
|
@ -52,6 +52,7 @@ class LocationStateHistoryTestCase(ModuleTestCase):
|
|||
self.assertEqual(production.history_state, 'on')
|
||||
|
||||
at_date, = [h.date for h in production.history if h.state == 'off']
|
||||
# TODO: fails in sqlite
|
||||
at_date += relativedelta(seconds=0.5)
|
||||
|
||||
with Transaction().set_context(state_at_date=at_date):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.0.3
|
||||
version=4.2.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
|
|
|
@ -17,4 +17,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
|
@ -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="Location history">
|
||||
<tree>
|
||||
<field name="date" widget="date"/>
|
||||
<field name="date" widget="time" string="Change Time"/>
|
||||
<field name="user"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</tree>
|
||||
|
|
|
@ -7,4 +7,4 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<button string="Start" name="on"/>
|
||||
<button string="Stop" name="off"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue