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

41.3.1 by Quentin THEURET
UF-128: [ADD] Added the stock_batch_recall module
1
<?xml version="1.0" encoding="utf-8" ?>
2
<openerp>
3
    <data>
4
    
5
	    <record id="view_batch_recall_search" model="ir.ui.view">
6
	        <field name="name">report.batch.search</field>
7
	        <field name="model">report.batch.recall</field>
8
	        <field name="type">search</field>
9
	        <field name="arch" type="xml">
10
	            <search string="Batch Recall">
11
	                <group expand="0" string="Filters...">
12
	                    <filter icon="terp-go-home" name="location_type_internal" string="Internal" domain="[('location_type','=','internal')]"/>
13
	                    <separator orientation="vertical"/>
426.13.3 by Quentin THEURET
UF-720 [IMP] Reworked the batch recall report to have all lines with all information
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')]"/>
426.13.4 by Quentin THEURET
UF-720 [IMP] Change the expired_date field to have a good request to create the view
16
	                    <separator orientation="vertical" />
17
	                    <field name="location_id" />
18
	                    <field name="product_id" />
19
	                    <field name="prodlot_id" />
20
	                    <field name="expired_date" />
41.3.1 by Quentin THEURET
UF-128: [ADD] Added the stock_batch_recall module
21
	                </group>
22
	            </search>
23
	        </field>
24
	    </record>
25
	        
26
	    <record id="stock_batch_recall_tree" model="ir.ui.view">
27
	        <field name="name">stock.batch.recall.tree</field>
28
	        <field name="model">report.batch.recall</field>
29
	        <field name="type">tree</field>
30
	        <field name="arch" type="xml">
31
	            <tree string="Batch Recall">
32
	                <field name="location_type" invisible="1"/>
426.13.3 by Quentin THEURET
UF-720 [IMP] Reworked the batch recall report to have all lines with all information
33
	                <field name="product_id"/>
205.2.2 by Matthieu Dietrich
[FIX] UF-297: UF-302: dates format is wrong (should be DD/MM/YYYY)
34
                    <field name="prodlot_id"/>
35
	                <field name="expired_date"/>
426.13.3 by Quentin THEURET
UF-720 [IMP] Reworked the batch recall report to have all lines with all information
36
	                <field name="location_id"/>
1263.3.5 by Quentin THEURET
UF-1545 [FIX] Batch recall : Don't display partner's locations
37
                    <!--field name="partner_id" context="{'contact_display':'partner'}"/>-->
426.13.3 by Quentin THEURET
UF-720 [IMP] Reworked the batch recall report to have all lines with all information
38
	                <field name="product_qty" />
41.3.1 by Quentin THEURET
UF-128: [ADD] Added the stock_batch_recall module
39
	           </tree>
40
	        </field>
41
	    </record>
42
        
43
        <!-- Wizard view -->
44
        <record id="batch_recall_form_view" model="ir.ui.view">
45
            <field name="name">batch.recall.form.view</field>
46
            <field name="model">stock.batch.recall</field>
47
            <field name="type">form</field>
48
            <field name="arch" type="xml">
49
                <form string="Batch Recall">
50
                    <field name="product_id" colspan="4" />
51
                    <field name="prodlot_id" colspan="4" />
52
                    <field name="expired_date" colspan="4" />
53
                    <label colspan="3" />
54
                    <button name="return_view" type="object" icon="terp-check" string="Go" />
55
                </form>
56
            </field>
57
        </record>
58
        
59
        <record id="action_batch_recall" model="ir.actions.act_window">
60
            <field name="name">Batch Recall</field>
61
            <field name="res_model">stock.batch.recall</field>
62
            <field name="view_type">form</field>
63
            <field name="view_mode">form</field>
64
            <field name="target">new</field>
65
        </record>
66
        
67
        <menuitem action="action_batch_recall"
68
                  id="menu_batch_recall"
428.4.12 by Quentin THEURET
UF-657 [FIX] Renamed some fields in list/search view and moved some menu entries
69
                  sequence="-5"
41.3.1 by Quentin THEURET
UF-128: [ADD] Added the stock_batch_recall module
70
                  parent="stock.menu_traceability" />
41.3.3 by Quentin THEURET
UF-128 : [FIX] Fixed bug on search view with leaf which didn't work when change the group by
71
                  
72
        <record id="action_report_batch_recall" model="ir.actions.act_window">
73
            <field name="name">Batch Recall</field>
74
            <field name="res_model">report.batch.recall</field>
75
            <field name="view_type">form</field>
76
            <field name="view_mode">tree</field>
77
        </record>
78
            
41.3.1 by Quentin THEURET
UF-128: [ADD] Added the stock_batch_recall module
79
            
80
    </data>
426.13.1 by Quentin THEURET
UF-720 [FIX] Added group_by on batch recall report
81
</openerp>