Use separate date and time widget in views

This commit is contained in:
resteve 2015-08-12 23:38:09 +02:00
parent 15fe79a61b
commit 58ed92f95e
4 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@ this repository contains the full copyright notices and license terms. -->
<label name="user"/>
<field name="user"/>
<label name="comment_create_date"/>
<field name="comment_create_date"/>
<field name="comment_create_date" widget="date"/>
<label name="active"/>
<field name="active"/>
<label name="tutorial"/>

View file

@ -3,7 +3,8 @@
this repository contains the full copyright notices and license terms. -->
<tree string="Comments">
<field name="user"/>
<field name="comment_create_date"/>
<field name="comment_create_date" widget="date"/>
<field name="comment_create_date" widget="time" string="Time"/>
<field name="tutorial"/>
<field name="active" tree_invisible="1"/>
</tree>

View file

@ -32,9 +32,9 @@ this repository contains the full copyright notices and license terms. -->
<label name="comment"/>
<field name="comment"/>
<label name="tutorial_create_date"/>
<field name="tutorial_create_date"/>
<field name="tutorial_create_date" widget="date"/>
<label name="tutorial_write_date"/>
<field name="tutorial_write_date"/>
<field name="tutorial_write_date" widget="date"/>
</page>
<page string="Websites" id="websites">
<field name="websites" colspan="6"/>

View file

@ -4,7 +4,7 @@ this repository contains the full copyright notices and license terms. -->
<tree string="Tutorials">
<field name="name"/>
<field name="slug"/>
<field name="tutorial_create_date"/>
<field name="tutorial_create_date" widget="date"/>
<field name="user"/>
<field name="visibility"/>
<field name="websites" tree_invisible="1"/>