1 <?xml version="1.0" encoding="utf-8"?>
5 <menuitem icon="terp-stock" id="menu_stock_root" name="Warehouse" groups="group_stock_manager,group_stock_user" sequence="5"/>
6 <menuitem id="menu_stock_warehouse_mgmt" name="Warehouse Management" parent="menu_stock_root" sequence="1" groups="base.group_extended"/>
7 <menuitem id="menu_stock_products_moves" name="Products Moves" parent="menu_stock_root" sequence="2"/>
8 <menuitem id="menu_stock_product" name="Product" parent="menu_stock_root" sequence="6"/>
9 <menuitem action="product.product_normal_action" id="menu_stock_products_menu" parent="menu_stock_product" sequence="1"/>
10 <menuitem id="menu_stock_configuration" name="Configuration" parent="menu_stock_root" sequence="15" groups="group_stock_manager"/>
11 <menuitem id="menu_warehouse_config" name="Warehouse Management" parent="menu_stock_configuration" sequence="1" groups="group_stock_manager"/>
12 <menuitem id="menu_stock_inventory_control" name="Inventory Control" parent="menu_stock_root" sequence="4"/>
14 <record id="stock_inventory_line_tree" model="ir.ui.view">
15 <field name="name">stock.inventory.line.tree</field>
16 <field name="model">stock.inventory.line</field>
17 <field name="type">tree</field>
18 <field name="arch" type="xml">
19 <tree string="Stock Inventory Lines">
20 <field name="product_id"/>
21 <field name="product_qty"/>
22 <field name="product_uom"/>
23 <field name="prod_lot_id" groups="base.group_extended"/>
24 <button name="%(stock.action_view_stock_inventory_line_split)d"
25 string="Split inventory lines" groups="base.group_extended"
26 type="action" icon="gtk-justify-fill"/>
27 <field name="location_id"/>
31 <record id="view_inventory_line_form" model="ir.ui.view">
32 <field name="name">stock.inventory.line.form</field>
33 <field name="model">stock.inventory.line</field>
34 <field name="type">form</field>
35 <field name="arch" type="xml">
36 <form string="Stock Inventory Lines">
37 <field context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" select="1" domain="[('type','<>','service')]"/>
38 <field name="product_qty"/>
39 <field name="product_uom"/>
40 <field name="prod_lot_id" groups="base.group_extended"/>
41 <field colspan="4" domain="[('usage','=','internal')]" name="location_id" select="1"/>
42 <button name="%(stock.action_view_stock_inventory_line_split)d"
43 string="Split inventory lines" groups="base.group_extended"
44 type="action" icon="terp-stock_effects-object-colorize"/>
49 <record id="view_inventory_filter" model="ir.ui.view">
50 <field name="name">stock.inventory.filter</field>
51 <field name="model">stock.inventory</field>
52 <field name="type">search</field>
53 <field name="arch" type="xml">
54 <search string="Search Inventory">
55 <group col="10" colspan="4">
58 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
61 <group expand="0" string="Group By..." colspan="4" col="4" groups="base.group_extended">
62 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
63 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
70 <record id="view_inventory_tree" model="ir.ui.view">
71 <field name="name">stock.inventory.tree</field>
72 <field name="model">stock.inventory</field>
73 <field name="type">tree</field>
74 <field name="arch" type="xml">
75 <tree string="Lot Inventory" colors="grey:state in ('cancel')">
83 <record id="view_inventory_form" model="ir.ui.view">
84 <field name="name">stock.inventory.form</field>
85 <field name="model">stock.inventory</field>
86 <field name="type">form</field>
87 <field name="arch" type="xml">
88 <form string="Physical Inventory">
91 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
92 <notebook colspan="4">
93 <page string="General Informations">
94 <field colspan="4" name="inventory_line_id" nolabel="1" widget="one2many_list">
95 <tree string="Products" editable="bottom">
96 <field colspan="4" domain="[('usage','=','internal')]" name="location_id"/>
97 <field context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" domain="[('type','<>','service')]"/>
98 <field name="product_qty"/>
99 <field name="product_uom"/>
100 <field name="prod_lot_id" groups="base.group_extended"/>
101 <button name="%(stock.action_view_stock_inventory_line_split)d"
102 string="Split inventory lines" groups="base.group_extended"
103 type="action" icon="terp-stock_effects-object-colorize" states="draft"/>
104 <field name="state" invisible="True"/>
106 <form string="Products ">
107 <field domain="[('usage','=','internal')]" name="location_id"/>
109 <field colspan="4" context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" domain="[('type','<>','service')]"/>
110 <field name="product_qty"/>
111 <field name="product_uom"/>
112 <group colspan="2" col="4">
113 <field name="prod_lot_id" groups="base.group_extended"/>
114 <button name="%(stock.action_view_stock_inventory_line_split)d"
115 string="Split inventory lines" groups="base.group_extended"
116 type="action" icon="terp-stock_effects-object-colorize"/>
120 </page><page string="Posted Inventory" groups="base.group_extended">
121 <field colspan="2" name="move_ids" nolabel="1" readonly="1" widget="one2many_list">
122 <tree string="Stock Moves">
123 <field name="product_id"/>
124 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
125 <field name="product_uom" string="UoM"/>
126 <field name="prodlot_id" groups="base.group_extended"/>
127 <field name="location_id"/>
128 <field name="location_dest_id"/>
129 <field name="date" string="Date"/>
130 <field name="state" invisible="True"/>
135 <field name="state"/>
136 <group col="4" colspan="2">
137 <button name="action_cancel_inventary" states="draft" string="Cancel Inventory" type="object" icon="gtk-cancel"/>
138 <button name="action_done" states="draft" string="Confirm Inventory" type="object" icon="gtk-apply"/>
139 <button name="action_cancel" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/>
146 <record id="action_inventory_form" model="ir.actions.act_window">
147 <field name="name">Physical Inventories</field>
148 <field name="type">ir.actions.act_window</field>
149 <field name="res_model">stock.inventory</field>
150 <field name="view_type">form</field>
151 <field name="view_id" ref="view_inventory_tree"/>
152 <field name="context">{'full':'1'}</field>
153 <field name="search_view_id" ref="view_inventory_filter" />
154 <field name="help">The Periodical Inventories are used when you count your number of products available per location. You can use it, once a year, when you do the general inventory or, once you need it, to correct the current stock level of a product.</field>
156 <menuitem action="action_inventory_form" id="menu_action_inventory_form" parent="menu_stock_inventory_control" sequence="30"/>
158 <record id="action_inventory_form_draft" model="ir.actions.act_window">
159 <field name="name">Draft Physical Inventories</field>
160 <field name="type">ir.actions.act_window</field>
161 <field name="res_model">stock.inventory</field>
162 <field name="view_type">form</field>
163 <field name="domain">[('state','=','draft')]</field>
164 <field name="filter" eval="True"/>
167 <record id="view_tracking_form" model="ir.ui.view">
168 <field name="name">stock.tracking.form</field>
169 <field name="model">stock.tracking</field>
170 <field name="type">form</field>
171 <field name="arch" type="xml">
172 <form string="Packs">
173 <group col="2" colspan="2">
174 <separator string="Pack Identification" colspan="2"/>
176 <field name="serial"/>
178 <field name="active" groups="base.group_extended"/>
180 <group col="2" colspan="2">
181 <separator string="Traceability" colspan="4"/>
182 <button name="action_traceability" icon="gtk-go-up" string="Upstream traceability" type="object"
183 context="{'type': '','field': ''}" colspan="2"/>
184 <button name="action_traceability" icon="gtk-go-down" string="Downstream traceability" type="object"
185 context="{'type': 'move_history_ids','field': ''}" colspan="2"/>
187 <notebook colspan="4">
188 <page string="Stock Moves">
189 <field colspan="2" name="move_ids" nolabel="1"/>
195 <record id="view_tracking_tree" model="ir.ui.view">
196 <field name="name">stock.tracking.tree</field>
197 <field name="model">stock.tracking</field>
198 <field name="type">tree</field>
199 <field name="arch" type="xml">
200 <tree string="Packs">
202 <field name="serial"/>
207 <record id="action_tracking_form" model="ir.actions.act_window">
208 <field name="name">Packs</field>
209 <field name="type">ir.actions.act_window</field>
210 <field name="res_model">stock.tracking</field>
211 <field name="view_type">form</field>
212 <field name="view_id" ref="view_tracking_tree"/>
213 <field name="help">This is the list of all your packs. After having selected a Pack, you can get the up-stream or down-stream traceability of the products contained in the pack.</field>
215 <menuitem id="menu_traceability" name="Traceability" parent="menu_stock_root" sequence="3"/>
216 <menuitem action="action_tracking_form" id="menu_action_tracking_form"
217 groups="base.group_extended,group_stock_user"
218 parent="menu_traceability"/>
220 <record id="lot_line_tree" model="ir.ui.view">
221 <field name="name">stock.tracking.tree</field>
222 <field name="model">stock.tracking</field>
223 <field name="type">tree</field>
224 <field name="field_parent">child_ids</field>
225 <field name="arch" type="xml">
226 <tree colors="grey:not active" string="Packs">
227 <field name="name" />
228 <field name="serial" />
229 <field name="date" />
234 <record model="ir.ui.view" id="search_stock_packs">
235 <field name="name">Pack Search</field>
236 <field name="model">stock.tracking</field>
237 <field name="type">search</field>
238 <field name="arch" type="xml">
239 <search string="Pack Search">
240 <group col="10" colspan="4">
241 <field name="name" />
242 <field name="serial" />
243 <field name="date" />
244 <field name="active" groups="base.group_extended"/>
250 <record id="view_production_lot_revision_form" model="ir.ui.view">
251 <field name="name">stock.production.lot.revision.form</field>
252 <field name="model">stock.production.lot.revision</field>
253 <field name="type">form</field>
254 <field name="arch" type="xml">
255 <form string="Production Lot Revisions">
256 <field colspan="4" name="name"/>
257 <field colspan="2" name="indice"/>
258 <field colspan="2" name="date"/>
260 <field name="author_id" readonly="1"/>
262 <separator string="Description" colspan="4"/>
263 <field colspan="4" name="description" nolabel="1"/>
267 <record id="view_production_lot_revision_tree" model="ir.ui.view">
268 <field name="name">stock.production.lot.revision.tree</field>
269 <field name="model">stock.production.lot.revision</field>
270 <field name="type">tree</field>
271 <field name="arch" type="xml">
272 <tree string="Production Lot Revisions">
273 <field name="indice"/>
274 <field name="author_id"/>
280 <record id="view_production_lot_form" model="ir.ui.view">
281 <field name="name">stock.production.lot.form</field>
282 <field name="model">stock.production.lot</field>
283 <field name="type">form</field>
284 <field name="arch" type="xml">
285 <form string="Production Lot">
286 <group col="4" colspan="2">
287 <separator string="Production Lot Identification" colspan="4"/>
288 <field name="product_id" colspan="4"/>
289 <field name="prefix" colspan="2"/>
290 <field name="name" colspan="2"/>
291 <field name="ref" colspan="4"/>
292 <field name="date" colspan="4"/>
294 <group col="2" colspan="2">
295 <separator string="Traceability" colspan="4"/>
296 <field name="stock_available" colspan="4"/>
297 <button name="action_traceability" string="Upstream Traceability" type="object" context="{'type': '', 'field': 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
298 <button name="action_traceability" string="Downstream Traceability" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
300 <notebook colspan="4">
301 <page string="Revisions">
302 <field colspan="2" name="revisions" nolabel="1"/>
304 <page string="Stock Moves">
305 <field colspan="2" name="move_ids" nolabel="1" widget="one2many_list">
306 <tree string="Stock Moves">
307 <field name="picking_id" string="Reference"/>
308 <field name="origin"/>
309 <field name="partner_id"/>
310 <field name="product_id"/>
311 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
312 <field name="product_uom" string="UoM"/>
313 <field name="tracking_id"/>
315 <field name="prodlot_id" groups="base.group_extended"/>
316 <field name="location_id"/>
317 <field name="location_dest_id"/>
318 <field name="state"/>
326 <record id="view_production_lot_tree" model="ir.ui.view">
327 <field name="name">stock.production.lot.tree</field>
328 <field name="model">stock.production.lot</field>
329 <field name="type">tree</field>
330 <field name="arch" type="xml">
331 <tree string="Production Lot">
332 <field name="prefix" />
335 <field name="product_id"/>
336 <field name="stock_available"/>
342 <record model="ir.ui.view" id="search_product_lot_filter">
343 <field name="name">Production Lots Filter</field>
344 <field name="model">stock.production.lot</field>
345 <field name="type">search</field>
346 <field name="arch" type="xml">
347 <search string="Product Lots Filter">
348 <group col="10" colspan="4">
349 <filter icon="terp-check" name="available" string="Available" domain="[('stock_available', '>', 0)]" help="Available Product Lots" />
350 <separator orientation="vertical"/>
351 <field name="prefix"/>
354 <field name="product_id"/>
358 <group expand="0" string="Group By..." colspan="4" col="8">
359 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
365 <record id="action_production_lot_form" model="ir.actions.act_window">
366 <field name="name">Production Lots</field>
367 <field name="type">ir.actions.act_window</field>
368 <field name="res_model">stock.production.lot</field>
369 <field name="view_type">form</field>
370 <field name="view_id" ref="view_production_lot_tree"/>
371 <field name="search_view_id" ref="search_product_lot_filter" />
372 <field name="context">{'full':'1',"search_default_available":1}</field>
373 <field name="help">This is the list of all the production lots (serial numbers) you recorded. After having selected a lot, you can get the up-stream or down-stream traceability of the products contained in lot.</field>
375 <menuitem action="action_production_lot_form" id="menu_action_production_lot_form" parent="menu_traceability" groups="group_stock_user,group_stock_manager,base.group_extended"/>
378 # Lot composition (history)
380 <record id="stock_move_tree" model="ir.ui.view">
381 <field name="name">Stock Moves</field>
382 <field name="model">stock.move</field>
383 <field name="type">tree</field>
384 <field name="field_parent">move_history_ids</field>
385 <field name="arch" type="xml">
386 <tree colors="grey:state in ('cancel')" string="Moves">
387 <field name="product_id" />
388 <field name="product_qty" />
389 <field name="product_uom" string="UOM"/>
390 <field name="prodlot_id" groups="base.group_extended"/>
391 <field groups="base.group_extended" name="tracking_id"/>
392 <field name="product_packaging" domain="[('product_id','=',product_id)]" groups="base.group_extended"/>
393 <field name="picking_id"/>
394 <field name="location_id" />
395 <field name="location_dest_id" />
396 <field name="create_date"/>
397 <field name="date" string="Date"/>
398 <field name="date_expected" string="Date Expected"/>
399 <field name="state"/>
400 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
405 <record id="stock_move_tree2" model="ir.ui.view">
406 <field name="name">Stock Moves</field>
407 <field name="model">stock.move</field>
408 <field name="type">tree</field>
409 <field name="field_parent">move_history_ids2</field>
410 <field name="arch" type="xml">
411 <tree colors="grey:state in ('cancel')" string="Moves">
412 <field name="product_id" />
413 <field name="product_qty" />
414 <field name="product_uom" string="UOM"/>
415 <field name="prodlot_id" groups="base.group_extended"/>
416 <field groups="base.group_extended" name="tracking_id"/>
417 <field name="product_packaging" domain="[('product_id','=',product_id)]" groups="base.group_extended"/>
418 <field name="picking_id"/>
419 <field name="location_id" />
420 <field name="location_dest_id" />
421 <field name="create_date" />
422 <field name="date" string="Date"/>
423 <field name="date_expected" string="Date Expected"/>
424 <field name="state"/>
429 <record id="view_location_form" model="ir.ui.view">
430 <field name="name">stock.location.form</field>
431 <field name="model">stock.location</field>
432 <field name="type">form</field>
433 <field name="arch" type="xml">
434 <form string="Stock Location">
435 <group col="2" colspan="2">
436 <separator string="Location" colspan="2"/>
438 <field name="usage"/>
439 <field name="location_id"/>
441 <group col="4" colspan="2">
442 <separator string="Additional Information" colspan="4"/>
443 <field name="address_id" context="{'contact_display':'partner'}" colspan="4"/>
444 <field name="company_id" groups="base.group_multi_company" widget="selection" colspan="4"/>
445 <field name="icon" groups="base.group_extended" colspan="4"/>
446 <field name="scrap_location" groups="base.group_extended"/>
447 <field name="active" groups="base.group_extended"/>
449 <group col="2" colspan="2" groups="base.group_extended">
450 <separator string="Chained Locations" colspan="2"/>
451 <field name="chained_location_type"/>
452 <field name="chained_location_id"/>
453 <field name="chained_auto_packing"/>
454 <field name="chained_delay"/>
455 <field name="chained_journal_id"/>
456 <field name="chained_picking_type"/>
457 <field name="chained_company_id" widget="selection"/>
459 <group col="2" colspan="2">
460 <separator string="Localization" colspan="2"/>
465 <separator string="Additional Information" colspan="4"/>
466 <field colspan="4" name="comment" nolabel="1"/>
471 <record id="view_location_search" model="ir.ui.view">
472 <field name="name">stock.location.search</field>
473 <field name="model">stock.location</field>
474 <field name="type">search</field>
475 <field name="arch" type="xml">
476 <search string="Stock Locations">
477 <filter icon="terp-go-home" name="in_location"
478 string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations" />
479 <filter icon="terp-go-home" name="customer"
480 string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations" />
481 <filter icon="terp-go-home" name="supplier"
482 string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations" />
483 <separator orientation="vertical"/>
490 <record id="view_location_tree2" model="ir.ui.view">
491 <field name="name">stock.location.tree</field>
492 <field name="model">stock.location</field>
493 <field name="type">tree</field>
494 <field name="priority" eval="2"/>
495 <field name="arch" type="xml">
496 <tree string="Stock Location" colors="blue:usage=='view';darkred:usage=='internal'">
497 <field name="complete_name"/>
498 <field name="usage"/>
499 <field name="stock_real" invisible="'product_id' not in context"/>
500 <field name="stock_virtual" invisible="'product_id' not in context"/>
505 <record id="action_location_form" model="ir.actions.act_window">
506 <field name="name">Locations</field>
507 <field name="res_model">stock.location</field>
508 <field name="type">ir.actions.act_window</field>
509 <field name="view_type">form</field>
510 <field name="view_id" ref="view_location_tree2"/>
511 <field name="search_view_id" ref="view_location_search"/>
512 <field name="context">{'full':1, 'search_default_in_location':1}</field>
513 <field name="help">Define your locations in order to reflect to your warehouse structure and organization. OpenERP is able to manage physical locations (warehouses, shelves, bin, etc), partners location (customers, suppliers) and virtual locations which are the counter-part of the stock operations like the manufacturing orders consummations, the inventories, etc. Every stock operation in OpenERP moves the products from one location to another one. For instance, if you receive products from a supplier, OpenERP will move products from the Supplier location into the Stock location. Each report can be performed on physicals, partners or virtual locations.</field>
515 <menuitem action="action_location_form" id="menu_action_location_form" parent="menu_warehouse_config" groups="group_stock_manager"/>
517 <record id="view_location_tree" model="ir.ui.view">
518 <field name="name">stock.location.tree</field>
519 <field name="model">stock.location</field>
520 <field name="type">tree</field>
521 <field name="field_parent">child_ids</field>
522 <field name="arch" type="xml">
524 <field icon="icon" name="name"/>
528 <record id="action_location_tree" model="ir.actions.act_window">
529 <field name="name">Location Structure</field>
530 <field name="res_model">stock.location</field>
531 <field name="type">ir.actions.act_window</field>
532 <field name="domain">[('location_id','=',False)]</field>
533 <field name="view_type">tree</field>
534 <field name="view_id" ref="view_location_tree"/>
535 <field name="help">This is the structure of your company's warehouses and locations. You can click on a location in order to get the list of the products and their stock level in this particular location and all its children.</field>
537 <menuitem action="action_location_tree" id="menu_action_location_tree" parent="menu_stock_inventory_control" groups="base.group_extended,group_stock_manager" sequence="20"/>
539 <record id="view_warehouse" model="ir.ui.view">
540 <field name="name">stock.warehouse</field>
541 <field name="model">stock.warehouse</field>
542 <field name="type">form</field>
543 <field name="arch" type="xml">
544 <form string="Warehouse">
545 <field colspan="4" name="name" select="1"/>
546 <field name="lot_input_id"/>
547 <field name="lot_stock_id"/>
548 <field name="lot_output_id"/>
549 <field name="company_id" select="1" groups="base.group_multi_company" widget="selection"/>
551 <field name="partner_address_id" context="{'contact_display':'partner'}"/>
555 <record id="view_warehouse_tree" model="ir.ui.view">
556 <field name="name">stock.warehouse.tree</field>
557 <field name="model">stock.warehouse</field>
558 <field name="type">tree</field>
559 <field name="arch" type="xml">
560 <tree string="Warehouse">
562 <field name="lot_input_id"/>
563 <field name="lot_stock_id"/>
564 <field name="lot_output_id"/>
565 <field name="partner_address_id" context="{'contact_display':'partner'}"/>
569 <record id="action_warehouse_form" model="ir.actions.act_window">
570 <field name="name">Warehouses</field>
571 <field name="res_model">stock.warehouse</field>
572 <field name="type">ir.actions.act_window</field>
573 <field name="view_type">form</field>
574 <field name="view_id" ref="view_warehouse_tree"/>
575 <field name="help">Create and manage your warehouses and assign them a location from here</field>
577 <menuitem action="action_warehouse_form" id="menu_action_warehouse_form" parent="menu_warehouse_config" groups="group_stock_manager"/>
579 <record model="ir.ui.view" id="stock_picking_calendar">
580 <field name="name">stock.picking.calendar</field>
581 <field name="model">stock.picking</field>
582 <field name="type">calendar</field>
583 <field name="priority" eval="2"/>
584 <field name="arch" type="xml">
585 <calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="address_id">
586 <field name="origin"/>
588 <field name="address_id"/>
592 <record id="vpicktree" model="ir.ui.view">
593 <field name="name">stock.picking.tree</field>
594 <field name="model">stock.picking</field>
595 <field name="type">tree</field>
596 <field name="arch" type="xml">
597 <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
599 <field name="backorder_id" groups="base.group_extended"/>
600 <field name="origin"/>
602 <field name="min_date"/>
603 <field name="invoice_state"/>
604 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
605 <field name="state"/>
606 <button name="action_process" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
610 <record id="view_picking_form" model="ir.ui.view">
611 <field name="name">stock.picking.form</field>
612 <field name="model">stock.picking</field>
613 <field name="type">form</field>
614 <field eval="12" name="priority"/>
615 <field name="arch" type="xml">
616 <form string="Internal Picking list">
617 <group colspan="4" col="6">
618 <group colspan="4" col="4">
619 <field name="name" readonly="1"/>
620 <field name="origin"/>
621 <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
622 <field name="backorder_id" readonly="1" groups="base.group_extended"/>
624 <group colspan="2" col="2">
626 <field name="min_date" readonly="1"/>
627 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
630 <notebook colspan="4">
631 <page string="Products">
632 <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines}">
633 <tree colors="grey:scrapped == True" string="Stock Moves">
634 <field name="product_id"/>
635 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
636 <field name="product_uom" string="UoM"/>
637 <field name="product_uos" groups="product.product_uos"/>
638 <button name="%(stock.move_scrap)d"
639 string="Scrap Products" type="action"
640 icon="gtk-convert" context="{'scrap': True}"
641 states="draft,waiting,confirmed,assigned"
642 groups="base.group_extended"/>
643 <field name="scrapped" invisible="1"/>
644 <field name="prodlot_id" groups="base.group_extended"/>
646 name="%(stock.track_line)d"
647 string="Split in production lots"
648 groups="base.group_extended"
649 type="action" icon="terp-stock_effects-object-colorize"
650 states="draft,waiting,confirmed,assigned" />
651 <field groups="base.group_extended" name="tracking_id"/>
652 <button name="setlast_tracking" string="Put in current pack" type="object"
653 attrs="{'invisible': [('tracking_id','<>',False)]}"
654 icon="terp-stock_effects-object-colorize"
655 groups="base.group_extended"
656 states="draft,assigned,confirmed,done"/>
657 <button name="%(split_into)d" string="Put in a new pack" type="action"
658 groups="base.group_extended"
659 icon="terp-stock_effects-object-colorize"
660 states="draft,assigned,confirmed,done"/>
661 <field name="location_id"/>
662 <field name="location_dest_id"/>
663 <field name="date_expected" string="Date Expected"/>
664 <field name="state"/>
666 <form string="Stock Moves">
667 <group colspan="2" col="4">
668 <separator colspan="4" string="Move Information"/>
669 <field name="name" invisible="1" colspan="4"/>
670 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4"/>
671 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="3"/>
672 <button name="%(stock.move_scrap)d"
673 string="Scrap" type="action" groups="base.group_extended"
674 icon="gtk-convert" context="{'scrap': True}"
675 states="draft,waiting,confirmed,assigned" colspan="1"/>
676 <field name="product_uom" string="Unit Of Measure" widget="selection" colspan="4"/>
677 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
678 <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4"/>
679 <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4"/>
682 <group colspan="2" col="2">
683 <separator string="Locations" colspan="2" />
684 <field name="location_id" domain="[('usage','=','internal')]" />
685 <field name="location_dest_id" domain="[('usage','=','internal')]" />
688 <group colspan="2" col="2">
689 <separator string="Dates" colspan="2" />
690 <field name="create_date" invisible="1"/>
692 <field name="date_expected"/>
695 <group colspan="2" col="4" groups="base.group_extended">
696 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
697 <field name="tracking_id" groups="base.group_extended" colspan="3"/>
698 <button name="%(split_into)d" string="New pack" type="action"
699 groups="base.group_extended"
700 icon="terp-stock_effects-object-colorize"
701 states="draft,assigned,confirmed,done" colspan="1"/>
702 <field name="prodlot_id" groups="base.group_extended"
703 context="{'location_id':location_id, 'product_id':product_id}"
704 domain="[('product_id','=?',product_id)]"
705 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
706 <button name="%(track_line)d"
707 groups="base.group_extended"
708 states="draft,waiting,confirmed,assigned,done"
709 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1" />
711 <label string="" colspan="4"/>
712 <field name="state"/>
713 <group col="4" colspan="2">
714 <button name="action_cancel" states="assigned" string="Cancel" type="object" icon="gtk-cancel"/>
715 <button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/>
716 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
717 <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find"/>
721 <group col="10" colspan="4">
722 <field name="state" readonly="1"/>
723 <button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>
724 <button name="draft_force_assign" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
725 <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/>
726 <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/>
727 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
728 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
729 <button states="done" name="%(action_stock_invoice_onshipping)d" string="Create Invoice" type="action" icon="terp-gtk-go-back-rtl" attrs="{'invisible':[('invoice_state','!=','2binvoiced')]}"/>
732 <page string="Additional info" groups="base.group_extended,base.group_multi_company">
733 <field name="auto_picking" groups="base.group_extended"/>
734 <field name="invoice_state" groups="base.group_extended"/>
735 <field name="date_done" groups="base.group_extended"/>
736 <field name="move_type" groups="base.group_extended"/>
737 <field name="type" groups="base.group_extended"/>
738 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
740 <page string="Notes">
741 <field colspan="4" name="note" nolabel="1"/>
748 <record id="view_stock_picking_filter" model="ir.ui.view">
749 <field name="name">stock.picking.list.select</field>
750 <field name="model">stock.picking</field>
751 <field name="type">search</field>
752 <field name="arch" type="xml">
753 <search string="Search Stock Picking">
754 <group col="10" colspan="4">
755 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Available Pickings"/>
756 <filter icon="terp-camera_test" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Pickings"/>
757 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
758 <separator orientation="vertical"/>
759 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" groups="base.group_extended"/>
760 <separator orientation="vertical"/>
762 <field name="address_id"/>
763 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
766 <group expand="0" string="Group By..." colspan="4" col="8">
767 <filter string="Partner" icon="terp-personal" domain="[]" context="{'group_by':'address_id'}"/>
768 <separator orientation="vertical" />
769 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
770 <separator orientation="vertical" />
771 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
772 <separator orientation="vertical" />
773 <filter string="Journal" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
776 <group expand="0" string="Extended Filters..." colspan="4" col="8">
777 <filter icon="terp-dolar" name="to_invoice" string="To Invoice" domain="[('invoice_state','=','2binvoiced')]" help="Internal Pickings to invoice"/>
788 <record id="view_picking_out_tree" model="ir.ui.view">
789 <field name="name">stock.picking.out.tree</field>
790 <field name="model">stock.picking</field>
791 <field name="type">tree</field>
792 <field name="arch" type="xml">
793 <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string="Outgoing Deliveries">
795 <field name="partner_id"/>
796 <field name="origin"/>
798 <field name="min_date"/>
799 <field name="backorder_id" groups="base.group_extended"/>
800 <field name="invoice_state"/>
801 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
802 <field name="state"/>
803 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
807 <record id="view_picking_out_form" model="ir.ui.view">
808 <field name="name">stock.picking.out.form</field>
809 <field name="model">stock.picking</field>
810 <field name="type">form</field>
811 <field name="arch" type="xml">
812 <form string="Outgoing Deliveries">
813 <group col="6" colspan="4">
814 <group colspan="4" col="4">
815 <field name="name" readonly="1"/>
816 <field name="origin" readonly="1"/>
817 <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
818 <field name="invoice_state"/>
819 <field name="backorder_id" readonly="1" groups="base.group_extended"/>
821 <group colspan="2" col="2">
823 <field name="min_date" readonly="1"/>
824 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
827 <notebook colspan="4">
828 <page string="Products">
829 <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_out_id': address_id}" >
830 <tree colors="grey:scrapped==True" string="Stock Moves">
831 <field name="product_id"/>
832 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
833 <field name="product_uom" string="UoM"/>
834 <field name="product_uos" groups="product.product_uos"/>
835 <button name="%(stock.move_scrap)d"
836 string="Scrap Products" type="action"
837 icon="gtk-convert" context="{'scrap': True}"
838 states="draft,waiting,confirmed,assigned" />
839 <field name="scrapped" invisible="1"/>
840 <field name="prodlot_id" groups="base.group_extended"/>
841 <button name="%(track_line)d" string="Split in production lots" type="action"
842 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
843 states="draft,assigned,confirmed,done"
844 groups="base.group_extended"/>
845 <field name="tracking_id" groups="base.group_extended"/>
846 <button name="setlast_tracking" string="Put in current pack" type="object"
847 attrs="{'invisible': [('tracking_id','<>',False)]}"
848 groups="base.group_extended"
849 icon="terp-stock_effects-object-colorize"
850 states="draft,assigned,confirmed,done"/>
851 <button name="%(split_into)d" string="Put in a new pack" type="action"
852 icon="terp-stock_effects-object-colorize"
853 groups="base.group_extended"
854 states="draft,assigned,confirmed,done"/>
855 <field name="location_id"/>
857 <field name="state"/>
858 <button name="%(action_partial_move)d" string="Partial" type="action" states="confirmed,assigned" icon="gtk-justify-fill"/>
859 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
861 <form string="Stock Moves">
862 <group colspan="2" col="4">
863 <separator colspan="4" string="Move Information"/>
864 <field name="name" invisible="1" colspan="4" />
865 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
866 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="3" />
867 <button name="%(stock.move_scrap)d"
868 string="Scrap" type="action"
869 icon="gtk-convert" context="{'scrap': True}"
870 states="draft,waiting,confirmed,assigned" colspan="1" groups="base.group_extended"/>
871 <field name="product_uom" string="Unit Of Measure" widget="selection" colspan="4" />
872 <field name="product_uos_qty" groups="product.product_uos" colspan="4" />
873 <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4" />
874 <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4" />
877 <group colspan="2" col="2">
878 <separator string="Locations" colspan="2" />
879 <field name="location_id" domain="[('usage','=','internal')]" />
880 <field name="location_dest_id" domain="[('usage','<>','view')]" />
883 <group colspan="2" col="2">
884 <separator string="Dates" colspan="2" />
885 <field name="create_date" invisible="1"/>
887 <field name="date_expected"/>
890 <group colspan="2" col="4" groups="base.group_extended">
891 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
892 <field name="tracking_id" groups="base.group_extended" colspan="3" />
893 <button name="%(split_into)d" string="New pack" type="action"
894 groups="base.group_extended"
895 icon="terp-stock_effects-object-colorize"
896 states="draft,assigned,confirmed,done" colspan="1"/>
897 <field name="prodlot_id" groups="base.group_extended"
898 context="{'location_id':location_id, 'product_id':product_id}"
899 domain="[('product_id','=?',product_id)]"
900 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
901 <button name="%(track_line)d"
902 groups="base.group_extended"
903 states="draft,waiting,confirmed,assigned,done"
904 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1" />
906 <label string="" colspan="4"/>
907 <field name="state"/>
908 <group col="4" colspan="2">
909 <button name="action_cancel" states="assigned" string="Cancel" type="object" icon="gtk-cancel"/>
910 <button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/>
911 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
912 <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find"/>
916 <group col="10" colspan="4">
917 <field name="state" readonly="1"/>
918 <button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>
919 <button name="draft_force_assign" states="draft" string="Process Later" type="object" icon="gtk-ok"/>
920 <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-yes"/>
921 <button name="action_assign" states="confirmed" string="Check Availability" type="object" groups="base.group_extended" icon="gtk-find"/>
922 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
923 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
924 <button name="%(action_stock_invoice_onshipping)d" string="Create Invoice" states="done" type="action" icon="terp-gtk-go-back-rtl" attrs="{'invisible':[('invoice_state','!=','2binvoiced')]}"/>
927 <page string="Additional info" groups="base.group_extended,base.group_multi_company">
928 <field name="auto_picking" groups="base.group_extended"/>
929 <field name="date_done" groups="base.group_extended"/>
930 <field name="move_type" groups="base.group_extended"/>
931 <field name="type" groups="base.group_extended"/>
932 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
934 <page string="Notes">
935 <field colspan="4" name="note" nolabel="1"/>
942 <record id="view_picking_out_search" model="ir.ui.view">
943 <field name="name">stock.picking.out.search</field>
944 <field name="model">stock.picking</field>
945 <field name="type">search</field>
946 <field name="arch" type="xml">
947 <search string="Picking list">
948 <group col="8" colspan="4">
949 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Outgoing Deliveries"/>
950 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Outgoing Deliveries"/>
951 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Outgoing Deliveries already processed"/>
952 <separator orientation="vertical"/>
953 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" groups="base.group_extended"/>
954 <separator orientation="vertical"/>
955 <filter icon="terp-dolar" name="to_invoice" string="To Invoice" domain="[('invoice_state','=','2binvoiced')]" help="Outgoing Deliveries to invoice"/>
956 <separator orientation="vertical"/>
958 <field name="partner_id" />
959 <field name="origin"/>
960 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
961 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
964 <group expand="0" string="Group By..." colspan="4" col="8">
965 <filter string="Partner" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
966 <separator orientation="vertical" />
967 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
968 <separator orientation="vertical" />
969 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
970 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
971 <separator orientation="vertical" />
972 <filter string="Journal" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
978 <record id="action_picking_tree" model="ir.actions.act_window">
979 <field name="name">Outgoing Deliveries</field>
980 <field name="res_model">stock.picking</field>
981 <field name="type">ir.actions.act_window</field>
982 <field name="view_type">form</field>
983 <field name="view_mode">tree,form,calendar</field>
984 <field name="domain">[('type','=','out')]</field>
985 <field name="context">{'contact_display': 'partner_address', 'search_default_available': 1}</field>
986 <field name="search_view_id" ref="view_picking_out_search"/>
987 <field name="help">This is the list of all delivery orders that must be prepared, according to your different sales orders and your logistics rules.</field>
989 <record id="action_picking_tree_out_view1_waiting" model="ir.actions.act_window.view">
990 <field eval="1" name="sequence"/>
991 <field name="view_mode">tree</field>
992 <field name="view_id" ref="view_picking_out_tree"/>
993 <field name="act_window_id" ref="action_picking_tree"/>
995 <record id="action_picking_tree_out_view2_waiting" model="ir.actions.act_window.view">
996 <field eval="2" name="sequence"/>
997 <field name="view_mode">form</field>
998 <field name="view_id" ref="view_picking_out_form"/>
999 <field name="act_window_id" ref="action_picking_tree"/>
1001 <record id="action_picking_tree_out_view2_waiting_cal" model="ir.actions.act_window.view">
1002 <field eval="3" name="sequence"/>
1003 <field name="view_mode">calendar</field>
1004 <field name="act_window_id" ref="action_picking_tree"/>
1006 <menuitem action="action_picking_tree" id="menu_action_picking_tree" parent="menu_stock_warehouse_mgmt" sequence="3"/>
1008 <record id="view_picking_in_tree" model="ir.ui.view">
1009 <field name="name">stock.picking.in.tree</field>
1010 <field name="model">stock.picking</field>
1011 <field name="type">tree</field>
1012 <field name="arch" type="xml">
1013 <tree colors="blue:state in ('draft');grey:state in ('done');red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
1014 <field name="name"/>
1015 <field name="partner_id" />
1016 <field name="backorder_id" groups="base.group_extended"/>
1017 <field name="origin"/>
1018 <field name="date"/>
1019 <field name="min_date"/>
1020 <field name="invoice_state" groups="base.group_extended"/>
1021 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1022 <field name="state"/>
1023 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
1024 <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel" confirm="This operation will cancel the shipment. Do you want to continue?" />
1028 <record id="view_picking_in_form" model="ir.ui.view">
1029 <field name="name">stock.picking.in.form</field>
1030 <field name="model">stock.picking</field>
1031 <field name="type">form</field>
1032 <field name="arch" type="xml">
1033 <form string="Input Picking List">
1034 <group colspan="4" col="6">
1035 <group colspan="4" col="4">
1036 <field name="name" readonly="1"/>
1037 <field name="origin"/>
1038 <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
1039 <field name="invoice_state" string="Invoice Control"/>
1040 <field name="backorder_id" readonly="1" groups="base.group_extended"/>
1042 <group colspan="2" col="2">
1043 <field name="date"/>
1044 <field name="min_date" readonly="1"/>
1045 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1048 <notebook colspan="4">
1049 <page string="General Information">
1050 <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_in_id': address_id}" >
1051 <tree colors="grey:scrapped==True" string="Stock Moves">
1052 <field name="product_id" />
1053 <field name="product_qty" />
1054 <field name="product_uom" string="UoM" />
1055 <button name="%(stock.move_scrap)d"
1056 string="Scrap Products" type="action"
1057 icon="gtk-convert" context="{'scrap': True}"
1058 states="draft,waiting,confirmed,assigned"
1059 groups="base.group_extended"/>
1060 <field name="scrapped" invisible="1"/>
1061 <field name="prodlot_id" groups="base.group_extended"/>
1063 name="%(stock.track_line)d"
1064 string="Split in production lots"
1065 groups="base.group_extended"
1066 type="action" icon="terp-stock_effects-object-colorize"
1067 states="draft,waiting,confirmed,assigned" />
1068 <field name="tracking_id" groups="base.group_extended"/>
1069 <button name="setlast_tracking" string="Put in current pack" type="object"
1070 groups="base.group_extended"
1071 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('tracking_id','<>',False)]}"
1072 states="draft,assigned,confirmed,done"/>
1073 <button name="%(split_into)d" string="Put in a new pack" type="action"
1074 groups="base.group_extended"
1075 icon="terp-stock_effects-object-colorize"
1076 states="draft,assigned,confirmed"/>
1077 <field name="location_dest_id"/>
1078 <field name="state"/>
1080 <form string="Stock Moves">
1081 <group colspan="2" col="4">
1082 <separator colspan="4" string="Move Information"/>
1083 <field name="name" invisible="1" colspan="4"/>
1084 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4"/>
1085 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="3"/>
1086 <button name="%(stock.move_scrap)d"
1087 string="Scrap" type="action" groups="base.group_extended"
1088 icon="gtk-convert" context="{'scrap': True}"
1089 states="draft,waiting,confirmed,assigned" colspan="1"/>
1090 <field name="product_uom" string="Unit Of Measure" widget="selection" colspan="4"/>
1091 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1092 <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4"/>
1093 <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4"/>
1096 <group colspan="2" col="2">
1097 <separator string="Locations" colspan="2" />
1098 <field name="location_id" domain="[('usage','<>','view')]" />
1099 <field name="location_dest_id" domain="[('usage','=','internal')]" />
1102 <group colspan="2" col="2">
1103 <separator string="Dates" colspan="2" />
1104 <field name="create_date" invisible="1"/>
1105 <field name="date"/>
1106 <field name="date_expected"/>
1109 <group colspan="2" col="4" groups="base.group_extended">
1110 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1111 <field name="tracking_id" groups="base.group_extended" colspan="3" />
1112 <button name="%(split_into)d" string="New pack" type="action"
1113 groups="base.group_extended"
1114 icon="terp-stock_effects-object-colorize"
1115 states="draft,assigned,confirmed,done" colspan="1"/>
1116 <field name="prodlot_id" groups="base.group_extended"
1117 context="{'location_id':location_id, 'product_id':product_id}"
1118 domain="[('product_id','=?',product_id)]"
1119 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1120 <button name="%(track_line)d"
1121 groups="base.group_extended"
1122 states="draft,waiting,confirmed,assigned,done"
1123 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1" />
1125 <label string="" colspan="4"/>
1126 <field name="state"/>
1127 <group col="4" colspan="2">
1128 <button name="action_cancel" states="assigned" string="_Cancel" type="object" icon="gtk-cancel"/>
1129 <button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/>
1130 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
1131 <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find"/>
1135 <group col="10" colspan="4">
1136 <field name="state" readonly="1"/>
1137 <button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>
1138 <button name="draft_force_assign" states="draft" string="Process Later" type="object" icon="gtk-ok"/>
1139 <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/>
1140 <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/>
1141 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_extended" icon="gtk-jump-to"/>
1142 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
1143 <group colspan="1" states="done">
1144 <button name="%(action_stock_invoice_onshipping)d" string="Create Invoice" type="action" icon="terp-gtk-go-back-rtl" attrs="{'invisible':[('invoice_state','!=','2binvoiced')]}"/>
1148 <page string="Additional Info" groups="base.group_extended,base.group_multi_company">
1149 <field name="type" groups="base.group_extended"/>
1150 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1152 <page string="Notes">
1153 <field colspan="4" name="note" nolabel="1"/>
1160 <record id="view_picking_in_search" model="ir.ui.view">
1161 <field name="name">stock.picking.in.search</field>
1162 <field name="model">stock.picking</field>
1163 <field name="type">search</field>
1164 <field name="arch" type="xml">
1165 <search string="Incoming Shipments">
1166 <group col="8" colspan="4">
1167 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Incoming Shipments Available" />
1168 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Incoming Shipments already processed"/>
1169 <separator orientation="vertical" />
1170 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" groups="base.group_extended"/>
1171 <separator orientation="vertical"/>
1172 <field name="name"/>
1173 <field name="partner_id"/>
1174 <field name="origin"/>
1175 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1176 <field name="company_id" widget="selection" groups="base.group_multi_company" />
1179 <group expand="0" string="Group By..." colspan="4" col="8">
1180 <filter string="Partner" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
1181 <separator orientation="vertical" />
1182 <filter icon="terp-stock_effects-object-colorize" name="state" string="State" domain="[]" context="{'group_by':'state'}"/>
1183 <separator orientation="vertical" />
1184 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1185 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
1186 <separator orientation="vertical" />
1187 <filter string="Journal" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
1189 <group expand="0" string="Extended Filters..." colspan="4" col="8">
1190 <filter string="To invoice" name="to_invoice" icon="terp-dolar" domain="[('invoice_state', '=', '2binvoiced')]" />
1197 <record id="action_picking_tree4" model="ir.actions.act_window">
1198 <field name="name">Incoming Shipments</field>
1199 <field name="res_model">stock.picking</field>
1200 <field name="type">ir.actions.act_window</field>
1201 <field name="view_type">form</field>
1202 <field name="view_mode">tree,form,calendar</field>
1203 <field name="domain">[('type','=','in')]</field>
1204 <field name="context">{'contact_display': 'partner_address',"search_default_available":1}</field>
1205 <field name="search_view_id" ref="view_picking_in_search"/>
1206 <field name="help">The Incoming Shipments is the list of all orders you will receive from your supplier. An incoming shipment contains a list of products to be received according to the original purchase order. You can validate the shipment totally or partially.</field>
1208 <record id="action_invoice_tree5_view1" model="ir.actions.act_window.view">
1209 <field eval="1" name="sequence"/>
1210 <field name="view_mode">tree</field>
1211 <field name="view_id" ref="view_picking_in_tree"/>
1212 <field name="act_window_id" ref="action_picking_tree4"/>
1214 <record id="action_invoice_tree5_view2" model="ir.actions.act_window.view">
1215 <field eval="2" name="sequence"/>
1216 <field name="view_mode">form</field>
1217 <field name="view_id" ref="view_picking_in_form"/>
1218 <field name="act_window_id" ref="action_picking_tree4"/>
1220 <record id="action_invoice_tree5_view2_cal" model="ir.actions.act_window.view">
1221 <field eval="3" name="sequence"/>
1222 <field name="view_mode">calendar</field>
1223 <field name="act_window_id" ref="action_picking_tree4"/>
1225 <menuitem action="action_picking_tree4" id="menu_action_picking_tree4" parent="menu_stock_warehouse_mgmt" sequence="1"/>
1227 <record id="view_picking_internal_search" model="ir.ui.view">
1228 <field name="name">stock.picking.internal.search</field>
1229 <field name="model">stock.picking</field>
1230 <field name="type">search</field>
1231 <field name="arch" type="xml">
1232 <search string="Internal Picking List">
1233 <group col="8" colspan="4">
1234 <filter icon="terp-check" string="Available" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/>
1235 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
1236 <separator orientation="vertical"/>
1237 <field name="name"/>
1238 <field name="origin"/>
1239 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1240 <field name="company_id" widget="selection"/>
1243 <group expand="0" string="Group By..." colspan="4" col="8">
1244 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1245 <separator orientation="vertical"/>
1246 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1247 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
1248 <separator orientation="vertical"/>
1249 <filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
1250 <separator orientation="vertical" />
1251 <filter string="Journal" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
1257 <record id="action_picking_tree6" model="ir.actions.act_window">
1258 <field name="name">Internal Moves</field>
1259 <field name="res_model">stock.picking</field>
1260 <field name="type">ir.actions.act_window</field>
1261 <field name="view_type">form</field>
1262 <field name="view_mode">tree,form,calendar</field>
1263 <field name="domain">[('type','=','internal')]</field>
1264 <field name="context">{'contact_display': 'partner_address',"search_default_available":1}</field>
1265 <field name="search_view_id" ref="view_picking_internal_search"/>
1266 <field name="help">The Internal Moves lists all inventory operations you have to perform in your warehouse. All operations can be categorized into stock journals, so that each worker has it's own list of operations to perform in his own journal. Most operations are prepared automatically by OpenERP according to your pre-configured logistics rules but you can also record manual stock operations.</field>
1269 <record model="ir.actions.act_window.view" id="action_picking_tree6_tree_view">
1270 <field name="sequence" eval="1"/>
1271 <field name="view_mode">tree</field>
1272 <field name="view_id" ref="vpicktree"/>
1273 <field name="act_window_id" ref="action_picking_tree6"/>
1275 <record model="ir.actions.act_window.view" id="action_picking_tree6_form_view">
1276 <field name="sequence" eval="2"/>
1277 <field name="view_mode">form</field>
1278 <field name="view_id" ref="view_picking_form"/>
1279 <field name="act_window_id" ref="action_picking_tree6"/>
1284 <menuitem action="action_picking_tree6" id="menu_action_picking_tree6" parent="menu_stock_warehouse_mgmt" sequence="2"/>
1286 <record id="view_move_tree" model="ir.ui.view">
1287 <field name="name">stock.move.tree</field>
1288 <field name="model">stock.move</field>
1289 <field name="type">tree</field>
1290 <field eval="6" name="priority"/>
1291 <field name="arch" type="xml">
1292 <tree colors="grey:state in ('cancel');red:(state not in ('cancel','done')) and date > current_date" string="Moves" editable="top">
1293 <field name="picking_id" string="Reference"/>
1294 <field name="origin"/>
1295 <field name="create_date" invisible="1"/>
1296 <field name="partner_id"/>
1297 <field name="product_id"/>
1298 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1299 <field name="product_uom" string="UoM"/>
1300 <field name="product_uos" groups="product.product_uos"/>
1301 <button name="%(stock.move_scrap)d"
1302 string="Scrap Products" type="action"
1303 icon="gtk-convert" context="{'scrap': True}"
1304 states="draft,waiting,confirmed,assigned"
1305 groups="base.group_extended"/>
1306 <field name="prodlot_id" groups="base.group_extended"/>
1307 <button name="%(track_line)d" string="Split in production lots" type="action"
1308 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
1309 states="draft,waiting,confirmed,assigned,done"
1310 context="{'default_use_exist': picking_id.type=='in'}"
1311 groups="base.group_extended"/>
1312 <field groups="base.group_extended" name="tracking_id"/>
1313 <button name="setlast_tracking" string="Put in current pack" type="object"
1314 groups="base.group_extended"
1315 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('tracking_id','<>',False)]}"
1316 states="draft,assigned,confirmed,done"/>
1317 <button name="%(split_into)d" string="Put in a new pack" type="action"
1318 groups="base.group_extended"
1319 icon="terp-stock_effects-object-colorize"
1320 states="draft,assigned,confirmed,done"/>
1321 <field name="location_id"/>
1322 <field name="location_dest_id"/>
1323 <field name="date"/>
1324 <field name="date_expected"/>
1325 <field name="state"/>
1326 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1331 <!-- <menuitem id="menu_traceability_low" name="Low Level" parent="menu_traceability"/> -->
1333 <record id="view_move_form" model="ir.ui.view">
1334 <field name="name">stock.move.form</field>
1335 <field name="model">stock.move</field>
1336 <field name="type">form</field>
1337 <field eval="4" name="priority"/>
1338 <field name="arch" type="xml">
1339 <form string="Stock Moves">
1340 <group colspan="4" col="7">
1341 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1342 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1343 <field name="product_uom" string="Unit Of Measure" widget="selection"/>
1344 <button name="%(stock.move_scrap)d" groups="base.group_extended"
1345 string="Scrap" type="action"
1346 icon="gtk-convert" context="{'scrap': True}"
1347 states="draft,waiting,confirmed,assigned" colspan="1"/>
1349 <field name="location_id" context="{'full':True}"/>
1350 <field name="location_dest_id" context="{'full':True}"/>
1351 <field name="address_id" context="{'contact_display':'partner'}"/>
1354 <group colspan="2" col="2">
1355 <separator colspan="2" string="Move Information"/>
1356 <field name="name" string="Reason"/>
1357 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1358 <field name="product_uos" groups="product.product_uos" colspan="4"/>
1361 <group colspan="2" col="2">
1362 <separator string="Picking" colspan="2" />
1363 <field name="picking_id"/>
1364 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1367 <group colspan="2" col="2">
1368 <separator string="Dates" colspan="2" />
1369 <field name="create_date" groups="base.group_extended"/>
1370 <field name="date" groups="base.group_extended"/>
1371 <field name="date_expected"/>
1374 <group colspan="2" col="4" groups="base.group_extended">
1375 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1376 <field name="tracking_id" colspan="3" groups="base.group_extended"/>
1377 <button name="%(split_into)d" string="New pack" type="action"
1378 groups="base.group_extended"
1379 icon="terp-stock_effects-object-colorize"
1380 states="draft,assigned,confirmed,done" colspan="1"/>
1381 <field name="prodlot_id" groups="base.group_extended"
1382 context="{'location_id':location_id, 'product_id':product_id}"
1383 domain="[('product_id','=?',product_id)]"
1384 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1385 <button name="%(track_line)d"
1386 groups="base.group_extended"
1387 states="draft,waiting,confirmed,assigned,done"
1388 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1"/>
1391 <separator colspan="4"/>
1392 <field name="state"/>
1393 <group col="4" colspan="2">
1394 <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
1395 <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
1396 <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1397 <button name="action_done" states="draft,assigned,confirmed" string="Process Now" type="object" icon="gtk-jump-to"/>
1403 <record id="view_move_search" model="ir.ui.view">
1404 <field name="name">stock.move.search</field>
1405 <field name="model">stock.move</field>
1406 <field name="type">search</field>
1407 <field eval="3" name="priority"/>
1408 <field name="arch" type="xml">
1409 <search string="Stock Moves">
1410 <group col="14" colspan="4">
1411 <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"/>
1412 <separator orientation="vertical"/>
1413 <filter icon="terp-check" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1414 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1415 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1416 <separator orientation="vertical"/>
1417 <field name="product_id"/>
1418 <field name="location_id" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1419 <field name="address_id" string="Partner" context="{'contact_display':'partner'}" filter_domain="[('picking_id.address_id','ilike',self)]"/>
1420 <field name="date"/>
1423 <group expand="0" string="Extended Filters..." colspan="4" col="8">
1424 <field name="origin"/>
1425 <field name="picking_id"/>
1426 <field name="prodlot_id"/>
1427 <field name="tracking_id"/>
1428 <field name="state"/>
1431 <group expand="0" string="Group By..." colspan="4" col="8">
1432 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1433 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1434 <filter string="Lot" name="groupby_prodlot_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'prodlot_id'}"/>
1435 <filter string="Pack" name="groupby_tracking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'tracking_id'}"/>
1436 <separator orientation="vertical"/>
1437 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}"/>
1438 <filter string="Destination" name="groupby_dest_location_id" icon="terp-gtk-jump-to-ltr" domain="[]" context="{'group_by':'location_dest_id'}"/>
1439 <separator orientation="vertical"/>
1440 <filter icon="terp-stock_effects-object-colorize" string="State" domain="[]" context="{'group_by':'state'}" />
1441 <separator orientation="vertical"/>
1442 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/>
1443 <filter string="Expected" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1449 <record id="action_move_form2" model="ir.actions.act_window">
1450 <field name="name">Stock Moves</field>
1451 <field name="res_model">stock.move</field>
1452 <field name="type">ir.actions.act_window</field>
1453 <field name="view_type">form</field>
1454 <field name="view_id" ref="view_move_tree"/>
1455 <field name="search_view_id" ref="view_move_search"/>
1456 <field name="context">{'search_default_Available':1}</field>
1457 <field name="help">This menu gives you the full traceability of inventory operations made on a specific product. You can filter on the product to see all the past or future movements made on the product.</field>
1459 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="1"/>
1461 ====================================
1462 Reception Picking (By Stock Move)
1463 ====================================
1465 <record id="view_move_tree_reception_picking" model="ir.ui.view">
1466 <field name="name">stock.move.tree2</field>
1467 <field name="model">stock.move</field>
1468 <field name="type">tree</field>
1469 <field eval="6" name="priority"/>
1470 <field name="arch" type="xml">
1471 <tree colors="grey:state in ('cancel')" string="Moves">
1472 <field name="picking_id" string="Reference"/>
1473 <field name="origin"/>
1474 <field name="partner_id" string="Partner"/>
1475 <field name="product_id"/>
1476 <field name="product_qty" />
1477 <field name="product_uom" string="UoM"/>
1478 <button name="%(stock.move_scrap)d"
1479 string="Scrap Products" type="action"
1480 icon="gtk-convert" context="{'scrap': True}"
1481 states="draft,waiting,confirmed,assigned" groups="base.group_extended"/>
1482 <field name="prodlot_id" groups="base.group_extended"/>
1483 <button name="%(track_line)d" string="Split in production lots" type="action"
1484 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
1485 states="draft,waiting,confirmed,assigned,done"
1486 context="{'default_use_exist': picking_id.type=='in'}"
1487 groups="base.group_extended"/>
1488 <field name="tracking_id" groups="base.group_extended"/>
1489 <button name="setlast_tracking" string="Put in current pack" type="object"
1490 attrs="{'invisible': [('tracking_id','<>',False)]}"
1491 groups="base.group_extended"
1492 icon="terp-stock_effects-object-colorize"
1493 states="draft,assigned,confirmed,done"/>
1494 <button name="%(split_into)d" string="Put in a new pack" type="action"
1495 groups="base.group_extended"
1496 icon="terp-stock_effects-object-colorize"
1497 states="draft,assigned,confirmed,done"/>
1498 <field name="date"/>
1499 <field name="state"/>
1500 <button name="action_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1501 <button name="%(action_partial_move)d" string="Partial" type="action" states="confirmed,assigned" icon="gtk-justify-fill"/>
1502 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1507 <record id="view_move_tree_reception_picking_board" model="ir.ui.view">
1508 <field name="name">stock.move.tree3</field>
1509 <field name="model">stock.move</field>
1510 <field name="type">tree</field>
1511 <field eval="6" name="priority"/>
1512 <field name="arch" type="xml">
1513 <tree string="Moves">
1514 <field name="picking_id" string="Reference"/>
1515 <field name="partner_id" string="Partner"/>
1516 <field name="product_id"/>
1517 <field name="product_qty" />
1518 <field name="product_uom" string="UoM"/>
1519 <field name="date"/>
1520 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1525 <record id="view_move_form_reception_picking" model="ir.ui.view">
1526 <field name="name">stock.move.form2</field>
1527 <field name="model">stock.move</field>
1528 <field name="type">form</field>
1529 <field eval="6" name="priority"/>
1530 <field name="arch" type="xml">
1531 <form string="Receive Products">
1532 <group colspan="4" col="7">
1533 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1534 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1535 <field name="product_uom" string="Unit Of Measure" widget="selection"/>
1536 <button name="%(stock.move_scrap)d" groups="base.group_extended"
1537 string="Scrap" type="action"
1538 icon="gtk-convert" context="{'scrap': True}"
1539 states="draft,waiting,confirmed,assigned" colspan="1"/>
1541 <field name="location_id" context="{'full':True}"/>
1542 <field name="location_dest_id" context="{'full':True}"/>
1543 <field name="address_id" context="{'contact_display':'partner'}"/>
1546 <group colspan="2" col="2">
1547 <separator colspan="2" string="Move Information"/>
1548 <field name="name" string="Reason"/>
1549 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1550 <field name="product_uos" groups="product.product_uos" colspan="4"/>
1553 <group colspan="2" col="2">
1554 <separator string="Picking" colspan="2" />
1555 <field name="picking_id"/>
1556 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1559 <group colspan="2" col="2">
1560 <separator string="Dates" colspan="2" />
1561 <field name="create_date" groups="base.group_extended"/>
1562 <field name="date" groups="base.group_extended"/>
1563 <field name="date_expected"/>
1566 <group colspan="2" col="4" groups="base.group_extended">
1567 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1568 <field name="tracking_id" colspan="3" groups="base.group_extended"/>
1569 <button name="%(split_into)d" string="New pack" type="action"
1570 groups="base.group_extended"
1571 icon="terp-stock_effects-object-colorize"
1572 states="draft,assigned,confirmed,done" colspan="1"/>
1573 <field name="prodlot_id" groups="base.group_extended"
1574 context="{'location_id':location_id, 'product_id':product_id}"
1575 domain="[('product_id','=?',product_id)]"
1576 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1577 <button name="%(track_line)d"
1578 groups="base.group_extended"
1579 states="draft,waiting,confirmed,assigned,done"
1580 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1"/>
1583 <separator colspan="4"/>
1584 <field name="state"/>
1585 <group col="5" colspan="2">
1586 <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
1587 <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
1588 <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1589 <button name="%(action_partial_move)d" states="assigned" string="Partial" type="action" icon="gtk-justify-fill"/>
1590 <button name="action_done" states="draft,assigned,confirmed" string="Process Now" type="object" icon="gtk-jump-to"/>
1596 <record id="view_move_search_reception_incoming_picking" model="ir.ui.view">
1597 <field name="name">stock.move.incoming.search2</field>
1598 <field name="model">stock.move</field>
1599 <field name="type">search</field>
1600 <field eval="6" name="priority"/>
1601 <field name="arch" type="xml">
1602 <search string="Stock Moves">
1603 <group col="8" colspan="4">
1604 <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 planned for today"/>
1605 <separator orientation="vertical"/>
1606 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1607 <filter icon="terp-check" name="received" string="Done" domain="[('state','=','done')]"/>
1608 <separator orientation="vertical"/>
1609 <field name="origin"/>
1610 <field name="partner_id" string="Partner"/>
1611 <field name="product_id"/>
1614 <group expand="0" string="Group By..." colspan="4" col="8">
1615 <filter string="Supplier" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'partner_id'}"/>
1616 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1617 <separator orientation="vertical"/>
1618 <filter string="Order" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'origin'}"/>
1619 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1620 <separator orientation="vertical"/>
1621 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
1624 <group expand="0" string="Extended options..." groups="base.group_extended">
1625 <field name="tracking_id" context="{'tracking': self}" filter_domain="[]" />
1631 <record id="view_move_search_reception_outcoming_picking" model="ir.ui.view">
1632 <field name="name">stock.move.outgoing.search2</field>
1633 <field name="model">stock.move</field>
1634 <field name="type">search</field>
1635 <field eval="6" name="priority"/>
1636 <field name="arch" type="xml">
1637 <search string="Stock Moves">
1638 <group col="8" colspan="4">
1639 <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 planned for today"/>
1640 <separator orientation="vertical"/>
1641 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1642 <filter icon="terp-check" name="received" string="Done" domain="[('state','=','done')]"/>
1643 <separator orientation="vertical"/>
1644 <field name="origin"/>
1645 <field name="partner_id" string="Partner"/>
1646 <field name="product_id"/>
1649 <group expand="0" string="Group By..." colspan="4" col="8">
1650 <filter string="Customer" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'partner_id'}"/>
1651 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1652 <separator orientation="vertical"/>
1653 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1654 <filter string="Order" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'origin'}"/>
1655 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1656 <separator orientation="vertical"/>
1657 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
1660 <group expand="0" string="Extended options..." groups="base.group_extended">
1661 <field name="tracking_id" context="{'tracking': self}" filter_domain="[]" />
1667 <record id="action_reception_picking_move" model="ir.actions.act_window">
1668 <field name="name">Receive Products</field>
1669 <field name="res_model">stock.move</field>
1670 <field name="type">ir.actions.act_window</field>
1671 <field name="view_type">form</field>
1672 <field name="view_mode">tree,form</field>
1673 <field name="domain">['|','&',('picking_id','=',False),('location_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','in')]</field>
1674 <field name="view_id" ref="view_move_tree_reception_picking"/>
1675 <field name="context" eval="'{\'search_default_receive\':1, \'default_location_id\':%d, \'default_location_dest_id\':%d}' % (ref('stock_location_suppliers'),ref('stock_location_stock'))"/>
1676 <field name="search_view_id" ref="view_move_search_reception_incoming_picking"/>
1677 <field name="help">You will find here the list of all products you are waiting for, according to your preceding purchase orders. Once you receive an order, you can filter based on the name of the supplier or the purchase order reference. Then you can confirm all products received using the buttons on the right of each line.</field>
1680 <record model="ir.actions.act_window.view" id="action_move_reception_picking_tree">
1681 <field name="sequence" eval="1"/>
1682 <field name="view_mode">tree</field>
1683 <field name="view_id" ref="view_move_tree_reception_picking"/>
1684 <field name="act_window_id" ref="action_reception_picking_move"/>
1686 <record model="ir.actions.act_window.view" id="action_move_reception_picking_form">
1687 <field name="sequence" eval="2"/>
1688 <field name="view_mode">form</field>
1689 <field name="view_id" ref="view_move_form_reception_picking"/>
1690 <field name="act_window_id" ref="action_reception_picking_move"/>
1693 # -------------------------------------------------------------
1695 # -------------------------------------------------------------
1696 <record id="view_incoterms_tree" model="ir.ui.view">
1697 <field name="name">stock.incoterms.tree</field>
1698 <field name="model">stock.incoterms</field>
1699 <field name="type">tree</field>
1700 <field name="arch" type="xml">
1701 <tree string="Incoterms">
1702 <field name="code"/>
1703 <field colspan="4" name="name"/>
1707 <record id="stock_incoterms_form" model="ir.ui.view">
1708 <field name="name">stock.incoterms.form</field>
1709 <field name="model">stock.incoterms</field>
1710 <field name="type">form</field>
1711 <field name="arch" type="xml">
1712 <form string="Incoterms">
1713 <field colspan="4" name="name" select="1"/>
1714 <field name="code" select="1"/>
1715 <field name="active" select="1"/>
1719 <record id="action_incoterms_tree" model="ir.actions.act_window">
1720 <field name="name">Incoterms</field>
1721 <field name="res_model">stock.incoterms</field>
1722 <field name="type">ir.actions.act_window</field>
1723 <field name="view_type">form</field>
1724 <field name="view_mode">tree,form</field>
1728 context="{'location': active_id}"
1729 domain="[('type','<>','service')]"
1730 id="act_product_location_open"
1732 res_model="product.product"
1733 src_model="stock.location"/>
1736 context="{'location': active_id, 'search_default_done': 1,'search_default_product_id': [active_id]}"
1737 id="act_product_stock_move_open"
1739 res_model="stock.move"
1740 src_model="product.product"/>
1743 domain="[('move_lines','in',[active_id])]"
1744 id="act_relate_picking"
1745 name="Related Picking"
1746 res_model="stock.picking"
1747 src_model="stock.move"/>
1750 context="{'location': active_id, 'search_default_future': 1,'search_default_product_id': [active_id]}"
1751 domain="[('state','in',('waiting','confirmed','assigned'))]"
1752 id="act_product_stock_move_futur_open"
1753 name="Future Stock Moves"
1754 res_model="stock.move"
1755 src_model="product.product"
1756 groups="base.group_extended"/>
1758 <record id="ir_act_product_location_open" model="ir.values">
1759 <field name="key2">tree_but_open</field>
1760 <field name="model">stock.location</field>
1761 <field name="name">Products</field>
1762 <field eval="'ir.actions.act_window,%d'%act_product_location_open" name="value"/>
1763 <field eval="True" name="object"/>
1767 <record id="ir_act_product_location_open" model="ir.values">
1768 <field name="key2">tree_but_open</field>
1769 <field name="model">stock.location</field>
1770 <field name="name">Open Products</field>
1771 <field eval="'ir.actions.act_window,%d'%action_view_stock_location_product" name="value"/>
1772 <field eval="True" name="object"/>
1774 <record id="action_picking_tree_out" model="ir.actions.act_window">
1775 <field name="name">Customers Packings</field>
1776 <field name="res_model">stock.picking</field>
1777 <field name="type">ir.actions.act_window</field>
1778 <field name="view_type">form</field>
1779 <field name="view_mode">tree,form,calendar</field>
1780 <field name="domain">[('type','=','out')]</field>
1781 <field name="context">{'contact_display': 'partner',"search_default_available":1}</field>
1782 <field name="search_view_id" ref="view_picking_in_search"/>
1784 <record id="action_invoice_tree5_out" model="ir.actions.act_window.view">
1785 <field eval="1" name="sequence"/>
1786 <field name="view_mode">tree</field>
1787 <field name="view_id" ref="view_picking_in_tree"/>
1788 <field name="act_window_id" ref="action_picking_tree_out"/>
1790 <record id="action_invoice_tree5_view2_out" model="ir.actions.act_window.view">
1791 <field eval="2" name="sequence"/>
1792 <field name="view_mode">form</field>
1793 <field name="view_id" ref="view_picking_in_form"/>
1794 <field name="act_window_id" ref="action_picking_tree_out"/>
1796 <record id="action_invoice_tree5_viewout_cal" model="ir.actions.act_window.view">
1797 <field eval="3" name="sequence"/>
1798 <field name="view_mode">calendar</field>
1799 <field name="act_window_id" ref="action_picking_tree_out"/>
1802 <record id="action_out_picking_move" model="ir.actions.act_window">
1803 <field name="name">Deliver Products</field>
1804 <field name="res_model">stock.move</field>
1805 <field name="type">ir.actions.act_window</field>
1806 <field name="view_type">form</field>
1807 <field name="view_mode">tree,form</field>
1808 <field name="domain">['|','&',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','out')]</field>
1809 <field name="view_id" ref="view_move_tree_reception_picking"/>
1810 <field name="context" eval="'{\'search_default_receive\':1, \'default_location_id\':%d, \'default_location_dest_id\':%d}' % (ref('stock_location_stock'),ref('stock_location_customers'))"/>
1811 <field name="search_view_id" ref="view_move_search_reception_outcoming_picking"/>
1812 <field name="help">The 'Deliver Products' menu lists all products you have to deliver to your customers. You can process the deliveries directly from this list, line by or line or through the Delivery Orders menu.</field>
1815 <record model="ir.actions.act_window.view" id="action_move_out_picking_tree">
1816 <field name="sequence" eval="1"/>
1817 <field name="view_mode">tree</field>
1818 <field name="view_id" ref="view_move_tree_reception_picking"/>
1819 <field name="act_window_id" ref="action_out_picking_move"/>
1821 <record model="ir.actions.act_window.view" id="action_move_out_picking_form">
1822 <field name="sequence" eval="2"/>
1823 <field name="view_mode">form</field>
1824 <field name="view_id" ref="view_move_form"/>
1825 <field name="act_window_id" ref="action_out_picking_move"/>
1828 <menuitem action="action_reception_picking_move" id="menu_action_pdct_in" parent="menu_stock_products_moves" sequence="1"/>
1829 <menuitem action="action_out_picking_move" id="menu_action_pdct_out" parent="menu_stock_products_moves" sequence="2"/>
1832 <record id="view_stock_journal_filter" model="ir.ui.view">
1833 <field name="name">stock.journal.filter</field>
1834 <field name="model">stock.journal</field>
1835 <field name="type">search</field>
1836 <field name="arch" type="xml">
1837 <search string="Stock Journal">
1838 <field name="name"/>
1839 <field name="user_id"/>
1843 <record model="ir.ui.view" id="view_stock_journal_tree">
1844 <field name="name">Stock Journals</field>
1845 <field name="model">stock.journal</field>
1846 <field name="type">tree</field>
1847 <field name="arch" type="xml">
1848 <tree string="Stock Journal">
1849 <field name="name"/>
1850 <field name="user_id"/>
1854 <record model="ir.ui.view" id="view_stock_journal_form">
1855 <field name="name">Stock Journals</field>
1856 <field name="model">stock.journal</field>
1857 <field name="type">form</field>
1858 <field name="arch" type="xml">
1859 <form string="Stock Journal">
1860 <field name="name"/>
1861 <field name="user_id"/>
1865 <record id="action_stock_journal_form" model="ir.actions.act_window">
1866 <field name="name">Stock Journals</field>
1867 <field name="res_model">stock.journal</field>
1868 <field name="type">ir.actions.act_window</field>
1869 <field name="view_type">form</field>
1870 <field name="help">The stock journals system allows you assign each stock operation into a specific journal according to the type of operation to perform or the worker/team that should perform the operation. Examples of stock journals may be: quality control, pick lists, packing, etc.</field>
1873 action="action_stock_journal_form"
1874 id="menu_action_stock_journal_form"
1875 groups="group_stock_manager,base.group_extended"
1876 parent="menu_warehouse_config" />