Use date and time widget for datetime fields in tree views

(grafted from 81b3ed984754df341e420ce3f5564bd8c4deff1e)
This commit is contained in:
Sergi Almacellas Abellana 2016-01-12 00:23:52 +01:00
parent aee5c34bc4
commit c3cd5d5aa5
1 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,10 @@
<xpath
expr="/tree/field[@name='probability']"
position="after">
<field name="last_action_date"/>
<field name="next_action_date"/>
<field name="last_action_date" widget="date"/>
<field name="last_action_date" widget="time" string="Last Action Time"/>
<field name="next_action_date" widget="date"/>
<field name="next_action_date" widget="time" string="Next Action Time"/>
<field name="next_action"/>
</xpath>
</data>