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

« back to all changes in this revision

Viewing changes to stock_batch_recall/stock_view.xml

  • Committer: chloups208
  • Date: 2011-09-07 12:58:12 UTC
  • mto: (307.2.1 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 311.
  • Revision ID: chloups208@chloups208-laptop-20110907125812-dsb1jt93ae6bgfe2
[UF-390]pro forma invoice + shipment object refactoring + pack family object refactoring

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
 
                            <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')]"/>
 
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)"/>
 
16
                            <field name="expired_date" />
16
17
                            <separator orientation="vertical" />
17
 
                            <field name="location_id" />
18
 
                            <field name="product_id" />
19
 
                            <field name="prodlot_id" />
20
 
                            <field name="expired_date" />
 
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'}"/>
21
34
                        </group>
22
35
                    </search>
23
36
                </field>
29
42
                <field name="type">tree</field>
30
43
                <field name="arch" type="xml">
31
44
                    <tree string="Batch Recall">
 
45
                        <field name="date" invisible="1"/>
 
46
                        <field name="company_id" invisible="1"/>
32
47
                        <field name="location_type" invisible="1"/>
33
 
                        <field name="product_id"/>
 
48
                        <field name="location_id"/>
34
49
                    <field name="prodlot_id"/>
35
50
                        <field name="expired_date"/>
36
 
                        <field name="location_id"/>
37
 
                    <!--field name="partner_id" context="{'contact_display':'partner'}"/>-->
38
 
                        <field name="product_qty" />
 
51
                    <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"/>
39
56
                   </tree>
40
57
                </field>
41
58
            </record>
66
83
        
67
84
        <menuitem action="action_batch_recall"
68
85
                  id="menu_batch_recall"
69
 
                  sequence="-5"
70
86
                  parent="stock.menu_traceability" />
71
87
                  
72
88
        <record id="action_report_batch_recall" model="ir.actions.act_window">
78
94
            
79
95
            
80
96
    </data>
81
 
</openerp>
 
97
</openerp>
 
 
b'\\ No newline at end of file'