5
<!-- adds fields expired to production lot form-->
7
<record model="ir.ui.view" id="view_move_form">
8
<field name="name">stock.production.lot.form.inherit3</field>
9
<field name="model">stock.production.lot</field>
10
<field name="inherit_id" ref="stock.view_production_lot_form" />
11
<field name="type">form</field>
12
<field name="arch" type="xml">
13
<field name="date" position="after">
14
<field name="expired" readonly="1"/>
19
<!-- adds fields expired to prodlots tree view-->
21
<record id="view_production_lot_tree" model="ir.ui.view">
22
<field name="name">stock.production.lot.tree.inherit2</field>
23
<field name="model">stock.production.lot</field>
24
<field name="type">tree</field>
25
<field name="inherit_id" ref="stock.view_production_lot_tree"/>
26
<field name="arch" type="xml">
27
<field name="date" position="after">
28
<field name="expired"/>
33
<record model="ir.ui.view" id="search_product_lot_filter_add_expired">
34
<field name="name">Production Lots Filter add expired</field>
35
<field name="model">stock.production.lot</field>
36
<field name="inherit_id" ref="stock.search_product_lot_filter"/>
37
<field name="type">search</field>
38
<field name="arch" type="xml">
39
<filter name="available" position="after">
40
<filter icon="gtk-dialog-error" name="expired" string="Expired" domain="[('expired', '=', True)]" help="Production lots expired"/>
b'\\ No newline at end of file'