Commit 77ef0ded authored by Cédric Bonhomme's avatar Cédric Bonhomme

Added eventTime column for product objects

parent 689c62c8
......@@ -49,6 +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')
#'active': fields.boolean('Active', help="By unchecking the active field, you may hide a product without deleting it.")
}
......
......@@ -9,6 +9,7 @@
<form string="Test1 Form">
<field name="code"/>
<field name="description"/>
<field name="eventTime"/>
</form>
</field>
</record>
......@@ -21,6 +22,7 @@
<tree string="Product List">
<field name="code"/>
<field name="description"/>
<field name="eventTime"/>
</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