Commit b345741c authored by Cédric Bonhomme's avatar Cédric Bonhomme

Renamed eventTime to event_time.

parent 77ef0ded
......@@ -49,7 +49,7 @@ class Product(osv.osv):
_columns = {
'code': fields.char('Code', size=100, required=True, help="EPCIS code of the product."),
'description': fields.char('Description', size=100, required=True, help="Description of the product."),
'eventTime' : fields.date('Event time')
'event_time' : fields.date('Event time', required=True),
#'active': fields.boolean('Active', help="By unchecking the active field, you may hide a product without deleting it.")
}
......
......@@ -6,10 +6,10 @@
<field name="model">ecologistics.product</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Test1 Form">
<form string="Product Form">
<field name="code"/>
<field name="description"/>
<field name="eventTime"/>
<field name="event_time"/>
</form>
</field>
</record>
......@@ -22,7 +22,7 @@
<tree string="Product List">
<field name="code"/>
<field name="description"/>
<field name="eventTime"/>
<field name="event_time"/>
</tree>
</field>
</record>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment