~pexego/openobject-addons/6.1-pexego-sale_commission

« back to all changes in this revision

Viewing changes to product_expiry_notification/stock_production_lot_view.xml

  • Committer: Omar (pexego)
  • Date: 2012-07-27 08:40:22 UTC
  • Revision ID: omar@pexego.es-20120727084022-qp3ludpr3vsuyuf6
[ADD] Traceability modules ported to 6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
        <!-- adds fields expired to production lot form-->
 
6
 
 
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"/>
 
15
                </field>
 
16
            </field>
 
17
        </record>
 
18
 
 
19
        <!-- adds fields expired to prodlots tree view-->
 
20
 
 
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"/>
 
29
                </field>
 
30
            </field>
 
31
        </record>
 
32
 
 
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"/>
 
41
                </filter>
 
42
            </field>
 
43
        </record>
 
44
 
 
45
    </data>
 
46
</openerp>
 
 
b'\\ No newline at end of file'