559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
1 |
<?xml version="1.0" encoding="utf-8" ?>
|
2 |
<openerp>
|
|
3 |
<data>
|
|
4 |
||
864
by jf
UF-703 Add integrity constraints on locations selection for OUT and PICK created manually |
5 |
<record id="stock_location_chained_nomen_form_view" model="ir.ui.view"> |
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
6 |
<field name="name">stock.location.chained.nomen.form.view</field> |
7 |
<field name="model">stock.location</field> |
|
8 |
<field name="type">form</field> |
|
9 |
<field name="inherit_id" ref="stock.view_location_form" /> |
|
10 |
<field name="arch" type="xml"> |
|
11 |
<data>
|
|
12 |
<xpath expr="/form//field[@name='chained_location_type']" position="attributes"> |
|
13 |
<attribute name="on_change">on_change_location_type(chained_location_type)</attribute> |
|
14 |
</xpath>
|
|
15 |
||
16 |
<xpath expr="/form/group[3]" position="after" > |
|
17 |
<group colspan="2" col="2" attrs="{'invisible': [('chained_location_type', '!=', 'nomenclature')]}"> |
|
18 |
<separator colspan="2" string="Chaining options" /> |
|
19 |
<field name="chained_options_ids" colspan="2" nolabel="1"> |
|
20 |
<tree string="Chaining options" editable="top"> |
|
21 |
<field name="nomen_id" domain= "[('level', '=', 0)]" /> |
|
22 |
<field name="dest_location_id" domain="[('usage', '=', 'internal')]" /> |
|
23 |
</tree>
|
|
24 |
</field>
|
|
25 |
</group>
|
|
26 |
</xpath>
|
|
27 |
</data>
|
|
28 |
</field>
|
|
29 |
</record>
|
|
30 |
||
31 |
<record id="view_picking_form_inherit_sale" model="ir.ui.view"> |
|
32 |
<field name="name">view.picking.form.inherit.sale</field> |
|
33 |
<field name="model">stock.picking</field> |
|
34 |
<field name="type">form</field> |
|
35 |
<field name="inherit_id" ref="sale.stock_picking_inherit_sale" /> |
|
36 |
<field name="arch" type="xml"> |
|
37 |
<xpath expr="/form/notebook/page[@string='Additional info']/field[@name='sale_id']" position="attributes"> |
|
38 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}</attribute> |
|
39 |
</xpath>
|
|
40 |
</field>
|
|
41 |
</record>
|
|
42 |
||
43 |
<record id="view_picking_out_form_inherit_sale" model="ir.ui.view"> |
|
44 |
<field name="name">view.picking.form.out.inherit.sale</field> |
|
45 |
<field name="model">stock.picking</field> |
|
46 |
<field name="type">form</field> |
|
47 |
<field name="inherit_id" ref="sale.stock_picking_out_inherit_sale" /> |
|
48 |
<field name="arch" type="xml"> |
|
49 |
<xpath expr="/form//field[@name='sale_id']" position="attributes"> |
|
50 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}</attribute> |
|
51 |
</xpath>
|
|
1349.21.7
by Olivier DOSSMANN
UF-1660 [ADD] Restriction on Delivery order to only show customers |
52 |
<xpath expr="/form//field[@name='partner_id2']" position="attributes"> |
2402.1.1
by Quentin THEURET
US-108 [IMP] Disallow possibility to select internal, intermission, intersection partner on from scrath delivery order |
53 |
<attribute name="domain">[('partner_type', 'in', ['esc', 'external']), ('customer', '=', True)]</attribute> |
1349.21.7
by Olivier DOSSMANN
UF-1660 [ADD] Restriction on Delivery order to only show customers |
54 |
</xpath>
|
2165.14.26
by jf
UF-2406 [MERGE] Partial OUT not working correctly with back order mechanism |
55 |
<xpath expr="/form//field[@name='move_lines']/tree//field[@name='location_id']" position="after"> |
56 |
<field name="location_dest_id" readonly="1" /> |
|
57 |
</xpath>
|
|
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
58 |
</field>
|
59 |
</record>
|
|
60 |
||
61 |
<record id="inherit_view_move_form" model="ir.ui.view"> |
|
62 |
<field name="name">inherit.view.move.form</field> |
|
63 |
<field name="model">stock.move</field> |
|
64 |
<field name="type">form</field> |
|
65 |
<field name="inherit_id" ref="stock.view_move_form" /> |
|
66 |
<field name="arch" type="xml"> |
|
67 |
<xpath expr="/form//field[@name='product_id']" position="attributes"> |
|
68 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
69 |
</xpath>
|
|
70 |
<xpath expr="/form//field[@name='product_qty']" position="attributes"> |
|
71 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
72 |
</xpath>
|
|
73 |
<xpath expr="/form//field[@name='product_uom']" position="attributes"> |
|
74 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
1421.1.11
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Deliver Product |
75 |
<attribute name="domain">[('uom_by_product', '=', product_id)]</attribute> |
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
76 |
</xpath>
|
77 |
<xpath expr="/form//field[@name='location_id']" position="attributes"> |
|
78 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
79 |
</xpath>
|
|
80 |
<xpath expr="/form//field[@name='location_dest_id']" position="attributes"> |
|
81 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
82 |
</xpath>
|
|
83 |
<xpath expr="/form//field[@name='address_id']" position="replace"> |
|
84 |
<field name="partner_id2" on_change="on_change_partner(partner_id2, address_id)" |
|
85 |
attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" /> |
|
86 |
<field name="address_id" attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" /> |
|
87 |
</xpath>
|
|
88 |
<xpath expr="/form//field[@name='picking_id']" position="attributes"> |
|
89 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
90 |
</xpath>
|
|
91 |
<xpath expr="/form//field[@name='tracking_id']" position="attributes"> |
|
92 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
93 |
</xpath>
|
|
94 |
<xpath expr="/form//field[@name='date_expected']" position="attributes"> |
|
95 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
96 |
</xpath>
|
|
97 |
<xpath expr="/form//field[@name='name']" position="attributes"> |
|
98 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
99 |
</xpath>
|
|
100 |
<xpath expr="/form//button[@string='New pack']" position="attributes"> |
|
101 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
102 |
</xpath>
|
|
103 |
<xpath expr="/form//button[@string='Split']" position="attributes"> |
|
104 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
105 |
</xpath>
|
|
106 |
</field>
|
|
107 |
</record>
|
|
108 |
||
109 |
<record id="inherit_view_move_form_reception_picking" model="ir.ui.view"> |
|
110 |
<field name="name">inherit.view.move.form</field> |
|
111 |
<field name="model">stock.move</field> |
|
112 |
<field name="type">form</field> |
|
113 |
<field name="inherit_id" ref="stock.view_move_form_reception_picking" /> |
|
114 |
<field name="arch" type="xml"> |
|
115 |
<xpath expr="/form//field[@name='product_id']" position="attributes"> |
|
116 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
117 |
</xpath>
|
|
118 |
<xpath expr="/form//field[@name='product_qty']" position="attributes"> |
|
119 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
120 |
</xpath>
|
|
121 |
<xpath expr="/form//field[@name='product_uom']" position="attributes"> |
|
122 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
1421.1.10
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Receive Product |
123 |
<attribute name="domain">[('uom_by_product', '=', product_id)]</attribute> |
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
124 |
</xpath>
|
125 |
<xpath expr="/form//field[@name='location_id']" position="attributes"> |
|
126 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
127 |
</xpath>
|
|
128 |
<xpath expr="/form//field[@name='location_dest_id']" position="attributes"> |
|
129 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
130 |
</xpath>
|
|
131 |
<xpath expr="/form//field[@name='address_id']" position="replace"> |
|
132 |
<field name="partner_id2" on_change="on_change_partner(partner_id2, address_id)" |
|
133 |
attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" /> |
|
134 |
<field name="address_id" attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" /> |
|
135 |
</xpath>
|
|
136 |
<xpath expr="/form//field[@name='picking_id']" position="attributes"> |
|
137 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
138 |
</xpath>
|
|
139 |
<xpath expr="/form//field[@name='tracking_id']" position="attributes"> |
|
140 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
141 |
</xpath>
|
|
142 |
<xpath expr="/form//field[@name='date_expected']" position="attributes"> |
|
143 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
144 |
</xpath>
|
|
145 |
<xpath expr="/form//field[@name='name']" position="attributes"> |
|
146 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
147 |
</xpath>
|
|
148 |
<xpath expr="/form//button[@string='New pack']" position="attributes"> |
|
149 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
150 |
</xpath>
|
|
151 |
<xpath expr="/form//button[@string='Split']" position="attributes"> |
|
152 |
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}</attribute> |
|
153 |
</xpath>
|
|
154 |
</field>
|
|
155 |
</record>
|
|
156 |
||
157 |
<record id="view_split_in_lots" model="ir.ui.view"> |
|
158 |
<field name="name">view.split.in.lots</field> |
|
159 |
<field name="model">stock.move.split</field> |
|
160 |
<field name="type">form</field> |
|
161 |
<field name="inherit_id" ref="stock.view_split_in_lots" /> |
|
162 |
<field name="arch" type="xml"> |
|
163 |
<data>
|
|
164 |
<xpath expr="/form//field[@name='use_exist']" position="attributes"> |
|
165 |
<attribute name="string">Ues existing batches</attribute> |
|
166 |
</xpath>
|
|
167 |
<xpath expr="/form" position="attributes"> |
|
168 |
<attribute name="string">Split in batches</attribute> |
|
169 |
</xpath>
|
|
170 |
<xpath expr="/form//field[@name='line_ids']/tree" position="attributes"> |
|
171 |
<attribute name="string">Batch numbers</attribute> |
|
172 |
</xpath>
|
|
173 |
<xpath expr="/form//field[@name='line_ids']/tree/field[@name='name']" position="attributes"> |
|
174 |
<attribute name="string">Batch numbers</attribute> |
|
175 |
</xpath>
|
|
176 |
<xpath expr="/form//field[@name='line_ids']/form" position="attributes"> |
|
177 |
<attribute name="string">Batch number</attribute> |
|
178 |
</xpath>
|
|
179 |
<xpath expr="/form//field[@name='line_ids']/form/field[@name='name']" position="attributes"> |
|
180 |
<attribute name="string">Batch number</attribute> |
|
181 |
</xpath>
|
|
182 |
<xpath expr="/form//field[@name='line_exist_ids']/tree" position="attributes"> |
|
183 |
<attribute name="string">Batch numbers</attribute> |
|
184 |
</xpath>
|
|
185 |
<xpath expr="/form//field[@name='line_exist_ids']/tree/field[@name='prodlot_id']" position="attributes"> |
|
186 |
<attribute name="string">Batch numbers</attribute> |
|
187 |
</xpath>
|
|
188 |
<xpath expr="/form//field[@name='line_exist_ids']/form" position="attributes"> |
|
189 |
<attribute name="string">Batch number</attribute> |
|
190 |
</xpath>
|
|
191 |
<xpath expr="/form//field[@name='line_exist_ids']/form/field[@name='prodlot_id']" position="attributes"> |
|
192 |
<attribute name="string">Batch number</attribute> |
|
193 |
</xpath>
|
|
194 |
</data>
|
|
195 |
</field>
|
|
196 |
</record>
|
|
197 |
||
198 |
<record id="view_split_in_lots_inherit" model="ir.ui.view"> |
|
199 |
<field name="name">Split Inventory Line</field> |
|
200 |
<field name="model">stock.inventory.line.split</field> |
|
201 |
<field name="type">form</field> |
|
202 |
<field name="inherit_id" ref="stock.view_split_in_lots_inherit" /> |
|
203 |
<field name="arch" type="xml"> |
|
204 |
<data>
|
|
205 |
||
206 |
<xpath expr="/form//field[@name='use_exist']" position="attributes"> |
|
207 |
<attribute name="string">Ues existing batches</attribute> |
|
208 |
</xpath>
|
|
209 |
<xpath expr="/form" position="attributes"> |
|
210 |
<attribute name="string">Split in batches</attribute> |
|
211 |
</xpath>
|
|
212 |
<xpath expr="/form//field[@name='line_ids']/tree" position="attributes"> |
|
213 |
<attribute name="string">Batch numbers</attribute> |
|
214 |
</xpath>
|
|
215 |
<xpath expr="/form//field[@name='line_ids']/tree/field[@name='name']" position="attributes"> |
|
216 |
<attribute name="string">Batch numbers</attribute> |
|
217 |
</xpath>
|
|
218 |
<xpath expr="/form//field[@name='line_ids']/form" position="attributes"> |
|
219 |
<attribute name="string">Batch number</attribute> |
|
220 |
</xpath>
|
|
221 |
<xpath expr="/form//field[@name='line_ids']/form/field[@name='name']" position="attributes"> |
|
222 |
<attribute name="string">Batch number</attribute> |
|
223 |
</xpath>
|
|
224 |
<xpath expr="/form//field[@name='line_exist_ids']/tree" position="attributes"> |
|
225 |
<attribute name="string">Batch numbers</attribute> |
|
226 |
</xpath>
|
|
227 |
<xpath expr="/form//field[@name='line_exist_ids']/tree/field[@name='prodlot_id']" position="attributes"> |
|
228 |
<attribute name="string">Batch numbers</attribute> |
|
229 |
</xpath>
|
|
230 |
<xpath expr="/form//field[@name='line_exist_ids']/form" position="attributes"> |
|
231 |
<attribute name="string">Batch number</attribute> |
|
232 |
</xpath>
|
|
233 |
<xpath expr="/form//field[@name='line_exist_ids']/form/field[@name='prodlot_id']" position="attributes"> |
|
234 |
<attribute name="string">Batch number</attribute> |
|
235 |
</xpath>
|
|
236 |
||
237 |
</data>
|
|
238 |
</field>
|
|
239 |
</record>
|
|
240 |
||
241 |
<record id="stock.track_line" model="ir.actions.act_window"> |
|
242 |
<field name="name">Split in batches</field> |
|
243 |
</record>
|
|
244 |
||
245 |
<record id="batch_view_inventory_tree" model="ir.ui.view"> |
|
246 |
<field name="name">batch.view.inventory.tree</field> |
|
247 |
<field name="model">stock.inventory</field> |
|
248 |
<field name="type">tree</field> |
|
249 |
<field name="inherit_id" ref="stock.view_inventory_tree" /> |
|
250 |
<field name="arch" type="xml"> |
|
251 |
<xpath expr="/tree" position="attributes"> |
|
252 |
<attribute name="string">Batch inventory</attribute> |
|
253 |
</xpath>
|
|
254 |
</field>
|
|
255 |
</record>
|
|
256 |
||
257 |
<record id="view_location_tree_tree" model="ir.ui.view"> |
|
258 |
<field name="name">stock.location.tree.tree</field> |
|
259 |
<field name="model">stock.location</field> |
|
260 |
<field name="type">tree</field> |
|
261 |
<field name="field_parent">child_ids</field> |
|
262 |
<field name="arch" type="xml"> |
|
263 |
<tree string="Stock Location" colors="blue:usage=='view';darkred:usage=='internal'" toolbar="1" expand_button="1"> |
|
559.31.16
by Quentin THEURET
UF-697 [IMP] Replace complete_name by name on location on Stock by Location view |
264 |
<field name="name"/> |
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
265 |
<field name="usage"/> |
266 |
<field name="stock_real" /> |
|
267 |
<field name="stock_virtual" /> |
|
268 |
</tree>
|
|
269 |
</field>
|
|
270 |
</record>
|
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
271 |
|
892.5.9
by Quentin THEURET
UF-1152 Update |
272 |
<record id="unifield_view_move_tree" model="ir.ui.view"> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
273 |
<field name="name">unifield.view.move.tree</field> |
274 |
<field name="model">stock.move</field> |
|
275 |
<field name="type">tree</field> |
|
276 |
<field name="inherit_id" ref="stock.view_move_tree" /> |
|
277 |
<field name="arch" type="xml"> |
|
278 |
<xpath expr="/tree" position="attributes"> |
|
279 |
<attribute name="editable">top</attribute> |
|
280 |
<attribute name="noteditable">1</attribute> |
|
281 |
<attribute name="hide_new_button">1</attribute> |
|
282 |
<attribute name="hide_delete_button">1</attribute> |
|
283 |
</xpath>
|
|
284 |
||
285 |
<xpath expr="/tree//field[@name='picking_id']" position="attributes"> |
|
286 |
<attribute name="string">Picking Ref.</attribute> |
|
287 |
</xpath>
|
|
288 |
||
289 |
<xpath expr="/tree//field[@name='tracking_id']" position="replace" /> |
|
290 |
||
291 |
<xpath expr="/tree//button[@string='Split in production lots']" position="replace" /> |
|
292 |
<xpath expr="/tree//button[@string='Put in current pack']" position="replace" /> |
|
293 |
<xpath expr="/tree//button[@string='Put in a new pack']" position="replace" /> |
|
294 |
<xpath expr="/tree//button[@string='Scrap Products']" position="replace" /> |
|
295 |
</field>
|
|
296 |
</record>
|
|
297 |
||
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
298 |
<record id="stock.view_picking_form" model="ir.ui.view"> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
299 |
<field name="name">view.picking.form</field> |
300 |
<field name="model">stock.picking</field> |
|
301 |
<field name="type">form</field> |
|
302 |
<field name="arch" type="xml"> |
|
303 |
<form string="Internal Moves"> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
304 |
<group colspan="4" col="6"> |
305 |
<group colspan="4" col="4"> |
|
306 |
<field name="name" readonly="1"/> |
|
1122.18.3
by pierre-marie
UF-1198 Bug correction |
307 |
<field name="origin" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
896.10.7
by Quentin THEURET
UF-1149 [IMP] Picking & moves : Made views consistent |
308 |
<field name="backorder_id" readonly="1"/> |
1074.18.1
by Quentin THEURET
UF-1027 [IMP] Filter reason types on stock.picking and stock.move objects according to the picking type |
309 |
<field name="reason_type_id" widget="selection" |
310 |
domain="[('internal_ok', '=', True)]" |
|
311 |
attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
312 |
<field name="order_category"/> |
313 |
</group>
|
|
314 |
<group colspan="2" col="2"> |
|
315 |
<field name="date" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
1660.20.8
by Quentin THEURET
UF-2060 [FIX] Fix some issues on import/export of internal moves |
316 |
<field name="min_date" string="Expected Move Date" attrs="{'readonly': [('state', 'in', ['done', 'cancel', 'import'])]}" |
1307.7.3
by Quentin THEURET
UF-1620 [IMP] Add date management on INT/OUT/PICK/PACK |
317 |
on_change="change_min_date()" required="1"/> |
318 |
<field name="min_date_manually" invisible="1" /> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
319 |
</group>
|
320 |
</group>
|
|
321 |
<notebook colspan="4"> |
|
322 |
<page string="Products"> |
|
1074.5.1
by jf
UF-1299 [IMP] Add a button to change the destination location of an INT: no wizard |
323 |
<field name="from_wkf" invisible="1"/> |
1007
by jf
UF-1060 [DEV] General picking documents modifications |
324 |
<field name="move_lines" |
325 |
colspan="4" |
|
326 |
nolabel="1" |
|
327 |
widget="one2many_list" |
|
1446.2.1
by Quentin THEURET
UF-1813 [FIX] Internal move : Pass the header reason type to the stock move |
328 |
default_get="{'move_line':move_lines and [move_lines[-1]] or [], 'date_expected': min_date, 'reason_type_id': reason_type_id}" |
1307.7.3
by Quentin THEURET
UF-1620 [IMP] Add date management on INT/OUT/PICK/PACK |
329 |
context="{'reason_type_id': reason_type_id, 'from_wkf': from_wkf, 'date_expected': min_date}" |
1007
by jf
UF-1060 [DEV] General picking documents modifications |
330 |
on_change="onchange_move()" |
331 |
>
|
|
1804
by jf
UF-2060 [IMP] INTernal move improvements |
332 |
<tree colors="grey:scrapped == True; red: inactive_product or to_correct_ok or expired_lot" string="Stock Moves" noteditable="fake_state=='assigned'" hide_new_button="context.get('from_wkf')" hide_delete_button="context.get('from_wkf')"> |
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
333 |
<field name="line_number"/> |
1396.2.21
by Quentin THEURET
UF-1044 [IMP] Filter the product in documents |
334 |
<field name="product_id" /> |
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
335 |
<field name="composition_list_id"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
336 |
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> |
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
337 |
<field name="product_uom" string="UoM"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
338 |
<field name="product_uos" invisible="1"/> |
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
339 |
<field name="scrapped" invisible="1"/> |
340 |
<field name="asset_id"/> |
|
341 |
<field name="prodlot_id"/> |
|
342 |
<field name="expired_date"/> |
|
1394.7.1
by pma at tempo-consulting
UF-1707 Move split button on INT and OUT |
343 |
|
344 |
<!--<button name="%(stock.track_line)d" string="Split in production lots" type="action" icon="terp-stock_effects-object-colorize" states="draft,waiting,confirmed,assigned"/>-->
|
|
345 |
||
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
346 |
<field name="tracking_id"/> |
347 |
<field name="location_id"/> |
|
348 |
<field name="location_dest_id"/> |
|
349 |
<field name="date" string="Actual Move Date"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
350 |
<field name="state"/> |
1074.5.1
by jf
UF-1299 [IMP] Add a button to change the destination location of an INT: no wizard |
351 |
<field name="fake_state" invisible="1"/> |
1775.1.68
by Quentin THEURET
UTP-872 [IMP] Internal moves : Display the Cancel & Resource button on lines only if the lines comes from the workflow |
352 |
<field name="from_wkf" invisible="1" /> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
353 |
<button name="cancel_assign" string="Cancel Availability" type="object" icon="gtk-undo" states="assigned" context="{'from_button': True}" /> |
354 |
<button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
|
1009
by jf
UF-1204 [DEV] Add a Cancel Availibilty button on INT OUT PICK PACK PLL SHIP |
355 |
<button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
356 |
<field name="lot_check"/> |
357 |
<field name="exp_check"/> |
|
358 |
<field name="kc_check"/> |
|
359 |
<field name="ssl_check" invisible="True"/> |
|
360 |
<field name="dg_check"/> |
|
361 |
<field name="np_check"/> |
|
1786.3.1
by Quentin THEURET
UTP-691 [FIX] INTernal move : Keep the batch number on chaining − Display the line in red if the batch is expired |
362 |
<field name="expired_lot" invisible="1" /> |
1394.9.26
by Quentin THEURET
UF-1403 [IMP] Product deactivation : Add error on document lines if the product in line is inactive |
363 |
<field name="inactive_product" invisible="1" /> |
1660.20.4
by Quentin THEURET
UF-2060 [ADD] Add import feature on internal moves |
364 |
<field name="to_correct_ok" invisible="1" /> |
1775.1.11
by Quentin THEURET
UTP-871 [IMP] Internal moves : Cancel an internal moves attached to an IR recreates a new IR to re-source the needs |
365 |
<field name="inactive_error" attrs="{'invisible': [('inactive_product', '=', False)]}" /> |
1775.1.68
by Quentin THEURET
UTP-872 [IMP] Internal moves : Display the Cancel & Resource button on lines only if the lines comes from the workflow |
366 |
<button name="call_cancel_wizard" icon="gtk-del" string="Cancel & Resource" type="object" |
367 |
confirm="Do you really want to delete selected record ?" |
|
2067.1.1
by vg at tempo-consulting
UFTP-29 [FIX] INT line by line cancel, do not allow cancel and ressource if INT is comming from a PO->IN source flow. Only allow for an INT sourced from stock from IR.FO. Note: at header level INT C&R was already inhibated, but missing for line per line cancel |
368 |
attrs="{'invisible': ['|', ('from_wkf', '=', False), ('fake_state', 'in', ('cancel', 'done'))]}" |
369 |
context="{'from_int': 1}"/> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
370 |
</tree>
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
371 |
|
372 |
<form string="Stock Moves"> |
|
373 |
<group colspan="2" col="4"> |
|
374 |
<separator colspan="4" string="Move Information"/> |
|
375 |
<field name="name" invisible="1" colspan="4"/> |
|
1074.5.1
by jf
UF-1299 [IMP] Add a button to change the destination location of an INT: no wizard |
376 |
<field name="from_wkf_line" invisible="1" /> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
377 |
<field name="product_id" |
378 |
on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id, parent.type)" |
|
1396.2.22
by Quentin THEURET
UF-1044 [IMP] Add restriction on stock move |
379 |
context="{'location': location_id, 'prodlot_id': prodlot_id, 'compute_child': True, 'available_for_restriction: {'location_id': location_dest_id}, 'search_default_not_restricted': 1}" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
380 |
colspan="4" |
1074.5.3
by jf
UF-1336 [IMP] |
381 |
attrs="{'readonly': ['|', ('from_wkf_line', '=', True), ('state', '=', 'assigned')]}" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
382 |
/>
|
383 |
<field name="product_qty" |
|
384 |
on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" |
|
385 |
colspan="2" |
|
1074.5.3
by jf
UF-1336 [IMP] |
386 |
attrs="{'readonly': ['|', ('from_wkf_line', '=', True), ('state', '=', 'assigned')]}" |
387 |
/>
|
|
388 |
<field name="product_uom" |
|
1533.8.6
by Quentin THEURET
UF-1763 [IMP] Add the check of rounding of the quantity on internal moves |
389 |
on_change="onchange_uom(product_uom, product_qty)" |
1074.5.3
by jf
UF-1336 [IMP] |
390 |
string="Unit Of Measure" |
391 |
colspan="2" |
|
392 |
attrs="{'readonly': ['|', ('from_wkf_line', '=', True), ('state', '=', 'assigned')]}" |
|
1421.1.9
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Incoming Shipment /Internal Moves / Picking / Packing / Delivery Orders / PPL |
393 |
domain="[('uom_by_product', '=', product_id)]"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
394 |
<field name="product_uos_qty" |
395 |
on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" |
|
396 |
colspan="4" |
|
397 |
invisible="1" |
|
398 |
/>
|
|
399 |
<field name="product_uos" |
|
400 |
on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" |
|
401 |
colspan="4" |
|
402 |
invisible="1" |
|
403 |
/>
|
|
404 |
<field name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4" invisible="1"/> |
|
405 |
</group>
|
|
406 |
||
407 |
<group colspan="2" col="2"> |
|
408 |
<separator string="Locations" colspan="2"/> |
|
409 |
<field name="location_id" |
|
1074.5.3
by jf
UF-1336 [IMP] |
410 |
attrs="{'readonly': [('state', '=', 'assigned')]}" |
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
411 |
domain="[('internal_src', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_dest_id)]" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
412 |
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False}" |
413 |
/>
|
|
414 |
<field name="location_dest_id" |
|
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
415 |
domain="[('internal_dest', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_id)]" |
1396.2.22
by Quentin THEURET
UF-1044 [IMP] Add restriction on stock move |
416 |
on_change="location_dest_change(location_dest_id, location_id, product_id)" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
417 |
/>
|
418 |
</group>
|
|
419 |
||
420 |
<group colspan="2" col="4"> |
|
421 |
<separator string="Traceability" colspan="4"/> |
|
422 |
<field name="asset_id" colspan="4" /> |
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
423 |
<field name="prodlot_id" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
424 |
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,'search_default_real': True}" |
425 |
domain="[('product_id','=?',product_id), ('check_type','=', True)]" |
|
426 |
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" |
|
427 |
colspan="2" |
|
428 |
attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False)]}" |
|
429 |
/>
|
|
430 |
<field name="hidden_batch_management_mandatory" invisible="True" /> |
|
431 |
<field name="hidden_perishable_mandatory" invisible="True" /> |
|
432 |
<field name="expired_date" /> |
|
433 |
<group colspan="4" col="10"> |
|
434 |
<field name="lot_check" /> |
|
435 |
<field name="exp_check" /> |
|
436 |
<field name="kc_check" /> |
|
437 |
<field name="ssl_check" invisible="True" /> |
|
438 |
<field name="dg_check" /> |
|
439 |
<field name="np_check" /> |
|
440 |
</group>
|
|
1074.18.1
by Quentin THEURET
UF-1027 [IMP] Filter reason types on stock.picking and stock.move objects according to the picking type |
441 |
<field name="reason_type_id" widget="selection" |
442 |
domain="[('internal_ok', '=', True)]" |
|
443 |
attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
444 |
</group>
|
445 |
||
446 |
<group colspan="2" col="2"> |
|
447 |
<separator string="Dates" colspan="2"/> |
|
448 |
<field name="create_date" invisible="1"/> |
|
449 |
<field name="date" string="Actual Move Date"/> |
|
450 |
<field name="date_expected" string="Expected Move Date"/> |
|
451 |
</group>
|
|
452 |
||
453 |
<label string="" colspan="4"/> |
|
454 |
<field name="state"/> |
|
455 |
<group col="4" colspan="2"> |
|
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
456 |
<button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}"/> |
457 |
<button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find" context="{'from_button': True}"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
458 |
</group>
|
459 |
</form>
|
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
460 |
</field>
|
461 |
<group col="10" colspan="4"> |
|
462 |
<field name="state" readonly="1"/> |
|
1660.20.5
by Quentin THEURET
UF-2060 [FIX] Display buttons to import lines and confirm draft lines in Draft, Confirmed and Available states |
463 |
<field name="has_draft_moves" invisible="1" /> |
1660.20.10
by Quentin THEURET
UF-2060 [IMP] Remove the button to return to initial state |
464 |
<!-- <button name="return_to_state" string="Return to initial state" states="import" icon="gtk-execute" type="object" />-->
|
1964.1.1
by Quentin THEURET
UF-2317 [FIX] Add a Resource & cancel button on Internal moves from IR |
465 |
<button name="call_cancel_wizard" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel" type="object" /> |
1660.20.9
by Quentin THEURET
UF-2060 [IMP] Add a button to return to the initial state if the import doesn't work |
466 |
<button name="draft_force_assign" states="draft,confirmed,assigned" string="Confirm" type="object" icon="gtk-apply" attrs="{'invisible': ['|', '&', ('state', 'in', ['done', 'cancel', 'import']), ('state', '!=', 'draft'), ('has_draft_moves', '=', False)]}" /> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
467 |
<button name="action_assign" states="confirmed,assigned" string="Check Availability" type="object" icon="gtk-find" context="{'from_button': True}"/> |
468 |
<button name="force_assign" states="confirmed,assigned" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
|
1789.6.47
by Quentin THEURET
UTP-101 [IMP] Change the name of the button 'Change all locations' as requested in UTP-101 |
469 |
<button name="change_all_location" string="Change All destinations" icon="gtk-execute" type="object" states="draft,confirmed,assigned" /> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
470 |
<button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward" context="{'from_button': True}"/> |
1660.20.8
by Quentin THEURET
UF-2060 [FIX] Fix some issues on import/export of internal moves |
471 |
<field name="certificate_donation" invisible="1"/> |
472 |
<button name="print_certificate" string="Print certificate" type="object" icon="gtk-print" attrs="{'invisible': [('certificate_donation', '=', False)]}"/> |
|
473 |
<button name="%(stock.action_stock_invoice_onshipping)d" string="Create Invoice" attrs="{'invisible': ['|','|',('state','<>','done'),('invoice_state','=','invoiced'),('invoice_state','=','none')]}" type="action" icon="terp-gtk-go-back-rtl"/> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
474 |
</group>
|
475 |
</page>
|
|
476 |
<page string="Additional info"> |
|
477 |
<field name="auto_picking" invisible="1" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
478 |
<field name="date_done" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
479 |
<field name="move_type" invisible="1" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
480 |
<field name="type" invisible="1" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
481 |
<field name="company_id" widget="selection" invisible="1"/> |
|
482 |
</page>
|
|
483 |
<page string="Notes"> |
|
484 |
<field colspan="4" name="note" nolabel="1"/> |
|
485 |
</page>
|
|
486 |
</notebook>
|
|
487 |
</form>
|
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
488 |
</field>
|
489 |
</record>
|
|
490 |
||
491 |
<record id="sale.stock_picking_inherit_sale" model="ir.ui.view"> |
|
896.10.2
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
492 |
<field name="name">stock.picking.form</field> |
493 |
<field name="model">stock.picking</field> |
|
494 |
<field name="type">form</field> |
|
495 |
<field name="inherit_id" ref="stock.view_picking_form"/> |
|
496 |
<field name="arch" type="xml"> |
|
497 |
<field name="auto_picking" position="after"> |
|
498 |
<field name="sale_id" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
499 |
</field>
|
|
500 |
</field>
|
|
501 |
</record>
|
|
502 |
||
503 |
<record id="purchase.stock_picking_inherit_purchase" model="ir.ui.view"> |
|
504 |
<field name="name">Picking list</field> |
|
505 |
<field name="model">stock.picking</field> |
|
506 |
<field name="type">form</field> |
|
507 |
<field name="inherit_id" ref="stock.view_picking_form"/> |
|
508 |
<field name="arch" type="xml"> |
|
509 |
<field name="auto_picking" position="after"> |
|
510 |
<field name="purchase_id" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
511 |
</field>
|
|
512 |
</field>
|
|
513 |
</record>
|
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
514 |
|
515 |
<record id="stock.view_picking_in_form" model="ir.ui.view"> |
|
516 |
<field name="name">view.picking.in.form</field> |
|
517 |
<field name="model">stock.picking</field> |
|
518 |
<field name="type">form</field> |
|
892.5.9
by Quentin THEURET
UF-1152 Update |
519 |
<field name="arch" type="xml"> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
520 |
<form string="Incoming Shipments"> |
2209.5.4
by Quentin THEURET
UTP-1147 [IMP] Add a warning message on the incoming shipment when the processing is in progress |
521 |
<field name="progress_memory_not_done" invisible="1" /> |
2264.1.1
by Quentin THEURET
UF-2485 [FIX] If an error was raised during the incoming shipment processing, no error was displayed on the processing wizard. |
522 |
<field name="progress_memory_error" invisible="1" /> |
2209.5.4
by Quentin THEURET
UTP-1147 [IMP] Add a warning message on the incoming shipment when the processing is in progress |
523 |
<group colspan="6"> |
524 |
<html>
|
|
525 |
<p id="view_incoming_in_progress" |
|
526 |
style="display:none; text-align:center; color: red; font-weight: bold; font-size: 1.2em;"> |
|
527 |
WARNING: The processing of this incoming shipment is currently in progress, any modifications you make will not be considered. |
|
528 |
</p>
|
|
2264.1.1
by Quentin THEURET
UF-2485 [FIX] If an error was raised during the incoming shipment processing, no error was displayed on the processing wizard. |
529 |
<p id="view_incoming_in_progress_error" |
530 |
style="display:none; text-align:center; color: red; font-weight: bold; font-size: 1.2em;"> |
|
531 |
ERROR: The processing of this incoming shipment has returned an error, please open the processing wizard to show the error. |
|
532 |
</p>
|
|
2209.5.4
by Quentin THEURET
UTP-1147 [IMP] Add a warning message on the incoming shipment when the processing is in progress |
533 |
<script language="javascript"> |
2264.1.1
by Quentin THEURET
UF-2485 [FIX] If an error was raised during the incoming shipment processing, no error was displayed on the processing wizard. |
534 |
var is_not_done = $('#progress_memory_not_done').val(); |
535 |
var is_error = $('#progress_memory_error').val(); |
|
536 |
if (is_not_done == "1") { |
|
2209.5.4
by Quentin THEURET
UTP-1147 [IMP] Add a warning message on the incoming shipment when the processing is in progress |
537 |
msg_dom = $('#view_incoming_in_progress') |
538 |
msg_dom.show(); |
|
539 |
} |
|
2264.1.1
by Quentin THEURET
UF-2485 [FIX] If an error was raised during the incoming shipment processing, no error was displayed on the processing wizard. |
540 |
if (is_error == "1") { |
541 |
msg_dom = $('#view_incoming_in_progress_error') |
|
542 |
msg_dom.show() |
|
543 |
msg_dom_done = $('#view_incoming_in_progress') |
|
544 |
msg_dom_done.hide() |
|
545 |
} |
|
2209.5.4
by Quentin THEURET
UTP-1147 [IMP] Add a warning message on the incoming shipment when the processing is in progress |
546 |
</script>
|
547 |
</html>
|
|
548 |
</group>
|
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
549 |
<group colspan="4" col="6"> |
550 |
<group colspan="4" col="4"> |
|
551 |
<field name="name" readonly="1"/> |
|
552 |
<field name="origin" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
553 |
<field name="partner_id2" on_change="on_change_partner(partner_id2, address_id)" required="0" attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}"/> |
|
1041.1.15
by Quentin THEURET
UF-1040 [IMP] Set locations by default |
554 |
<field name="address_id" invisible="1" /> |
896.10.7
by Quentin THEURET
UF-1149 [IMP] Picking & moves : Made views consistent |
555 |
<field name="backorder_id" readonly="1"/> |
1074.18.1
by Quentin THEURET
UF-1027 [IMP] Filter reason types on stock.picking and stock.move objects according to the picking type |
556 |
<field name="reason_type_id" widget="selection" |
557 |
domain="[('incoming_ok', '=', True)]" |
|
1074.18.7
by Quentin THEURET
UF-1027 [IMP] Made reason type readonly if the picking comes from wkf |
558 |
attrs="{'readonly': ['|', ('from_wkf', '=', True), ('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
559 |
<field name="order_category"/> |
560 |
<field name="change_reason"/> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
561 |
</group>
|
562 |
<group colspan="2" col="2"> |
|
1307.7.1
by Quentin THEURET
UF-1620 [FIX] Incoming shipment : Update the Actual receipt date of the stock move if the expected receipt date is changed |
563 |
<field name="date" string="Creation Date" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
1307.7.2
by Quentin THEURET
UF-1620 [IMP] Incoming shipment : Management of expected receipt dates |
564 |
<field name="min_date" string="Expected Receipt Date" attrs="{'readonly': [('state', 'in', ['done', 'cancel'])]}" |
1307.7.3
by Quentin THEURET
UF-1620 [IMP] Add date management on INT/OUT/PICK/PACK |
565 |
on_change="change_min_date()" required="1" /> |
1307.7.2
by Quentin THEURET
UF-1620 [IMP] Incoming shipment : Management of expected receipt dates |
566 |
<field name="min_date_manually" invisible="1" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
567 |
<field name="warehouse_id" widget="selection" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/> |
1726.20.4
by duy.vo at msf
UF-1617: Added the new state Shipped for IN |
568 |
<field name="shipment_ref" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
569 |
</group>
|
570 |
</group>
|
|
1907.5.4
by Quentin THEURET
UF-2251 [IMP] Add the possibility to export an Excel or Pure XML file on IN from ESC |
571 |
<field name="is_esc" invisible="1" /> |
1907.5.9
by Quentin THEURET
UF-2251 [IMP] Remove the old import at IN processing wizard - Replace it by the simulation screen |
572 |
<group colspan="4" string="IN export" attrs="{'invisible': [('state', 'in', ('cancel', 'done'))]}"> |
1907.5.4
by Quentin THEURET
UF-2251 [IMP] Add the possibility to export an Excel or Pure XML file on IN from ESC |
573 |
<field name="filetype" /> |
1907.5.10
by Quentin THEURET
UF-2251 [FIX] Fix some bugs on XML import and export of IN |
574 |
<button name="export_template_file" colspan="2" string="Export file" type="object" icon="gtk-print" /> |
1907.5.4
by Quentin THEURET
UF-2251 [IMP] Add the possibility to export an Excel or Pure XML file on IN from ESC |
575 |
</group>
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
576 |
<notebook colspan="4"> |
577 |
<page string="General Information"> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
578 |
<field name="from_wkf" invisible="1"/> |
1122.3.1
by jf
UF-1397: subtype invisible field added in 'Incoming Ship' form view, this field is needed in move_lines context |
579 |
<field name="subtype" invisible="1" /> |
1007
by jf
UF-1060 [DEV] General picking documents modifications |
580 |
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" |
581 |
default_get="{'purchase_id': purchase_id, 'reason_type_id': reason_type_id, 'warehouse_id': warehouse_id}" |
|
1193.18.1
by Matthieu Dietrich
UF-1449: [FIX] URLs too long for stock picking |
582 |
context="{'subtype': subtype, 'type': 'out', 'reason_type_id': reason_type_id, 'move_line':move_lines and [move_lines[-1]] or [], 'address_in_id': address_id, 'warehouse_id': warehouse_id, 'from_wkf': from_wkf}" |
1007
by jf
UF-1060 [DEV] General picking documents modifications |
583 |
on_change="onchange_move()" |
584 |
>
|
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
585 |
<tree
|
1394.9.26
by Quentin THEURET
UF-1403 [IMP] Product deactivation : Add error on document lines if the product in line is inactive |
586 |
colors="grey:scrapped==True; red: inactive_product == True" |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
587 |
string="Stock Moves" |
588 |
hide_new_button="context.get('from_wkf')" |
|
589 |
hide_delete_button="context.get('from_wkf')" |
|
590 |
>
|
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
591 |
<field name="line_number"/> |
1396.2.21
by Quentin THEURET
UF-1044 [IMP] Filter the product in documents |
592 |
<field name="product_id" context="{'available_for_restriction': 'consumption', 'search_default_not_restricted': 1}" /> |
1394.9.26
by Quentin THEURET
UF-1403 [IMP] Product deactivation : Add error on document lines if the product in line is inactive |
593 |
<field name="inactive_product" invisible="1" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
594 |
<field name="product_qty"/> |
595 |
<field name="product_uom" string="UoM"/> |
|
596 |
<field name="scrapped" invisible="1"/> |
|
597 |
<field name="asset_id"/> |
|
598 |
<field name="prodlot_id"/> |
|
599 |
<field name="expired_date"/> |
|
600 |
<field name="location_dest_id"/> |
|
601 |
<field name="date" string="Actual Receipt Date"/> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
602 |
<field name="state"/> |
603 |
<field name="fake_state" invisible="1"/> |
|
604 |
<field name="kit_check" invisible="True"/> |
|
1219.3.1
by chloups208
utp-156 used fake_state instead of state |
605 |
<button name="create_composition_list" type="object" string="Create Composition List" icon="gtk-justify-fill" attrs="{'invisible': ['|', ('fake_state', '!=', 'done'), ('kit_check', '=', False)]}"/> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
606 |
<button name="in_action_confirm" states="draft,confirmed" string="Confirm" type="object" icon="gtk-apply"/> |
607 |
<field name="lot_check"/> |
|
608 |
<field name="exp_check"/> |
|
609 |
<field name="kc_check"/> |
|
610 |
<field name="ssl_check" invisible="True"/> |
|
611 |
<field name="dg_check"/> |
|
612 |
<field name="np_check"/> |
|
1775.1.7
by Quentin THEURET
UTP-872 [IMP] INcoming Shipment : Re-source IN canceled moves |
613 |
<field name="inactive_error" attrs="{'invisible': [('inactive_product', '=', False)]}" /> |
2210.9.10
by Quentin THEURET
UTP-1052 [FIX] Remove the 'from_wkf' field on the Incoming shipment move tree view |
614 |
<field name="from_wkf" invisible="1" /> |
2210.9.2
by Quentin THEURET
UTP-1052 [FIX] Incoming Shipment : If a incoming shipment is built from scratch (in draft), each product line has two X at the end, one says cancel, one delete and both do the same action. |
615 |
<button name="call_cancel_wizard" type="object" string="Cancel" attrs="{'invisible': ['|', ('from_wkf', '=', False), ('fake_state', 'in', ('cancel', 'done'))]}" icon="gtk-del" /> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
616 |
</tree>
|
617 |
<form string="Stock Moves"> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
618 |
<group colspan="2" col="4"> |
619 |
<separator colspan="4" string="Move Information"/> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
620 |
<field name="from_wkf_line" invisible="1" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
621 |
<field name="name" invisible="1" colspan="4"/> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
622 |
<field name="product_id" |
1396.2.21
by Quentin THEURET
UF-1044 [IMP] Filter the product in documents |
623 |
context="{'location': location_id, 'prodlot_id': prodlot_id, 'compute_child': True, 'available_for_restriction': 'picking', 'search_default_not_restricted': 1}" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
624 |
on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id, parent.type, purchase_line_id)" |
625 |
colspan="4" |
|
626 |
attrs="{'readonly': [('from_wkf_line', '=', True)]}" |
|
627 |
/>
|
|
1041.1.1
by jf
[MERGE] |
628 |
<field name="purchase_line_id" invisible="1"/> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
629 |
<field name="change_reason" colspan="4"/> |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
630 |
<field name="product_qty" |
631 |
on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" |
|
632 |
attrs="{'readonly': [('from_wkf_line', '=', True)]}" |
|
633 |
colspan="2" |
|
634 |
/>
|
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
635 |
<field name="product_uom" |
1533.8.7
by Quentin THEURET
UF-1763 [FIX] Fixed bug with context |
636 |
on_change="onchange_uom(product_uom, product_qty)" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
637 |
string="Unit Of Measure" |
638 |
attrs="{'readonly': [('from_wkf_line', '=', True)]}" |
|
1421.1.9
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Incoming Shipment /Internal Moves / Picking / Packing / Delivery Orders / PPL |
639 |
colspan="2" |
640 |
domain="[('uom_by_product', '=', product_id)]"/> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
641 |
<field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" colspan="4" invisible="1"/> |
642 |
<field name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4" invisible="1"/> |
|
896.10.6
by Quentin THEURET
UF-1149 [FIX] Delivery order move : Lost domain on source location |
643 |
<field name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4" invisible="1" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
644 |
</group>
|
645 |
||
646 |
<group colspan="2" col="2"> |
|
647 |
<separator string="Locations" colspan="2"/> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
648 |
<field name="location_id" |
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
649 |
domain="[('usage', '!=', 'view'), ('usage', '=', 'supplier'), ('id', '!=', location_dest_id)]" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
650 |
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False}" |
651 |
attrs="{'readonly': [('from_wkf_line', '=', True)]}" |
|
652 |
/>
|
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
653 |
<field name="product_type" invisible="1"/> |
1041.1.1
by jf
[MERGE] |
654 |
<field name="location_dest_id" |
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
655 |
domain="[('usage', '!=', 'view'), ('incoming_dest', '=', product_id), ('id', '!=', location_id)]" |
892.15.48
by matthieu.choplin at msf
[uf-1055] on stock.move, if the location_dest_id is equal to the location_id, then the state is 'done' |
656 |
on_change="location_dest_change(location_dest_id, location_id)" |
1041.1.1
by jf
[MERGE] |
657 |
/>
|
658 |
<field name="move_cross_docking_ok" invisible="1"/> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
659 |
</group>
|
660 |
||
661 |
<group colspan="2" col="4"> |
|
662 |
<separator string="Traceability" colspan="4"/> |
|
896.10.7
by Quentin THEURET
UF-1149 [IMP] Picking & moves : Made views consistent |
663 |
<field name="asset_id" colspan="4" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
664 |
<field name="prodlot_id" context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory}" domain="[('product_id','=?',product_id), ('check_type','=', True)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="2" attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False)]}"/> |
665 |
<field name="expired_date"/> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
666 |
<field name="kit_check" invisible="True"/> |
667 |
<button name="create_composition_list" type="object" string="Create Composition List" icon="gtk-justify-fill" attrs="{'invisible': ['|', ('state', '!=', 'done'), ('kit_check', '=', False)]}"/> |
|
668 |
<field name="hidden_batch_management_mandatory" invisible="True"/> |
|
669 |
<field name="hidden_perishable_mandatory" invisible="True"/> |
|
670 |
<group colspan="4" col="10"> |
|
671 |
<field name="lot_check"/> |
|
672 |
<field name="exp_check"/> |
|
673 |
<field name="kc_check"/> |
|
674 |
<field name="ssl_check" invisible="True"/> |
|
675 |
<field name="dg_check"/> |
|
676 |
<field name="np_check"/> |
|
677 |
</group>
|
|
1074.18.11
by Quentin THEURET
Merge unifield-wm |
678 |
<field name="reason_type_id" widget="selection" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" |
679 |
domain="[('incoming_ok', '=', True)]" /> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
680 |
</group>
|
681 |
||
682 |
<group colspan="2" col="2"> |
|
683 |
<separator string="Dates" colspan="2"/> |
|
684 |
<field name="create_date" invisible="1"/> |
|
685 |
<field name="date" string="Actual Receipt Date"/> |
|
686 |
<field name="date_expected" string="Expected Receipt Date"/> |
|
687 |
</group>
|
|
688 |
||
689 |
<label string="" colspan="4"/> |
|
690 |
<field name="state"/> |
|
691 |
<group col="4" colspan="2"> |
|
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
692 |
<button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
693 |
<button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find" context="{'from_button': True}"/> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
694 |
</group>
|
695 |
</form>
|
|
696 |
</field>
|
|
697 |
<group col="10" colspan="4"> |
|
698 |
<field name="state" readonly="1"/> |
|
940
by jf
[FIX] View stock.view_picking_in_form |
699 |
<button name="enter_reason" |
1726.20.4
by duy.vo at msf
UF-1617: Added the new state Shipped for IN |
700 |
states="assigned,confirmed,draft,shipped" |
2209.5.5
by Quentin THEURET
UTP-1147 [FIX] Display the buttons of the incoming shipment in the good states |
701 |
attrs="{'invisible': ['|', ('state', 'not in', ['assigned', 'confirmed', 'draft', 'shipped']), ('progress_memory_not_done', '!=', False)]}" |
940
by jf
[FIX] View stock.view_picking_in_form |
702 |
string="Cancel" |
703 |
type="object" |
|
704 |
icon="gtk-cancel" |
|
705 |
context="{'cancel_type': 'update_out'}" |
|
706 |
confirm="Warning, you are going to Cancel!" |
|
707 |
/>
|
|
2165.5.1
by Quentin THEURET
UFTP-141 [FIX] Incoming shipment: Remove the Cancel & Resource button if the IN don't come from a PO that source a need |
708 |
<field name="from_wkf_sourcing" invisible="1" /> |
940
by jf
[FIX] View stock.view_picking_in_form |
709 |
<button name="enter_reason" |
1726.20.4
by duy.vo at msf
UF-1617: Added the new state Shipped for IN |
710 |
states="assigned,confirmed,draft,shipped" |
2209.5.5
by Quentin THEURET
UTP-1147 [FIX] Display the buttons of the incoming shipment in the good states |
711 |
attrs="{'invisible': ['|', '|', ('state', 'not in', ['assigned', 'confirmed', 'draft', 'shipped']), ('progress_memory_not_done', '!=', False), ('from_wkf_sourcing', '=', False)]}" |
940
by jf
[FIX] View stock.view_picking_in_form |
712 |
string="Cancel & Resource" |
713 |
type="object" |
|
714 |
icon="gtk-cancel" |
|
715 |
confirm="Warning, you are going to Cancel and Resource!" |
|
716 |
/>
|
|
1016.1.7
by jf
[FIX] Buttons on stock picking |
717 |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
718 |
<button name="draft_force_assign" states="draft" string="Confirm" type="object" icon="gtk-apply"/> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
719 |
<button name="action_assign" states="" string="Check Availability" type="object" icon="gtk-find" context="{'from_button': True}"/> |
720 |
<button name="force_assign" states="" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
|
1907.5.9
by Quentin THEURET
UF-2251 [IMP] Remove the old import at IN processing wizard - Replace it by the simulation screen |
721 |
<!--
|
722 |
To go to simulation screen, click on Process then Simulate button on the opened wizard
|
|
723 |
<button name="go_to_simulation_screen" states="assigned,shipped" string="Simulate" type="object" icon="gtk-execute" attrs="{'invisible': [('is_esc', '=', False)]}" />-->
|
|
2209.5.3
by Quentin THEURET
UTP-1147 [IMP] Now, it's possible to check the processing of an Incoming shipment and other actions are blocked (cancel of the IN, cancel of the move) |
724 |
<field name="progress_memory" invisible="1" /> |
2209.5.9
by Quentin THEURET
UTP-1147 [FIX] Bad displayin of button on incoming shipment during the processing and after (in case of BO) |
725 |
<button name="go_to_processing_wizard" states="assigned,shipped" string="Open processing wizard" type="object" icon="gtk-go-forward" attrs="{'invisible': ['|', '|', ('state', 'not in', ['assigned', 'shipped']), ('progress_memory', '=', -1), ('progress_memory_not_done', '=', False)]}" context="{'progress_wizard': True}" /> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
726 |
<button name="action_process" states="assigned,shipped" string="Process" type="object" icon="gtk-go-forward" attrs="{'invisible': ['|', ('state', 'not in', ['assigned', 'shipped']), ('progress_memory_not_done', '=', True)]}" context="{'from_button': True}"/> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
727 |
<group colspan="1" states="done"> |
1016.1.7
by jf
[FIX] Buttons on stock picking |
728 |
<button name="%(stock.act_stock_return_picking)d" string="Return Products" states="done" type="action" icon="gtk-execute"/> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
729 |
</group>
|
1010
by jf
[FIX] Picking name="315" name="321" |
730 |
<button states="done" name="%(stock.action_stock_invoice_onshipping)d" string="Create Invoice" attrs="{'invisible': ['|','|',('state','<>','done'),('invoice_state','=','invoiced'),('invoice_state','=','none')]}" type="action" icon="terp-gtk-go-back-rtl"/> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
731 |
</group>
|
732 |
</page>
|
|
733 |
<page string="Additional Info"> |
|
1489.1.1
by Quentin THEURET
UF-1852 [FIX] Fix bug at saving of Incoming shipment from scratch |
734 |
<field name="fake_type" readonly="1" /> |
735 |
<field name="type" invisible="1" /> |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
736 |
<field name="attach_cert" readonly="1" attrs="{'invisible': [('certificate_donation', '=', False)]}"/> |
1016.1.7
by jf
[FIX] Buttons on stock picking |
737 |
<field name="company_id" widget="selection" invisible="1"/> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
738 |
</page>
|
739 |
<page string="Notes"> |
|
1907.5.22
by Quentin THEURET
UF-2251 [FIX] Notes at header are not shown |
740 |
<field name="last_imported_filename" invisible="0" readonly="1" /> |
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
741 |
<field colspan="4" name="note" nolabel="1"/> |
742 |
</page>
|
|
743 |
</notebook>
|
|
744 |
</form>
|
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
745 |
</field>
|
892.5.9
by Quentin THEURET
UF-1152 Update |
746 |
</record>
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
747 |
|
892.5.9
by Quentin THEURET
UF-1152 Update |
748 |
<record id="stock.view_move_search" model="ir.ui.view"> |
749 |
<field name="name">stock.move.search</field> |
|
750 |
<field name="model">stock.move</field> |
|
751 |
<field name="type">search</field> |
|
752 |
<field eval="3" name="priority"/> |
|
753 |
<field name="arch" type="xml"> |
|
754 |
<search string="Stock Moves"> |
|
755 |
<group col="14" colspan="4"> |
|
756 |
<filter icon="terp-go-today" string="Today" domain="[('date','<=',time.strftime('%%Y-%%m-%%d 23:59:59')),('date','>=',time.strftime('%%Y-%%m-%%d 00:00:00'))]" help="Orders processed Today or planned for Today"/> |
|
757 |
<separator orientation="vertical"/> |
|
758 |
<filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/> |
|
759 |
<filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/> |
|
760 |
<filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/> |
|
761 |
<separator orientation="vertical"/> |
|
892.5.19
by Quentin THEURET
UF-1152 [IMP] Stock moves view : Rename 'Reference' by 'Picking Ref.' |
762 |
<field name="name" string="Name" /> |
892.5.9
by Quentin THEURET
UF-1152 Update |
763 |
<field name="origin"/> |
764 |
<field name="address_id" string="Partner" context="{'contact_display':'partner'}" filter_domain="[('picking_id.address_id','ilike',self)]"/> |
|
765 |
<field name="product_id"/> |
|
766 |
<field name="location_id" string="Source Location" /> |
|
767 |
<field name="location_dest_id" string="Destination location" /> |
|
768 |
<field name="state"/> |
|
769 |
</group>
|
|
770 |
<newline/>
|
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
771 |
<group expand="0" string="Extended Filters..." colspan="4" col="8"> |
892.5.9
by Quentin THEURET
UF-1152 Update |
772 |
<field name="prodlot_id"/> |
773 |
</group>
|
|
774 |
<newline/>
|
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
775 |
<group expand="0" string="Group By..." colspan="4" col="8"> |
892.5.9
by Quentin THEURET
UF-1152 Update |
776 |
<filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/> |
777 |
<filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/> |
|
778 |
<filter string="Lot" name="groupby_prodlot_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'prodlot_id'}"/> |
|
779 |
<separator orientation="vertical"/> |
|
780 |
<filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}"/> |
|
781 |
<filter string="Destination" name="groupby_dest_location_id" icon="terp-gtk-jump-to-ltr" domain="[]" context="{'group_by':'location_dest_id'}"/> |
|
782 |
<separator orientation="vertical"/> |
|
783 |
<filter icon="terp-stock_effects-object-colorize" string="State" domain="[]" context="{'group_by':'state'}" /> |
|
784 |
<separator orientation="vertical"/> |
|
785 |
<filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/> |
|
786 |
<filter string="Expected" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/> |
|
787 |
</group>
|
|
788 |
</search>
|
|
789 |
</field>
|
|
790 |
</record>
|
|
791 |
||
792 |
<record id="unifield_view_inventory_filter" model="ir.ui.view"> |
|
793 |
<field name="name">stock.inventory.filter</field> |
|
794 |
<field name="model">stock.inventory</field> |
|
795 |
<field name="type">search</field> |
|
796 |
<field name="inherit_id" ref="stock.view_inventory_filter" /> |
|
797 |
<field name="arch" type="xml"> |
|
892.5.27
by Quentin THEURET
UF-1152 [IMP] Stock inventory : Add a filter on 'statet' |
798 |
<xpath expr="/search//field[@name='company_id']" position="replace"> |
892.5.28
by Quentin THEURET
UF-1152 [IMP] Stock inventory : Add a filter on 'statet' |
799 |
<field name="state" /> |
892.5.27
by Quentin THEURET
UF-1152 [IMP] Stock inventory : Add a filter on 'statet' |
800 |
</xpath>
|
892.5.9
by Quentin THEURET
UF-1152 Update |
801 |
</field>
|
802 |
</record>
|
|
803 |
||
804 |
<delete model="ir.actions.act_window" id="stock.action_view_stock_fill_inventory" /> |
|
805 |
<delete model="ir.actions.act_window" id="stock.action_view_stock_merge_inventories" /> |
|
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
806 |
|
896.10.3
by Quentin THEURET
UF-1149 [IMP] Internal picking & moves : Rework form view |
807 |
<record id="purchase.stock_picking_in_inherit_purchase" model="ir.ui.view"> |
808 |
<field name="name">Incoming Picking Inherited</field> |
|
809 |
<field name="model">stock.picking</field> |
|
810 |
<field name="type">form</field> |
|
811 |
<field name="inherit_id" ref="stock.view_picking_in_form"/> |
|
812 |
<field name="arch" type="xml"> |
|
813 |
<field name="backorder_id" position="after"> |
|
814 |
<field name="purchase_id" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
815 |
</field>
|
|
816 |
</field>
|
|
817 |
</record>
|
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
818 |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
819 |
<record id="stock.view_picking_out_form" model="ir.ui.view"> |
820 |
<field name="name">view.picking.out.form</field> |
|
821 |
<field name="model">stock.picking</field> |
|
822 |
<field name="type">form</field> |
|
823 |
<field name="arch" type="xml"> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
824 |
<form string="Delivery Orders"> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
825 |
<group col="6" colspan="4"> |
826 |
<group colspan="4" col="4"> |
|
827 |
<field name="name" readonly="1"/> |
|
828 |
<field name="origin" readonly="1"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
829 |
<field name="partner_id2" |
830 |
on_change="on_change_partner(partner_id2, address_id)" |
|
831 |
required="1" |
|
2402.1.1
by Quentin THEURET
US-108 [IMP] Disallow possibility to select internal, intermission, intersection partner on from scrath delivery order |
832 |
domain="[('partner_type', 'in', ['esc', 'external'])]" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
833 |
attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" |
834 |
/>
|
|
835 |
<field name="address_id" |
|
836 |
attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" |
|
837 |
required="1" |
|
838 |
/>
|
|
839 |
<field name="backorder_id" readonly="1"/> |
|
840 |
<field name="reason_type_id" |
|
1074.18.1
by Quentin THEURET
UF-1027 [IMP] Filter reason types on stock.picking and stock.move objects according to the picking type |
841 |
domain="[('outgoing_ok', '=', True)]" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
842 |
widget="selection" |
1074.18.7
by Quentin THEURET
UF-1027 [IMP] Made reason type readonly if the picking comes from wkf |
843 |
attrs="{'readonly': ['|', ('from_wkf', '=', True), ('state', 'not in', ('draft', 'confirmed', 'assigned'))]}" |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
844 |
/>
|
845 |
<field name="order_category"/> |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
846 |
</group>
|
847 |
<group colspan="2" col="2"> |
|
848 |
<field name="date" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
1307.7.3
by Quentin THEURET
UF-1620 [IMP] Add date management on INT/OUT/PICK/PACK |
849 |
<field name="min_date" string="Expected Shipped Date" attrs="{'readonly': [('state', 'in', ['done', 'cancel'])]}" |
850 |
on_change="change_min_date()" required="1" /> |
|
2090
by jf
UF-1830 [IMP] Sync: Messages recovery issues |
851 |
<field name="min_date_manually" invisible="1" /> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
852 |
<field name="warehouse_id" |
853 |
widget="selection" |
|
854 |
attrs="{'readonly': [('state', 'not in', ['draft', 'waiting', 'confirmed', 'assigned'])]}" |
|
855 |
/>
|
|
2090
by jf
UF-1830 [IMP] Sync: Messages recovery issues |
856 |
<field name="in_ref" readonly="True" /> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
857 |
</group>
|
1907.5.4
by Quentin THEURET
UF-2251 [IMP] Add the possibility to export an Excel or Pure XML file on IN from ESC |
858 |
</group>
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
859 |
<notebook colspan="4"> |
860 |
<page string="Products"> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
861 |
<field name="from_wkf" invisible="1"/> |
1422.15.3
by Quentin THEURET
UF-1616 [IMP] Sync IN->OUT : if the processed qty is larger than the normal quantity, update the OUT |
862 |
<field name="subtype" invisible="True"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
863 |
<field name="move_lines" |
864 |
colspan="4" |
|
865 |
nolabel="1" |
|
866 |
widget="one2many_list" |
|
1385.4.1
by Quentin THEURET
UF-1676 [FIX] On delivery order, set the reason type of the stock move by default with the value of the reason type of the stock picking |
867 |
default_get="{'move_line':move_lines and [move_lines[-1]] or [], 'address_out_id': address_id, 'date_expected': min_date, 'reason_type_id': reason_type_id}" |
1307.7.3
by Quentin THEURET
UF-1620 [IMP] Add date management on INT/OUT/PICK/PACK |
868 |
context="{'subtype': subtype, 'type': 'out', 'reason_type_id': reason_type_id, 'move_line':move_lines and [move_lines[-1]] or [], 'address_out_id': address_id, 'warehouse_id': warehouse_id, 'from_wkf': from_wkf, 'date_expected': min_date}" |
869 |
on_change="onchange_move()" |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
870 |
>
|
2268
by jf
UF-2477 [FIX] OUT and PICK from scratch : two X at the end of lines |
871 |
<tree colors="grey:scrapped==True; red: inactive_product == True or product_tbd == True" string="Stock Moves" noteditable="fake_state in ('assigned', 'cancel')" hide_new_button="context.get('from_wkf')" hide_delete_button="True"> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
872 |
<field name="line_number"/> |
1396.2.21
by Quentin THEURET
UF-1044 [IMP] Filter the product in documents |
873 |
<field name="product_id" context="{'available_for_restriction': 'picking', 'search_default_not_restricted': 1}"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
874 |
<field name="composition_list_id"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
875 |
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
876 |
<field name="product_uom" string="UoM"/> |
877 |
<field name="asset_id"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
878 |
<field name="product_uos" invisible="1"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
879 |
<field name="scrapped" invisible="1"/> |
880 |
<field name="prodlot_id"/> |
|
1864.6.5
by Sean Carroll
UF-2224: [FIX] report updates |
881 |
<field name="expired_date"/> |
1394.7.1
by pma at tempo-consulting
UF-1707 Move split button on INT and OUT |
882 |
|
883 |
||
884 |
<!-- <button name="%(stock.track_line)d" string="Split in production lots" type="action" icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}" states="draft,assigned,confirmed"/> -->
|
|
885 |
||
886 |
||
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
887 |
<field name="tracking_id" /> |
888 |
<field name="location_id"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
889 |
<field name="date" string="Actual Shipped Date"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
890 |
<field name="state"/> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
891 |
<field name="fake_state" invisible="1"/> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
892 |
<button name="cancel_assign" string="Cancel Availability" type="object" icon="gtk-undo" states="assigned" context="{'from_button': True}"/> |
893 |
<button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}"/> |
|
1009
by jf
UF-1204 [DEV] Add a Cancel Availibilty button on INT OUT PICK PACK PLL SHIP |
894 |
<button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
895 |
<field name="lot_check"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
896 |
<field name="exp_check"/> |
897 |
<field name="kc_check"/> |
|
898 |
<field name="ssl_check" invisible="True"/> |
|
899 |
<field name="dg_check"/> |
|
900 |
<field name="np_check"/> |
|
1394.9.26
by Quentin THEURET
UF-1403 [IMP] Product deactivation : Add error on document lines if the product in line is inactive |
901 |
<field name="inactive_product" invisible="1" /> |
902 |
<field name="inactive_error" attrs="{'invisible': [('inactive_product', '=', False)]}" /> |
|
1009
by jf
UF-1204 [DEV] Add a Cancel Availibilty button on INT OUT PICK PACK PLL SHIP |
903 |
<button name="%(stock.action_partial_move_server)d" string="Process" type="action" states="confirmed,assigned" icon="gtk-go-forward" invisible="1"/> |
1775.1.43
by Quentin THEURET
UTP-872 [IMP] Hide new button on OUT and add a button to cancel lines on OUT |
904 |
<button name="call_cancel_wizard" type="object" string="Cancel" states="draft,assigned,confirmed" icon="gtk-del" /> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
905 |
</tree>
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
906 |
<form string="Stock Moves"> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
907 |
<group colspan="2" col="4"> |
908 |
<separator colspan="4" string="Move Information"/> |
|
909 |
<field name="name" invisible="1" colspan="4"/> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
910 |
<field name="from_wkf_line" invisible="1" /> |
1726.24.7
by Quentin THEURET
UTP-661 [IMP] If no product set on IR to external location, the OUT stock move has Product To Be Defined |
911 |
<field name="product_tbd" invisible="1" /> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
912 |
<field name="product_id" |
1396.2.21
by Quentin THEURET
UF-1044 [IMP] Filter the product in documents |
913 |
context="{'location': location_id, 'prodlot_id': prodlot_id, 'compute_child': True, 'available_for_restriction': 'picking', 'search_default_not_restricted': 1}" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
914 |
on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id,parent.type, purchase_line_id, True)" |
1726.24.7
by Quentin THEURET
UTP-661 [IMP] If no product set on IR to external location, the OUT stock move has Product To Be Defined |
915 |
attrs="{'readonly': ['|', '&', ('from_wkf_line', '=', True), ('product_tbd', '=', False), ('state', '=', 'assigned')]}" |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
916 |
colspan="4" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
917 |
/>
|
918 |
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" |
|
919 |
attrs="{'readonly': ['|', ('from_wkf_line', '=', True), ('state', '=', 'assigned')]}" |
|
920 |
colspan="2" |
|
921 |
/>
|
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
922 |
<field name="product_uom" |
1533.8.7
by Quentin THEURET
UF-1763 [FIX] Fixed bug with context |
923 |
on_change="onchange_uom(product_uom, product_qty)" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
924 |
string="Unit Of Measure" |
925 |
attrs="{'readonly': ['|', ('from_wkf_line', '=', True), ('state', '=', 'assigned')]}" |
|
926 |
colspan="2" |
|
1421.1.9
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Incoming Shipment /Internal Moves / Picking / Packing / Delivery Orders / PPL |
927 |
domain="[('uom_by_product', '=', product_id)]" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
928 |
/>
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
929 |
<field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" colspan="4" invisible="1"/> |
930 |
<field name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4" invisible="1"/> |
|
931 |
<field name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4" invisible="1"/> |
|
1041.1.1
by jf
[MERGE] |
932 |
<field name="purchase_line_id" invisible="1"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
933 |
</group>
|
934 |
||
935 |
<group colspan="2" col="2"> |
|
936 |
<separator string="Locations" colspan="2"/> |
|
937 |
<field name="location_virtual_id" invisible="1"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
938 |
<field name="location_output_id" invisible="1"/> |
1074.5.3
by jf
UF-1336 [IMP] |
939 |
<field name="location_id" |
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
940 |
domain="[('outgoing_src', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_dest_id)]" |
1074.5.3
by jf
UF-1336 [IMP] |
941 |
attrs="{'readonly': [('state', '=', 'assigned')]}" |
1041.1.9
by Quentin THEURET
UF-1040 [IMP] Stock picking : Change the domain of stock picking src/dest locations according to picking type and product type |
942 |
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False}"/> |
1041.1.1
by jf
[MERGE] |
943 |
<field name="move_cross_docking_ok" invisible="1"/> |
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
944 |
<field name="location_dest_id" |
1248.4.1
by matthieu.choplin at msf
[uf-1512] add a domain on the location_id and the location_dest_id of the stock move so that we cannot select the same location for both |
945 |
domain="[('usage', '!=', 'view'), '|', ('output_ok', '=', True), ('usage', '=', 'customer'), ('id', '!=', location_id)]" |
892.15.48
by matthieu.choplin at msf
[uf-1055] on stock.move, if the location_dest_id is equal to the location_id, then the state is 'done' |
946 |
on_change="location_dest_change(location_dest_id, location_id)" |
1074.5.5
by chloups208
uf-1299 uf-1339 merge lp:unifield-wm@1089 |
947 |
attrs="{'readonly': [('from_wkf_line', '=', True)]}" |
948 |
/>
|
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
949 |
</group>
|
950 |
||
951 |
<group colspan="2" col="4"> |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
952 |
<separator string="Traceability" colspan="4"/> |
896.10.7
by Quentin THEURET
UF-1149 [IMP] Picking & moves : Made views consistent |
953 |
<field name="asset_id" colspan="4" /> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
954 |
<field name="prodlot_id" context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory, 'search_default_real': True}" domain="[('product_id','=?',product_id), ('check_type','=', True)]" on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="2" attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False)]}"/> |
955 |
<field name="expired_date"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
956 |
<field name="hidden_batch_management_mandatory" invisible="True"/> |
957 |
<field name="hidden_perishable_mandatory" invisible="True"/> |
|
958 |
<group colspan="4" col="10"> |
|
959 |
<field name="lot_check"/> |
|
960 |
<field name="exp_check"/> |
|
961 |
<field name="kc_check"/> |
|
962 |
<field name="ssl_check" invisible="True"/> |
|
963 |
<field name="dg_check"/> |
|
964 |
<field name="np_check"/> |
|
965 |
</group>
|
|
1074.18.1
by Quentin THEURET
UF-1027 [IMP] Filter reason types on stock.picking and stock.move objects according to the picking type |
966 |
<field name="reason_type_id" widget="selection" |
967 |
domain="[('outgoing_ok', '=', True)]" |
|
968 |
attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/> |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
969 |
</group>
|
970 |
||
971 |
<group colspan="2" col="2"> |
|
972 |
<separator string="Dates" colspan="2"/> |
|
973 |
<field name="create_date" invisible="1"/> |
|
974 |
<field name="date" string="Actual Shipped Date"/> |
|
975 |
<field name="date_expected" string="Expected Shipped Date"/> |
|
976 |
</group>
|
|
977 |
||
978 |
<label string="" colspan="4"/> |
|
979 |
<field name="state"/> |
|
980 |
<group col="4" colspan="2"> |
|
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
981 |
<button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
982 |
<button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find" context="{'from_button': True}"/> |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
983 |
</group>
|
984 |
</form>
|
|
985 |
</field>
|
|
986 |
<group col="12" colspan="4"> |
|
987 |
<field name="state" invisible="True"/> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
988 |
<field name="delivered" invisible="True"/> |
989 |
<field name="state_hidden"/> |
|
1539.1.1
by Quentin THEURET
UF-1893 [FIX] The 'Confirm Delivery' button is only displayed on OUT when the state is 'Closed' |
990 |
<button name="set_delivered" icon="gtk-apply" type="object" string="Confirm Delivery" attrs="{'invisible': ['|', '|', '|', ('type', '!=', 'out'), ('subtype', '!=', 'standard'), ('state', '!=', 'done'), ('delivered', '=', True)]}"/> |
1014
by jf
[FIX] 2 Cross docking buttons |
991 |
<field name="cross_docking_ok" invisible="1"/> |
1775.1.14
by Quentin THEURET
UTP-873 [IMP] Tender : Re-source the FO line if cancel the tender lines or the remove the tender |
992 |
<!--<button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>-->
|
993 |
<button name="call_cancel_wizard" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel" type="object" /> |
|
1074.5.2
by jf
UF-1336 [IMP] Picking / moves |
994 |
<button name="draft_force_assign" states="draft" string="Confirm" type="object" icon="gtk-apply"/> |
2359.5.2
by Quentin THEURET
UF-2531 [FIX] Display a warning message at CP when the user tries to do an action on a stock.picking or a stock.move |
995 |
<button name="action_assign" states="confirmed,assigned" string="Check Availability" type="object" icon="gtk-find" context="{'from_button': True}" /> |
996 |
<button name="convert_to_pick" states="draft,confirmed,assigned" string="Convert to Picking Ticket" type="object" icon="gtk-convert" context="{'from_button': True}" /> |
|
997 |
<button name="force_assign" states="confirmed,assigned" string="Force Availability" type="object" icon="gtk-jump-to" context="{'from_button': True}" /> |
|
998 |
<button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward" help="Non available quantities will not be moved and will remain in the backorder document (unless you “force availability” if you are sure goods are available" context="{'from_button': True}"/> |
|
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
999 |
<field name="certificate_donation" invisible="1"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
1000 |
<button name="print_certificate" string="Print certificate" type="object" icon="gtk-print" attrs="{'invisible': [('certificate_donation', '=', False)]}"/> |
1994.1.42
by Quentin THEURET
REF-27 [FIX] Fix errors with fields.function inheritance and views inheritance |
1001 |
<button name="%(stock.act_stock_return_picking)d" string="Return Products" states="done" type="action" icon="gtk-execute"/> |
1010
by jf
[FIX] Picking name="315" name="321" |
1002 |
<button name="%(stock.action_stock_invoice_onshipping)d" string="Create Invoice" attrs="{'invisible': ['|','|',('state','<>','done'),('invoice_state','=','invoiced'),('invoice_state','=','none')]}" type="action" icon="terp-gtk-go-back-rtl"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
1003 |
</group>
|
1004 |
</page>
|
|
1005 |
<page string="Additional info"> |
|
1006 |
<field name="auto_picking" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}" invisible="1" /> |
|
1007 |
<field name="date_done" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}" /> |
|
1008 |
<field name="move_type" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}" invisible="1" /> |
|
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
1009 |
<field name="type" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}" invisible="1" /> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
1010 |
<field name="transport_order_id" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
939
by jf
UF-1149 [DEV] Usability Requirements: Picking Doc |
1011 |
<field name="company_id" widget="selection" invisible="1"/> |
896.10.4
by Quentin THEURET
UF-1149 [IMP] Outgoing delivery & moves : Rework form view |
1012 |
</page>
|
1013 |
<page string="Notes"> |
|
1014 |
<field colspan="4" name="note" nolabel="1"/> |
|
1015 |
</page>
|
|
1016 |
</notebook>
|
|
1017 |
</form>
|
|
1018 |
</field>
|
|
1019 |
</record>
|
|
1020 |
||
1021 |
<record id="sale.stock_picking_out_inherit_sale" model="ir.ui.view"> |
|
1022 |
<field name="name">Outgoing picking Inherited</field> |
|
1023 |
<field name="model">stock.picking</field> |
|
1024 |
<field name="type">form</field> |
|
1025 |
<field name="inherit_id" ref="stock.view_picking_out_form"/> |
|
1026 |
<field name="arch" type="xml"> |
|
1027 |
<field name="move_type" position="after"> |
|
1028 |
<field name="sale_id" attrs="{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}"/> |
|
1029 |
</field>
|
|
1030 |
</field>
|
|
1031 |
</record>
|
|
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1032 |
|
1033 |
<!-- Stock inventory -->
|
|
1034 |
<record id="stock.view_inventory_form" model="ir.ui.view"> |
|
1035 |
<field name="name">stock.inventory.form</field> |
|
1036 |
<field name="model">stock.inventory</field> |
|
1037 |
<field name="type">form</field> |
|
1038 |
<field name="arch" type="xml"> |
|
1039 |
<form string="Physical Inventory" hide_delete_button="1"> |
|
1040 |
<field name="name" attrs="{'readonly': [('state', '!=', 'draft')]}"/> |
|
1041 |
<field name="date" attrs="{'readonly': [('state', '!=', 'draft')]}"/> |
|
1042 |
<notebook colspan="4"> |
|
2125
by jf
UF-2370 [FIX] Incorrect message in Physical Inventory for BM products "Expiry date is missing" |
1043 |
<page string="General Information"> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1044 |
<field colspan="4" name="inventory_line_id" nolabel="1" widget="one2many_list" attrs="{'readonly': [('state', '!=', 'draft')]}"> |
1016.9.23
by Quentin THEURET
UF-1066 [IMP] Physical inventories : Add product filters to fill lines |
1045 |
<tree string="Products" editable="bottom" colors="red: has_problem == True"> |
1046 |
<field colspan="4" domain="[('usage','=','internal')]" name="location_id" required="True" |
|
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1047 |
on_change="on_change_location_id(location_id,product_id,prod_lot_id,product_uom,parent.date)" |
1048 |
context="{'product_id': product_id, 'prodlot_id': prod_lot_id, 'specific_rules_tree_view': True, 'compute_child': False}" /> |
|
1396.2.22
by Quentin THEURET
UF-1044 [IMP] Add restriction on stock move |
1049 |
<field context="location=location_id,uom=product_uom,to_date=parent.date,compute_child=False,available_for_restriction={'location_id': location_id},search_default_not_restricted=1" name="product_id" on_change="on_change_product_id_specific_rules(location_id,product_id,prod_lot_id,product_uom,parent.date)" domain="[('type','not in',('service','service_recep'))]" /> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1050 |
<field name="reason_type_id" widget="selection" domain="[('is_inventory', '=', True)]" /> |
1051 |
<field name="prod_lot_id" |
|
1052 |
on_change="change_lot(location_id,product_id,prod_lot_id,product_uom,parent.date)" |
|
1053 |
context="{'location_id':location_id, 'product_id': product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory, 'search_default_real': True}" |
|
1054 |
domain="[('check_type','=', True), ('product_id', '=?', product_id)]" |
|
1055 |
attrs="{'required': [('hidden_batch_management_mandatory', '=', True)], 'readonly': [('hidden_perishable_mandatory', '=', False), ('hidden_batch_management_mandatory', '=', False)]}" /> |
|
1056 |
<field name="expiry_date" |
|
1057 |
on_change="change_expiry(expiry_date, product_id, type_check)" |
|
1058 |
attrs="{'required': [('hidden_perishable_mandatory', '=', True)], 'readonly': [('hidden_perishable_mandatory', '=', False)]}" /> |
|
1059 |
<field name="product_qty"/> |
|
1421.1.13
by matthieu.choplin at msf
[IMP] utp-129: add domain on product_uom for Physical Inventories |
1060 |
<field name="product_uom" domain="[('uom_by_product', '=', product_id)]"/> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1061 |
<field name="hidden_perishable_mandatory" invisible="True" /> |
1062 |
<field name="hidden_batch_management_mandatory" invisible="True" /> |
|
1063 |
<field name="type_check" invisible="True" /> |
|
1064 |
<field name="lot_check" /> |
|
1065 |
<field name="exp_check" /> |
|
1066 |
<field name="kc_check" /> |
|
1067 |
<field name="ssl_check" invisible="True" /> |
|
1068 |
<field name="dg_check" /> |
|
1069 |
<field name="np_check" /> |
|
1070 |
<field name="comment" /> |
|
1016.9.23
by Quentin THEURET
UF-1066 [IMP] Physical inventories : Add product filters to fill lines |
1071 |
<field name="has_problem" invisible="True" /> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1072 |
<button name="%(stock.action_view_stock_inventory_line_split)d" |
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1073 |
string="Split inventory lines" |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1074 |
type="action" icon="terp-stock_effects-object-colorize" states="draft,confirm"/> |
1075 |
<field name="state" invisible="True"/> |
|
1076 |
</tree>
|
|
1077 |
<form string="Products "> |
|
1078 |
<field domain="[('usage','=','internal')]" name="location_id"/> |
|
1079 |
<newline/>
|
|
1080 |
<field context="location=location_id,uom=product_uom,to_date=parent.date" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom,parent.date)" domain="[('type','<>','service')]"/> |
|
1081 |
<field name="product_qty"/> |
|
1082 |
<field name="product_uom"/> |
|
1083 |
<group colspan="2" col="4"> |
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1084 |
<field name="prod_lot_id" /> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1085 |
<button name="%(stock.action_view_stock_inventory_line_split)d" |
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1086 |
string="Split inventory lines" |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1087 |
type="action" icon="terp-stock_effects-object-colorize"/> |
1088 |
</group>
|
|
1089 |
</form>
|
|
1090 |
</field>
|
|
1091 |
</page>
|
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1092 |
<page string="Posted Inventory"> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1093 |
<field colspan="2" name="move_ids" nolabel="1" widget="one2many_list" context="{'inventory_id':active_id}" attrs="{'readonly': [('state', '!=', 'draft')]}"> |
1094 |
<tree string="Stock Moves"> |
|
1095 |
<field name="product_id"/> |
|
1096 |
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/> |
|
1097 |
<field name="product_uom" string="UoM"/> |
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1098 |
<field name="prodlot_id" /> |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1099 |
<field name="reason_type_id" widget="selection" domain="[('is_inventory', '=', True)]" /> |
1394.7.2
by Quentin THEURET
UF-1707 [IMP] Remove some debug print |
1100 |
<button name="%(stock.track_line)d" string="Split in production" type="action" |
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1101 |
icon="terp-stock_effects-object-colorize" |
1102 |
attrs="{'invisible': [('prodlot_id','<>',False)]}" |
|
1103 |
states="draft,done,cancel" |
|
1140.1.1
by jf
Removed groups= in xml (except for group_multi_company and group_no_one) |
1104 |
context="{'inventory_id':parent.id}" /> |
1105 |
<field name="tracking_id"/> |
|
947.3.1
by Quentin THEURET
UF-1067 [IMP] Stock inventory : Make it readonly in validate state |
1106 |
<button name="%(stock.split_into)d" string="Put in a new pack" type="action" |
1107 |
icon="terp-stock_effects-object-colorize" |
|
1108 |
context="{'inventory_id':parent.id}" |
|
1109 |
states="draft,done,cancel"/> |
|
1110 |
<field name="location_id"/> |
|
1111 |
<field name="location_dest_id"/> |
|
1112 |
<field name="date" string="Date"/> |
|
1113 |
<field name="state" invisible="True"/> |
|
1114 |
</tree>
|
|
1115 |
</field>
|
|
1116 |
</page>
|
|
1117 |
</notebook>
|
|
1118 |
<group col="2" colspan="2"> |
|
1119 |
<field name="state"/> |
|
1120 |
</group>
|
|
1121 |
<group col="3" colspan="2"> |
|
1122 |
<button name="action_cancel_inventary" states="draft,confirm,done" string="Cancel Inventory" type="object" icon="gtk-cancel"/> |
|
1123 |
<button name="action_confirm" states="draft" string="Confirm Inventory" type="object" icon="gtk-apply"/> |
|
1124 |
<button name="action_done" states="confirm" string="Validate Inventory" type="object" icon="gtk-jump-to"/> |
|
1125 |
<button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/> |
|
1126 |
</group>
|
|
1127 |
</form>
|
|
1128 |
</field>
|
|
1129 |
</record>
|
|
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
1130 |
|
1229.1.1
by Quentin THEURET
UF-1488 [IMP] Remove the 'Update' button on product form view |
1131 |
<!-- Remove 'Update' button on product form -->
|
1132 |
<record id="product_form_remove_update_button" model="ir.ui.view"> |
|
1133 |
<field name="name">product.form.remove.update.button</field> |
|
1134 |
<field name="model">product.product</field> |
|
1229.1.2
by Quentin THEURET
UF-1488 [FIX] Product form : Add a priority on a view which removes the 'Update' button |
1135 |
<field name="priority">2</field> |
1229.1.1
by Quentin THEURET
UF-1488 [IMP] Remove the 'Update' button on product form view |
1136 |
<field name="type">form</field> |
1137 |
<field name="inherit_id" ref="stock.view_product_standard_price_form" /> |
|
1138 |
<field name="arch" type="xml"> |
|
1139 |
<xpath expr="//button[@string='Update']" position="replace" /> |
|
1140 |
</field>
|
|
1141 |
</record>
|
|
1142 |
||
1775.1.14
by Quentin THEURET
UTP-873 [IMP] Tender : Re-source the FO line if cancel the tender lines or the remove the tender |
1143 |
<record id="stock_picking_cancel_wizard" model="ir.ui.view"> |
1144 |
<field name="name">stock.picking.cancel.wizard</field> |
|
1145 |
<field name="model">stock.picking.cancel.wizard</field> |
|
1146 |
<field name="type">form</field> |
|
1147 |
<field name="arch" type="xml"> |
|
1148 |
<form string="Cancel Picking"> |
|
1775.1.28
by Quentin THEURET
UTP-872 [IMP] At OUT cancelation, if the OUT is linked to a FO/IR, the system asks the user to know if he wants to re-source the FO/IR lines |
1149 |
<group colspan="4" col="1"> |
1150 |
<html>
|
|
1151 |
<h4 style="text-align: center; margin: 10px">If you click on 'Cancel & Resource' button, all lines of this delivery OUT attached to a Field order or an Internal Request will be re-sourced. All lines or quantities already processed wouldn't be re-sourced.</h4> |
|
1152 |
</html>
|
|
1153 |
</group>
|
|
1154 |
<newline /> |
|
1775.1.14
by Quentin THEURET
UTP-873 [IMP] Tender : Re-source the FO line if cancel the tender lines or the remove the tender |
1155 |
<separator string="Actions" /> |
1156 |
<button name="just_cancel" string="Cancel only" type="object" icon="gtk-cancel" colspan="2" /> |
|
1157 |
<button name="cancel_and_resource" string="Cancel & Resource" type="object" icon="gtk-cancel" colspan="2" /> |
|
1158 |
</form>
|
|
1159 |
</field>
|
|
1160 |
</record>
|
|
1161 |
||
1775.1.41
by Quentin THEURET
UTP-872 [IMP] Add the possibility to cancel an line on draft PT and OUT. At line cancelation, a wizard asks the user if he wants to re-source the need |
1162 |
<record id="stock_move_cancel_wizard_form_view" model="ir.ui.view"> |
1163 |
<field name="name">stock.move.cancel.wizard.form.view</field> |
|
1164 |
<field name="model">stock.move.cancel.wizard</field> |
|
1165 |
<field name="type">form</field> |
|
1166 |
<field name="arch" type="xml"> |
|
1167 |
<form string="Cancel move"> |
|
1168 |
<group colspan="4" col="1"> |
|
1169 |
<html>
|
|
1170 |
<h4 style="text-align: center; margin: 10px">Would you re-source the need sourced by this stock move ?</h4> |
|
1171 |
</html>
|
|
1172 |
</group>
|
|
1173 |
<newline /> |
|
2067.1.1
by vg at tempo-consulting
UFTP-29 [FIX] INT line by line cancel, do not allow cancel and ressource if INT is comming from a PO->IN source flow. Only allow for an INT sourced from stock from IR.FO. Note: at header level INT C&R was already inhibated, but missing for line per line cancel |
1174 |
<field name="cancel_only" invisible="1" /> |
1775.1.41
by Quentin THEURET
UTP-872 [IMP] Add the possibility to cancel an line on draft PT and OUT. At line cancelation, a wizard asks the user if he wants to re-source the need |
1175 |
<separator string="Actions" colspan="4" /> |
2067.1.1
by vg at tempo-consulting
UFTP-29 [FIX] INT line by line cancel, do not allow cancel and ressource if INT is comming from a PO->IN source flow. Only allow for an INT sourced from stock from IR.FO. Note: at header level INT C&R was already inhibated, but missing for line per line cancel |
1176 |
<button name="just_cancel" string="Cancel Only" type="object" icon="gtk-execute" colspan="2" /> |
1177 |
<button name="cancel_and_resource" string="Cancel and Resource" type="object" icon="gtk-execute" colspan="2" |
|
1178 |
attrs="{'invisible': [('cancel_only', '=', True)]}" /> |
|
1775.1.41
by Quentin THEURET
UTP-872 [IMP] Add the possibility to cancel an line on draft PT and OUT. At line cancelation, a wizard asks the user if he wants to re-source the need |
1179 |
</form>
|
1180 |
</field>
|
|
1181 |
</record>
|
|
1182 |
||
559.31.5
by Quentin THEURET
UF-697 [MERGE] Merge lp:unifield-wm |
1183 |
</data>
|
1184 |
</openerp>
|