~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to stock_batch_recall/stock_view.xml

  • Committer: jf
  • Date: 2012-06-13 12:43:21 UTC
  • mfrom: (827.5.11 uf-635)
  • Revision ID: jf@tempo4-20120613124321-2b8cwgl86gyy2tb7
UF-635 [DEV] Documents workflow: Graphic representation
lp:~unifield-team/unifield-wm/uf-635 revno 838

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
                        <group expand="0" string="Filters...">
12
12
                            <filter icon="terp-go-home" name="location_type_internal" string="Internal" domain="[('location_type','=','internal')]"/>
13
13
                            <separator orientation="vertical"/>
14
 
                            <field name="product_id" default_focus="1" eval="context.get('product_id', False)"/>
15
 
                            <field name="prodlot_id" eval="context.get('prodlot_id', False)"/>
 
14
                            <filter icon="terp-partner" name="location_type_supplier" string="Supplier" domain="[('location_type','=','supplier')]"/>
 
15
                            <filter icon="terp-partner" name="location_type_customer" string="Customer" domain="[('location_type','=','customer')]"/>
 
16
                            <separator orientation="vertical" />
 
17
                            <field name="location_id" />
 
18
                            <field name="product_id" />
 
19
                            <field name="prodlot_id" />
16
20
                            <field name="expired_date" />
17
 
                            <separator orientation="vertical" />
18
 
                            <field name="location_id" filter_domain="[('location_id', 'child_of', self)]" invisible="1" />
19
 
                        </group>
20
 
                        <newline/>
21
 
                        <group expand="0" string="Group By...">
22
 
                            <filter string="Partner" name="group_partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
23
 
                            <separator orientation="vertical"/>
24
 
                            <filter name="group_company" string="Company" groups="base.group_multi_company" icon="terp-go-home" context="{'group_by':'company_id'}"/>
25
 
                        <filter name="group_location" string="Location" icon="terp-go-home" context="{'group_by':'location_id'}"/>
26
 
                        <separator orientation="vertical"/>
27
 
                        <filter name="group_lot" string="Lot" icon="terp-accessories-archiver" context="{'group_by':'prodlot_id'}"/>
28
 
                         <filter name="group_expired" string="Expired Date" icon="terp-accessories-archiver" context="{'group_by': 'expired_date'}" />
29
 
                            <filter name="group_product_categ_id" string="Product Category" icon="terp-stock_symbol-selection" context="{'group_by':'product_categ_id'}"/>
30
 
                            <filter name="group_product" string="Product" icon="terp-accessories-archiver" context="{'group_by':'product_id'}"/>
31
 
                            <separator orientation="vertical"/>
32
 
                            <filter string="Date" icon="terp-go-month" context="{'group_by':'date'}"/>
33
 
                            <filter string="State" icon="terp-stock_effects-object-colorize" context="{'group_by':'state'}"/>
34
21
                        </group>
35
22
                    </search>
36
23
                </field>
42
29
                <field name="type">tree</field>
43
30
                <field name="arch" type="xml">
44
31
                    <tree string="Batch Recall">
45
 
                        <field name="date" invisible="1"/>
46
 
                        <field name="company_id" invisible="1"/>
47
32
                        <field name="location_type" invisible="1"/>
48
 
                        <field name="location_id"/>
 
33
                        <field name="product_id"/>
49
34
                    <field name="prodlot_id"/>
50
35
                        <field name="expired_date"/>
 
36
                        <field name="location_id"/>
51
37
                    <field name="partner_id" context="{'contact_display':'partner'}"/>
52
 
                    <field name="product_id"/>
53
 
                        <field name="state" invisible="1"/>
54
 
                        <field name="product_qty" sum="Total quantity"/>
55
 
                        <field name="value" sum="Total value"/>
 
38
                        <field name="product_qty" />
56
39
                   </tree>
57
40
                </field>
58
41
            </record>
83
66
        
84
67
        <menuitem action="action_batch_recall"
85
68
                  id="menu_batch_recall"
 
69
                  sequence="-5"
86
70
                  parent="stock.menu_traceability" />
87
71
                  
88
72
        <record id="action_report_batch_recall" model="ir.actions.act_window">
94
78
            
95
79
            
96
80
    </data>
97
 
</openerp>
 
 
b'\\ No newline at end of file'
 
81
</openerp>