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

« back to all changes in this revision

Viewing changes to specific_locations/specific_locations_view.xml

UF-558 [ADD] Adapt new wizard to register lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
            </field>
30
30
                </record>
31
31
                
32
 
                <record id="view_location_tree2" model="ir.ui.view">
33
 
            <field name="name">stock.location.tree</field>
34
 
            <field name="model">stock.location</field>
35
 
            <field name="type">tree</field>
36
 
            <field name="priority" eval="2"/>
37
 
            <field name="inherit_id" ref="stock.view_location_tree2" />
38
 
            <field name="arch" type="xml">
39
 
                <data>
40
 
 
41
 
                    <field name="usage" position="after">
42
 
                        <field name="location_category" />
43
 
                    </field>
44
 
                    
45
 
                </data>
46
 
            </field>
47
 
        </record>
48
 
        
49
 
        <record id="view_location_search" model="ir.ui.view">
50
 
            <field name="name">stock.location.search</field>
51
 
            <field name="model">stock.location</field>
52
 
            <field name="type">search</field>
53
 
            <field name="inherit_id" ref="stock.view_location_search" />
54
 
            <field name="arch" type="xml">
55
 
                <data>
56
 
 
57
 
                    <field name="name" position="after">
58
 
                        <field name="location_category" />
59
 
                    </field>
60
 
 
61
 
                </data>
62
 
            </field>
63
 
        </record>
64
 
        
65
 
        <record id="view_warehouse" model="ir.ui.view">
66
 
            <field name="name">stock.warehouse</field>
67
 
            <field name="model">stock.warehouse</field>
68
 
            <field name="type">form</field>
69
 
            <field name="inherit_id" ref="stock.view_warehouse" />
70
 
            <field name="arch" type="xml">
71
 
                <data>
72
 
                
73
 
                        <field name="lot_stock_id" position="replace">
74
 
                                <field name="lot_stock_id" domain="[('quarantine_location', '=', False)]" />
75
 
                                <field name="lot_quarantine_id" />
76
 
                        </field>
77
 
                        <field name="lot_output_id" position="replace">
78
 
                                <field name="lot_output_id" domain="[('quarantine_location', '=', False)]" />
79
 
                        </field>
80
 
                
81
 
                </data>
82
 
            </field>
83
 
        </record>
84
 
        
85
 
        <record id="view_picking_in_form" model="ir.ui.view">
86
 
            <field name="name">stock.picking.in.form</field>
87
 
            <field name="model">stock.picking</field>
88
 
            <field name="type">form</field>
89
 
            <field name="inherit_id" ref="stock.view_picking_in_form" />
90
 
            <field name="arch" type="xml">
91
 
                <data>
92
 
                
93
 
                        <field name="location_id" position="replace">
94
 
                                <field name="location_id" domain="[('usage','&lt;&gt;','view'), ('quarantine_location', '=', False),]" />
95
 
                        </field>
96
 
                
97
 
                </data>
98
 
            </field>
99
 
        </record>
100
 
                
101
32
                <record id="view_picking_out_form" model="ir.ui.view">
102
33
            <field name="name">stock.picking.out.form</field>
103
34
            <field name="model">stock.picking</field>
113
44
                </data>
114
45
            </field>
115
46
                </record>
116
 
                
117
 
                <record id="view_move_form_reception_picking" model="ir.ui.view">
118
 
            <field name="name">view.move.form.reception.picking</field>
119
 
            <field name="model">stock.move</field>
120
 
            <field name="type">form</field>
121
 
            <field name="inherit_id" ref="stock.view_move_form_reception_picking" />
122
 
            <field name="arch" type="xml">
123
 
                <data>
124
 
                
125
 
                        <field name="location_id" position="replace">
126
 
                                <field name="location_id" context="{'full':True}" domain="[('quarantine_location', '=', False),]" />
127
 
                        </field>
128
 
                
129
 
                </data>
130
 
            </field>
131
 
        </record>
132
 
        
133
 
        <record id="view_move_form" model="ir.ui.view">
134
 
            <field name="name">stock.move.form</field>
135
 
            <field name="model">stock.move</field>
136
 
            <field name="type">form</field>
137
 
            <field name="inherit_id" ref="stock.view_move_form" />
138
 
            <field eval="4" name="priority"/>
139
 
            <field name="arch" type="xml">
140
 
                <data>
141
 
                
142
 
                        <field name="location_id" position="replace">
143
 
                                <field name="location_id" context="{'full':True}" domain="[('quarantine_location', '=', False),]" />
144
 
                        </field>
145
 
                
146
 
                </data>
147
 
            </field>
148
 
        </record>
149
 
        
150
 
        <record id="view_move_tree" model="ir.ui.view">
151
 
            <field name="name">stock.move.tree</field>
152
 
            <field name="model">stock.move</field>
153
 
            <field name="type">tree</field>
154
 
            <field eval="6" name="priority"/>
155
 
            <field name="inherit_id" ref="stock.view_move_tree" />
156
 
            <field name="arch" type="xml">
157
 
                <data>
158
 
                
159
 
                        <field name="location_id" position="replace">
160
 
                                <field name="location_id" domain="[('quarantine_location', '=', False),]" />
161
 
                        </field>
162
 
                
163
 
                </data>
164
 
            </field>
165
 
        </record>
166
47
 
167
48
        </data>
168
49
</openerp>