flectra/addons/product_expiry/views/product_template_views.xml
2018-01-16 02:34:37 -08:00

35 lines
1.6 KiB
XML

<?xml version="1.0" encoding='UTF-8'?>
<flectra>
<record id="view_product_form_expiry" model="ir.ui.view">
<field name="name">product.template.inherit.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="stock.view_template_property_form" />
<field name="arch" type="xml">
<group name="traceability" position="after">
<group string="Dates" name="expiry_and_lots" groups="stock.group_production_lot" attrs="{'invisible': [('tracking', '=','none')]}">
<label for="use_time"/>
<div>
<field name="use_time" class="oe_inline"/>
<span>days</span>
</div>
<label for="life_time"/>
<div>
<field name="life_time" class="oe_inline"/>
<span>days</span>
</div>
<label for="removal_time"/>
<div>
<field name="removal_time" class="oe_inline"/>
<span>days</span>
</div>
<label for="alert_time"/>
<div>
<field name="alert_time" class="oe_inline"/>
<span>days</span>
</div>
</group>
</group>
</field>
</record>
</flectra>