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" attrs="{'required':[('chained_location_type','=','fixed')]}"/>
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-personal" name="customer"
480 string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations" />
481 <filter icon="terp-personal" 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" />
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"/>
761 <filter icon="terp-dolar" name="to_invoice" string="To Invoice" domain="[('invoice_state','=','2binvoiced')]" help="Internal Pickings to invoice"/>
762 <separator orientation="vertical"/>
764 <field name="address_id"/>
765 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
768 <group expand="0" string="Group By..." colspan="4" col="8">
769 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'address_id'}"/>
770 <separator orientation="vertical" />
771 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
772 <separator orientation="vertical" />
773 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
774 <separator orientation="vertical" />
775 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
786 <record id="view_picking_out_tree" model="ir.ui.view">
787 <field name="name">stock.picking.out.tree</field>
788 <field name="model">stock.picking</field>
789 <field name="type">tree</field>
790 <field name="arch" type="xml">
791 <tree colors="blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string="Outgoing Deliveries">
793 <field name="partner_id"/>
794 <field name="origin"/>
796 <field name="min_date"/>
797 <field name="backorder_id" groups="base.group_extended"/>
798 <field name="invoice_state"/>
799 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
800 <field name="state"/>
801 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
805 <record id="view_picking_out_form" model="ir.ui.view">
806 <field name="name">stock.picking.out.form</field>
807 <field name="model">stock.picking</field>
808 <field name="type">form</field>
809 <field name="arch" type="xml">
810 <form string="Outgoing Deliveries">
811 <group col="6" colspan="4">
812 <group colspan="4" col="4">
813 <field name="name" readonly="1"/>
814 <field name="origin" readonly="1"/>
815 <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
816 <field name="invoice_state"/>
817 <field name="backorder_id" readonly="1" groups="base.group_extended"/>
819 <group colspan="2" col="2">
821 <field name="min_date" readonly="1"/>
822 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
825 <notebook colspan="4">
826 <page string="Products">
827 <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_out_id': address_id}" >
828 <tree colors="grey:scrapped==True" string="Stock Moves">
829 <field name="product_id"/>
830 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
831 <field name="product_uom" string="UoM"/>
832 <field name="product_uos" groups="product.product_uos"/>
833 <button name="%(stock.move_scrap)d"
834 string="Scrap Products" type="action"
835 icon="gtk-convert" context="{'scrap': True}"
836 states="draft,waiting,confirmed,assigned" />
837 <field name="scrapped" invisible="1"/>
838 <field name="prodlot_id" groups="base.group_extended"/>
839 <button name="%(track_line)d" string="Split in production lots" type="action"
840 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
841 states="draft,assigned,confirmed,done"
842 groups="base.group_extended"/>
843 <field name="tracking_id" groups="base.group_extended"/>
844 <button name="setlast_tracking" string="Put in current pack" type="object"
845 attrs="{'invisible': [('tracking_id','<>',False)]}"
846 groups="base.group_extended"
847 icon="terp-stock_effects-object-colorize"
848 states="draft,assigned,confirmed,done"/>
849 <button name="%(split_into)d" string="Put in a new pack" type="action"
850 icon="terp-stock_effects-object-colorize"
851 groups="base.group_extended"
852 states="draft,assigned,confirmed,done"/>
853 <field name="location_id"/>
855 <field name="state"/>
856 <button name="%(action_partial_move)d" string="Partial" type="action" states="confirmed,assigned" icon="gtk-justify-fill"/>
857 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
859 <form string="Stock Moves">
860 <group colspan="2" col="4">
861 <separator colspan="4" string="Move Information"/>
862 <field name="name" invisible="1" colspan="4" />
863 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
864 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="3" />
865 <button name="%(stock.move_scrap)d"
866 string="Scrap" type="action"
867 icon="gtk-convert" context="{'scrap': True}"
868 states="draft,waiting,confirmed,assigned" colspan="1" groups="base.group_extended"/>
869 <field name="product_uom" string="Unit Of Measure" widget="selection" colspan="4" />
870 <field name="product_uos_qty" groups="product.product_uos" colspan="4" />
871 <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4" />
872 <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4" />
875 <group colspan="2" col="2">
876 <separator string="Locations" colspan="2" />
877 <field name="location_id" domain="[('usage','=','internal')]" />
878 <field name="location_dest_id" domain="[('usage','<>','view')]" />
881 <group colspan="2" col="2">
882 <separator string="Dates" colspan="2" />
883 <field name="create_date" invisible="1"/>
885 <field name="date_expected"/>
888 <group colspan="2" col="4" groups="base.group_extended">
889 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
890 <field name="tracking_id" groups="base.group_extended" colspan="3" />
891 <button name="%(split_into)d" string="New pack" type="action"
892 groups="base.group_extended"
893 icon="terp-stock_effects-object-colorize"
894 states="draft,assigned,confirmed,done" colspan="1"/>
895 <field name="prodlot_id" groups="base.group_extended"
896 context="{'location_id':location_id, 'product_id':product_id}"
897 domain="[('product_id','=?',product_id)]"
898 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
899 <button name="%(track_line)d"
900 groups="base.group_extended"
901 states="draft,waiting,confirmed,assigned,done"
902 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1" />
904 <label string="" colspan="4"/>
905 <field name="state"/>
906 <group col="4" colspan="2">
907 <button name="action_cancel" states="assigned" string="Cancel" type="object" icon="gtk-cancel"/>
908 <button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/>
909 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
910 <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find"/>
914 <group col="12" colspan="4">
915 <field name="state" readonly="1"/>
916 <button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>
917 <button name="draft_force_assign" states="draft" string="Process Later" type="object" icon="gtk-ok"/>
918 <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-yes"/>
919 <button name="action_assign" states="confirmed" string="Check Availability" type="object" groups="base.group_extended" icon="gtk-find"/>
920 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
921 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
922 <button name="%(action_stock_invoice_onshipping)d" string="Create Invoice" states="done" type="action" icon="terp-gtk-go-back-rtl"/>
925 <page string="Additional info" groups="base.group_extended,base.group_multi_company">
926 <field name="auto_picking" groups="base.group_extended"/>
927 <field name="date_done" groups="base.group_extended"/>
928 <field name="move_type" groups="base.group_extended"/>
929 <field name="type" groups="base.group_extended"/>
930 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
932 <page string="Notes">
933 <field colspan="4" name="note" nolabel="1"/>
940 <record id="view_picking_out_search" model="ir.ui.view">
941 <field name="name">stock.picking.out.search</field>
942 <field name="model">stock.picking</field>
943 <field name="type">search</field>
944 <field name="arch" type="xml">
945 <search string="Picking list">
946 <group col="8" colspan="4">
947 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Assigned Outgoing Deliveries"/>
948 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Outgoing Deliveries"/>
949 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Outgoing Deliveries already processed"/>
950 <separator orientation="vertical"/>
951 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" groups="base.group_extended"/>
952 <separator orientation="vertical"/>
953 <filter icon="terp-dolar" name="to_invoice" string="To Invoice" domain="[('invoice_state','=','2binvoiced')]" help="Outgoing Deliveries to invoice"/>
954 <separator orientation="vertical"/>
956 <field name="partner_id" />
957 <field name="origin"/>
958 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
959 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
962 <group expand="0" string="Group By..." colspan="4" col="8">
963 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
964 <separator orientation="vertical" />
965 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
966 <separator orientation="vertical" />
967 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
968 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
969 <separator orientation="vertical" />
970 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
976 <record id="action_picking_tree" model="ir.actions.act_window">
977 <field name="name">Outgoing Deliveries</field>
978 <field name="res_model">stock.picking</field>
979 <field name="type">ir.actions.act_window</field>
980 <field name="view_type">form</field>
981 <field name="view_mode">tree,form,calendar</field>
982 <field name="domain">[('type','=','out')]</field>
983 <field name="context">{'contact_display': 'partner_address', 'search_default_available': 1}</field>
984 <field name="search_view_id" ref="view_picking_out_search"/>
985 <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>
987 <record id="action_picking_tree_out_view1_waiting" model="ir.actions.act_window.view">
988 <field eval="1" name="sequence"/>
989 <field name="view_mode">tree</field>
990 <field name="view_id" ref="view_picking_out_tree"/>
991 <field name="act_window_id" ref="action_picking_tree"/>
993 <record id="action_picking_tree_out_view2_waiting" model="ir.actions.act_window.view">
994 <field eval="2" name="sequence"/>
995 <field name="view_mode">form</field>
996 <field name="view_id" ref="view_picking_out_form"/>
997 <field name="act_window_id" ref="action_picking_tree"/>
999 <record id="action_picking_tree_out_view2_waiting_cal" model="ir.actions.act_window.view">
1000 <field eval="3" name="sequence"/>
1001 <field name="view_mode">calendar</field>
1002 <field name="act_window_id" ref="action_picking_tree"/>
1004 <menuitem action="action_picking_tree" id="menu_action_picking_tree" parent="menu_stock_warehouse_mgmt" sequence="3"/>
1006 <record id="view_picking_in_tree" model="ir.ui.view">
1007 <field name="name">stock.picking.in.tree</field>
1008 <field name="model">stock.picking</field>
1009 <field name="type">tree</field>
1010 <field name="arch" type="xml">
1011 <tree colors="blue:state in ('draft');grey:state in ('done');red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
1012 <field name="name"/>
1013 <field name="partner_id" />
1014 <field name="backorder_id" groups="base.group_extended"/>
1015 <field name="origin"/>
1016 <field name="date"/>
1017 <field name="min_date"/>
1018 <field name="invoice_state" groups="base.group_extended"/>
1019 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1020 <field name="state"/>
1021 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
1022 <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?" />
1026 <record id="view_picking_in_form" model="ir.ui.view">
1027 <field name="name">stock.picking.in.form</field>
1028 <field name="model">stock.picking</field>
1029 <field name="type">form</field>
1030 <field name="arch" type="xml">
1031 <form string="Input Picking List">
1032 <group colspan="4" col="6">
1033 <group colspan="4" col="4">
1034 <field name="name" readonly="1"/>
1035 <field name="origin"/>
1036 <field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" colspan="4"/>
1037 <field name="invoice_state" string="Invoice Control"/>
1038 <field name="backorder_id" readonly="1" groups="base.group_extended"/>
1040 <group colspan="2" col="2">
1041 <field name="date"/>
1042 <field name="min_date" readonly="1"/>
1043 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1046 <notebook colspan="4">
1047 <page string="General Information">
1048 <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_in_id': address_id}" >
1049 <tree colors="grey:scrapped==True" string="Stock Moves">
1050 <field name="product_id" />
1051 <field name="product_qty" />
1052 <field name="product_uom" string="UoM" />
1053 <button name="%(stock.move_scrap)d"
1054 string="Scrap Products" type="action"
1055 icon="gtk-convert" context="{'scrap': True}"
1056 states="draft,waiting,confirmed,assigned"
1057 groups="base.group_extended"/>
1058 <field name="scrapped" invisible="1"/>
1059 <field name="prodlot_id" groups="base.group_extended"/>
1061 name="%(stock.track_line)d"
1062 string="Split in production lots"
1063 groups="base.group_extended"
1064 type="action" icon="terp-stock_effects-object-colorize"
1065 states="draft,waiting,confirmed,assigned" />
1066 <field name="tracking_id" groups="base.group_extended"/>
1067 <button name="setlast_tracking" string="Put in current pack" type="object"
1068 groups="base.group_extended"
1069 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('tracking_id','<>',False)]}"
1070 states="draft,assigned,confirmed,done"/>
1071 <button name="%(split_into)d" string="Put in a new pack" type="action"
1072 groups="base.group_extended"
1073 icon="terp-stock_effects-object-colorize"
1074 states="draft,assigned,confirmed"/>
1075 <field name="location_dest_id"/>
1076 <field name="state"/>
1078 <form string="Stock Moves">
1079 <group colspan="2" col="4">
1080 <separator colspan="4" string="Move Information"/>
1081 <field name="name" invisible="1" colspan="4"/>
1082 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4"/>
1083 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="3"/>
1084 <button name="%(stock.move_scrap)d"
1085 string="Scrap" type="action" groups="base.group_extended"
1086 icon="gtk-convert" context="{'scrap': True}"
1087 states="draft,waiting,confirmed,assigned" colspan="1"/>
1088 <field name="product_uom" string="Unit Of Measure" widget="selection" colspan="4"/>
1089 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1090 <field groups="product.group_uos" name="product_uos" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" colspan="4"/>
1091 <field groups="base.group_extended" name="product_packaging" domain="[('product_id','=',product_id)]" colspan="4"/>
1094 <group colspan="2" col="2">
1095 <separator string="Locations" colspan="2" />
1096 <field name="location_id" domain="[('usage','<>','view')]" />
1097 <field name="location_dest_id" domain="[('usage','=','internal')]" />
1100 <group colspan="2" col="2">
1101 <separator string="Dates" colspan="2" />
1102 <field name="create_date" invisible="1"/>
1103 <field name="date"/>
1104 <field name="date_expected"/>
1107 <group colspan="2" col="4" groups="base.group_extended">
1108 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1109 <field name="tracking_id" groups="base.group_extended" colspan="3" />
1110 <button name="%(split_into)d" string="New pack" type="action"
1111 groups="base.group_extended"
1112 icon="terp-stock_effects-object-colorize"
1113 states="draft,assigned,confirmed,done" colspan="1"/>
1114 <field name="prodlot_id" groups="base.group_extended"
1115 context="{'location_id':location_id, 'product_id':product_id}"
1116 domain="[('product_id','=?',product_id)]"
1117 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1118 <button name="%(track_line)d"
1119 groups="base.group_extended"
1120 states="draft,waiting,confirmed,assigned,done"
1121 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1" />
1123 <label string="" colspan="4"/>
1124 <field name="state"/>
1125 <group col="4" colspan="2">
1126 <button name="action_cancel" states="assigned" string="_Cancel" type="object" icon="gtk-cancel"/>
1127 <button name="action_confirm" states="draft" string="Confirm" type="object" icon="gtk-apply"/>
1128 <button name="force_assign" states="confirmed" string="Force Availability" type="object" icon="gtk-jump-to"/>
1129 <button name="cancel_assign" states="assigned" string="Cancel Availability" type="object" icon="gtk-find"/>
1133 <group col="10" colspan="4">
1134 <field name="state" readonly="1"/>
1135 <button name="button_cancel" states="assigned,confirmed,draft" string="_Cancel" icon="gtk-cancel"/>
1136 <button name="draft_force_assign" states="draft" string="Process Later" type="object" icon="gtk-ok"/>
1137 <button name="draft_validate" states="draft" string="Process Now" type="object" icon="gtk-media-play"/>
1138 <button name="action_assign" states="confirmed" string="Check Availability" type="object" icon="gtk-find"/>
1139 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_extended" icon="gtk-jump-to"/>
1140 <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
1141 <group colspan="1" states="done">
1142 <button name="%(action_stock_invoice_onshipping)d" string="Create Invoice" type="action" icon="terp-gtk-go-back-rtl"/>
1146 <page string="Additional Info" groups="base.group_extended,base.group_multi_company">
1147 <field name="type" groups="base.group_extended"/>
1148 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1150 <page string="Notes">
1151 <field colspan="4" name="note" nolabel="1"/>
1158 <record id="view_picking_in_search" model="ir.ui.view">
1159 <field name="name">stock.picking.in.search</field>
1160 <field name="model">stock.picking</field>
1161 <field name="type">search</field>
1162 <field name="arch" type="xml">
1163 <search string="Incoming Shipments">
1164 <group col="8" colspan="4">
1165 <filter icon="terp-check" name="available" string="Available" domain="[('state','=','assigned')]" help="Incoming Shipments Available" />
1166 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Incoming Shipments already processed"/>
1167 <separator orientation="vertical" />
1168 <filter icon="terp-accessories-archiver-minus" string="Back Orders" domain="[('backorder_id', '!=', False)]" help="Is a Back Order" groups="base.group_extended"/>
1169 <separator orientation="vertical"/>
1170 <field name="name"/>
1171 <field name="partner_id"/>
1172 <field name="origin"/>
1173 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1174 <field name="company_id" widget="selection" groups="base.group_multi_company" />
1177 <group expand="0" string="Extended Filters..." colspan="4" col="8">
1178 <filter string="To invoice" name="to_invoice" icon="terp-dolar" domain="[('invoice_state', '=', '2binvoiced')]" />
1181 <group expand="0" string="Group By..." colspan="4" col="8">
1182 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1183 <separator orientation="vertical" />
1184 <filter icon="terp-stock_effects-object-colorize" name="state" string="State" domain="[]" context="{'group_by':'state'}"/>
1185 <separator orientation="vertical" />
1186 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1187 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
1188 <separator orientation="vertical" />
1189 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
1196 <record id="action_picking_tree4" model="ir.actions.act_window">
1197 <field name="name">Incoming Shipments</field>
1198 <field name="res_model">stock.picking</field>
1199 <field name="type">ir.actions.act_window</field>
1200 <field name="view_type">form</field>
1201 <field name="view_mode">tree,form,calendar</field>
1202 <field name="domain">[('type','=','in')]</field>
1203 <field name="context">{'contact_display': 'partner_address',"search_default_available":1}</field>
1204 <field name="search_view_id" ref="view_picking_in_search"/>
1205 <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>
1207 <record id="action_invoice_tree5_view1" model="ir.actions.act_window.view">
1208 <field eval="1" name="sequence"/>
1209 <field name="view_mode">tree</field>
1210 <field name="view_id" ref="view_picking_in_tree"/>
1211 <field name="act_window_id" ref="action_picking_tree4"/>
1213 <record id="action_invoice_tree5_view2" model="ir.actions.act_window.view">
1214 <field eval="2" name="sequence"/>
1215 <field name="view_mode">form</field>
1216 <field name="view_id" ref="view_picking_in_form"/>
1217 <field name="act_window_id" ref="action_picking_tree4"/>
1219 <record id="action_invoice_tree5_view2_cal" model="ir.actions.act_window.view">
1220 <field eval="3" name="sequence"/>
1221 <field name="view_mode">calendar</field>
1222 <field name="act_window_id" ref="action_picking_tree4"/>
1224 <menuitem action="action_picking_tree4" id="menu_action_picking_tree4" parent="menu_stock_warehouse_mgmt" sequence="1"/>
1226 <record id="view_picking_internal_search" model="ir.ui.view">
1227 <field name="name">stock.picking.internal.search</field>
1228 <field name="model">stock.picking</field>
1229 <field name="type">search</field>
1230 <field name="arch" type="xml">
1231 <search string="Internal Picking List">
1232 <group col="8" colspan="4">
1233 <filter icon="terp-check" string="Available" domain="[('state','=','assigned')]" help="Assigned Internal Moves"/>
1234 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Internal Moves" />
1235 <separator orientation="vertical"/>
1236 <field name="name"/>
1237 <field name="origin"/>
1238 <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
1239 <field name="company_id" widget="selection"/>
1242 <group expand="0" string="Group By..." colspan="4" col="8">
1243 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1244 <separator orientation="vertical"/>
1245 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1246 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
1247 <separator orientation="vertical"/>
1248 <filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
1249 <separator orientation="vertical" />
1250 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}" groups="base.group_extended"/>
1256 <record id="action_picking_tree6" model="ir.actions.act_window">
1257 <field name="name">Internal Moves</field>
1258 <field name="res_model">stock.picking</field>
1259 <field name="type">ir.actions.act_window</field>
1260 <field name="view_type">form</field>
1261 <field name="view_mode">tree,form,calendar</field>
1262 <field name="domain">[('type','=','internal')]</field>
1263 <field name="context">{'contact_display': 'partner_address',"search_default_available":1}</field>
1264 <field name="search_view_id" ref="view_picking_internal_search"/>
1265 <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>
1268 <record model="ir.actions.act_window.view" id="action_picking_tree6_tree_view">
1269 <field name="sequence" eval="1"/>
1270 <field name="view_mode">tree</field>
1271 <field name="view_id" ref="vpicktree"/>
1272 <field name="act_window_id" ref="action_picking_tree6"/>
1274 <record model="ir.actions.act_window.view" id="action_picking_tree6_form_view">
1275 <field name="sequence" eval="2"/>
1276 <field name="view_mode">form</field>
1277 <field name="view_id" ref="view_picking_form"/>
1278 <field name="act_window_id" ref="action_picking_tree6"/>
1283 <menuitem action="action_picking_tree6" id="menu_action_picking_tree6" parent="menu_stock_warehouse_mgmt" sequence="2"/>
1285 <record id="view_move_tree" model="ir.ui.view">
1286 <field name="name">stock.move.tree</field>
1287 <field name="model">stock.move</field>
1288 <field name="type">tree</field>
1289 <field eval="6" name="priority"/>
1290 <field name="arch" type="xml">
1291 <tree colors="grey:state in ('cancel');red:(state not in ('cancel','done')) and date > current_date" string="Moves" editable="top">
1292 <field name="picking_id" string="Reference"/>
1293 <field name="origin"/>
1294 <field name="create_date" invisible="1"/>
1295 <field name="partner_id"/>
1296 <field name="product_id"/>
1297 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1298 <field name="product_uom" string="UoM"/>
1299 <field name="product_uos" groups="product.product_uos"/>
1300 <button name="%(stock.move_scrap)d"
1301 string="Scrap Products" type="action"
1302 icon="gtk-convert" context="{'scrap': True}"
1303 states="draft,waiting,confirmed,assigned"
1304 groups="base.group_extended"/>
1305 <field name="prodlot_id" groups="base.group_extended"/>
1306 <button name="%(track_line)d" string="Split in production lots" type="action"
1307 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
1308 states="draft,waiting,confirmed,assigned,done"
1309 context="{'default_use_exist': picking_id.type=='in'}"
1310 groups="base.group_extended"/>
1311 <field groups="base.group_extended" name="tracking_id"/>
1312 <button name="setlast_tracking" string="Put in current pack" type="object"
1313 groups="base.group_extended"
1314 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('tracking_id','<>',False)]}"
1315 states="draft,assigned,confirmed,done"/>
1316 <button name="%(split_into)d" string="Put in a new pack" type="action"
1317 groups="base.group_extended"
1318 icon="terp-stock_effects-object-colorize"
1319 states="draft,assigned,confirmed,done"/>
1320 <field name="location_id"/>
1321 <field name="location_dest_id"/>
1322 <field name="date"/>
1323 <field name="date_expected"/>
1324 <field name="state"/>
1325 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1330 <!-- <menuitem id="menu_traceability_low" name="Low Level" parent="menu_traceability"/> -->
1332 <record id="view_move_form" model="ir.ui.view">
1333 <field name="name">stock.move.form</field>
1334 <field name="model">stock.move</field>
1335 <field name="type">form</field>
1336 <field eval="4" name="priority"/>
1337 <field name="arch" type="xml">
1338 <form string="Stock Moves">
1339 <group colspan="4" col="7">
1340 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1341 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1342 <field name="product_uom" string="Unit Of Measure" widget="selection"/>
1343 <button name="%(stock.move_scrap)d" groups="base.group_extended"
1344 string="Scrap" type="action"
1345 icon="gtk-convert" context="{'scrap': True}"
1346 states="draft,waiting,confirmed,assigned" colspan="1"/>
1348 <field name="location_id" context="{'full':True}"/>
1349 <field name="location_dest_id" context="{'full':True}"/>
1350 <field name="address_id" context="{'contact_display':'partner'}"/>
1353 <group colspan="2" col="2">
1354 <separator colspan="2" string="Move Information"/>
1355 <field name="name" string="Reason"/>
1356 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1357 <field name="product_uos" groups="product.product_uos" colspan="4"/>
1360 <group colspan="2" col="2">
1361 <separator string="Picking" colspan="2" />
1362 <field name="picking_id"/>
1363 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1366 <group colspan="2" col="2">
1367 <separator string="Dates" colspan="2" />
1368 <field name="create_date" groups="base.group_extended"/>
1369 <field name="date" groups="base.group_extended"/>
1370 <field name="date_expected"/>
1373 <group colspan="2" col="4" groups="base.group_extended">
1374 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1375 <field name="tracking_id" colspan="3" groups="base.group_extended"/>
1376 <button name="%(split_into)d" string="New pack" type="action"
1377 groups="base.group_extended"
1378 icon="terp-stock_effects-object-colorize"
1379 states="draft,assigned,confirmed,done" colspan="1"/>
1380 <field name="prodlot_id" groups="base.group_extended"
1381 context="{'location_id':location_id, 'product_id':product_id}"
1382 domain="[('product_id','=?',product_id)]"
1383 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1384 <button name="%(track_line)d"
1385 groups="base.group_extended"
1386 states="draft,waiting,confirmed,assigned,done"
1387 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1"/>
1390 <separator colspan="4"/>
1391 <field name="state"/>
1392 <group col="4" colspan="2">
1393 <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
1394 <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
1395 <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1396 <button name="action_done" states="draft,assigned,confirmed" string="Process Now" type="object" icon="gtk-jump-to"/>
1402 <record id="view_move_search" model="ir.ui.view">
1403 <field name="name">stock.move.search</field>
1404 <field name="model">stock.move</field>
1405 <field name="type">search</field>
1406 <field eval="3" name="priority"/>
1407 <field name="arch" type="xml">
1408 <search string="Stock Moves">
1409 <group col="14" colspan="4">
1410 <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"/>
1411 <separator orientation="vertical"/>
1412 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1413 <filter icon="terp-stock" string="Future" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1414 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1415 <separator orientation="vertical"/>
1416 <field name="product_id"/>
1417 <field name="location_id" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1418 <field name="address_id" string="Partner" context="{'contact_display':'partner'}" filter_domain="[('picking_id.address_id','ilike',self)]"/>
1419 <field name="date"/>
1422 <group expand="0" string="Extended Filters..." colspan="4" col="8">
1423 <field name="origin"/>
1424 <field name="picking_id"/>
1425 <field name="prodlot_id"/>
1426 <field name="tracking_id"/>
1427 <field name="state"/>
1430 <group expand="0" string="Group By..." colspan="4" col="8">
1431 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1432 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1433 <filter string="Lot" name="groupby_prodlot_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'prodlot_id'}"/>
1434 <filter string="Pack" name="groupby_tracking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'tracking_id'}"/>
1435 <separator orientation="vertical"/>
1436 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}"/>
1437 <filter string="Destination" name="groupby_dest_location_id" icon="terp-gtk-jump-to-ltr" domain="[]" context="{'group_by':'location_dest_id'}"/>
1438 <separator orientation="vertical"/>
1439 <filter icon="terp-stock_effects-object-colorize" string="State" domain="[]" context="{'group_by':'state'}" />
1440 <separator orientation="vertical"/>
1441 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/>
1442 <filter string="Expected" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1448 <record id="action_move_form2" model="ir.actions.act_window">
1449 <field name="name">Stock Moves</field>
1450 <field name="res_model">stock.move</field>
1451 <field name="type">ir.actions.act_window</field>
1452 <field name="view_type">form</field>
1453 <field name="view_id" ref="view_move_tree"/>
1454 <field name="search_view_id" ref="view_move_search"/>
1455 <field name="context">{'search_default_Available':1}</field>
1456 <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>
1458 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="1"/>
1460 ====================================
1461 Reception Picking (By Stock Move)
1462 ====================================
1463 <!-- from stock_partial_move_view -->
1467 <record id="view_move_tree_reception_picking" model="ir.ui.view">
1468 <field name="name">stock.move.tree2</field>
1469 <field name="model">stock.move</field>
1470 <field name="type">tree</field>
1471 <field name="priority" eval="6" />
1472 <field name="arch" type="xml">
1473 <tree colors="grey:state in ('cancel')" string="Moves">
1474 <field name="picking_id" string="Reference"/>
1475 <field name="origin"/>
1476 <field name="partner_id" string="Partner"/>
1477 <field name="product_id"/>
1478 <field name="product_qty" />
1479 <field name="product_uom" string="UoM"/>
1480 <button name="%(stock.move_scrap)d"
1481 string="Scrap Products" type="action"
1482 icon="gtk-convert" context="{'scrap': True}"
1483 states="draft,waiting,confirmed,assigned" groups="base.group_extended"/>
1484 <field name="prodlot_id" groups="base.group_extended"/>
1485 <button name="%(track_line)d" string="Split in production lots" type="action"
1486 icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','<>',False)]}"
1487 states="draft,waiting,confirmed,assigned,done"
1488 context="{'default_use_exist': picking_id.type=='in'}"
1489 groups="base.group_extended"/>
1490 <field name="tracking_id" groups="base.group_extended"/>
1491 <button name="setlast_tracking" string="Put in current pack" type="object"
1492 attrs="{'invisible': [('tracking_id','<>',False)]}"
1493 groups="base.group_extended"
1494 icon="terp-stock_effects-object-colorize"
1495 states="draft,assigned,confirmed,done"/>
1496 <button name="%(split_into)d" string="Put in a new pack" type="action"
1497 groups="base.group_extended"
1498 icon="terp-stock_effects-object-colorize"
1499 states="draft,assigned,confirmed,done"/>
1500 <field name="date"/>
1501 <field name="state"/>
1502 <button name="action_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1503 <button name="%(action_partial_move)d" string="Partial" type="action" states="confirmed,assigned" icon="gtk-justify-fill"/>
1504 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1509 <record id="view_move_tree_reception_picking_board" model="ir.ui.view">
1510 <field name="name">stock.move.tree3</field>
1511 <field name="model">stock.move</field>
1512 <field name="type">tree</field>
1513 <field eval="6" name="priority"/>
1514 <field name="arch" type="xml">
1515 <tree string="Moves">
1516 <field name="picking_id" string="Reference"/>
1517 <field name="partner_id" string="Partner"/>
1518 <field name="product_id"/>
1519 <field name="product_qty" />
1520 <field name="product_uom" string="UoM"/>
1521 <field name="date"/>
1522 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
1528 <record id="view_move_form_reception_picking" model="ir.ui.view">
1529 <field name="name">stock.move.form2</field>
1530 <field name="model">stock.move</field>
1531 <field name="type">form</field>
1532 <field eval="6" name="priority"/>
1533 <field name="arch" type="xml">
1534 <form string="Receive Products">
1535 <group colspan="4" col="7">
1536 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1537 <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1538 <field name="product_uom" string="Unit Of Measure" widget="selection"/>
1539 <button name="%(stock.move_scrap)d" groups="base.group_extended"
1540 string="Scrap" type="action"
1541 icon="gtk-convert" context="{'scrap': True}"
1542 states="draft,waiting,confirmed,assigned" colspan="1"/>
1544 <field name="location_id" context="{'full':True}"/>
1545 <field name="location_dest_id" context="{'full':True}"/>
1546 <field name="address_id" context="{'contact_display':'partner'}"/>
1549 <group colspan="2" col="2">
1550 <separator colspan="2" string="Move Information"/>
1551 <field name="name" string="Reason"/>
1552 <field name="product_uos_qty" groups="product.product_uos" colspan="4"/>
1553 <field name="product_uos" groups="product.product_uos" colspan="4"/>
1556 <group colspan="2" col="2">
1557 <separator string="Picking" colspan="2" />
1558 <field name="picking_id"/>
1559 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1562 <group colspan="2" col="2">
1563 <separator string="Dates" colspan="2" />
1564 <field name="create_date" groups="base.group_extended"/>
1565 <field name="date" groups="base.group_extended"/>
1566 <field name="date_expected"/>
1569 <group colspan="2" col="4" groups="base.group_extended">
1570 <separator string="Traceability" colspan="4" groups="base.group_extended"/>
1571 <field name="tracking_id" colspan="3" groups="base.group_extended"/>
1572 <button name="%(split_into)d" string="New pack" type="action"
1573 groups="base.group_extended"
1574 icon="terp-stock_effects-object-colorize"
1575 states="draft,assigned,confirmed,done" colspan="1"/>
1576 <field name="prodlot_id" groups="base.group_extended"
1577 context="{'location_id':location_id, 'product_id':product_id}"
1578 domain="[('product_id','=?',product_id)]"
1579 on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)" colspan="3"/>
1580 <button name="%(track_line)d"
1581 groups="base.group_extended"
1582 states="draft,waiting,confirmed,assigned,done"
1583 string="Split" type="action" icon="terp-stock_effects-object-colorize" colspan="1"/>
1586 <separator colspan="4"/>
1587 <field name="state"/>
1588 <group col="5" colspan="2">
1589 <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object" icon="gtk-cancel"/>
1590 <button name="action_confirm" states="draft" string="Process Later" type="object" icon="gtk-apply"/>
1591 <button name="force_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
1592 <button name="%(action_partial_move)d" states="assigned" string="Partial" type="action" icon="gtk-justify-fill"/>
1593 <button name="action_done" states="draft,assigned,confirmed" string="Process Now" type="object" icon="gtk-jump-to"/>
1599 <record id="view_move_search_reception_incoming_picking" model="ir.ui.view">
1600 <field name="name">stock.move.incoming.search2</field>
1601 <field name="model">stock.move</field>
1602 <field name="type">search</field>
1603 <field eval="6" name="priority"/>
1604 <field name="arch" type="xml">
1605 <search string="Stock Moves">
1606 <group col="8" colspan="4">
1607 <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"/>
1608 <separator orientation="vertical"/>
1609 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1610 <filter icon="terp-dialog-close" name="received" string="Done" domain="[('state','=','done')]"/>
1611 <separator orientation="vertical"/>
1612 <field name="origin"/>
1613 <field name="partner_id" string="Partner"/>
1614 <field name="product_id"/>
1617 <group expand="0" string="Extended Filters..." groups="base.group_extended">
1618 <field name="tracking_id" context="{'tracking': self}" filter_domain="[]" />
1621 <group expand="0" string="Group By..." colspan="4" col="8">
1622 <filter string="Supplier" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
1623 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1624 <separator orientation="vertical"/>
1625 <filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
1626 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1627 <separator orientation="vertical"/>
1628 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
1634 <record id="view_move_search_reception_outcoming_picking" model="ir.ui.view">
1635 <field name="name">stock.move.outgoing.search2</field>
1636 <field name="model">stock.move</field>
1637 <field name="type">search</field>
1638 <field eval="6" name="priority"/>
1639 <field name="arch" type="xml">
1640 <search string="Stock Moves">
1641 <group col="8" colspan="4">
1642 <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"/>
1643 <separator orientation="vertical"/>
1644 <filter icon="terp-gtk-go-back-rtl" name="receive" string="To Do" domain="[('state','in',('confirmed','assigned'))]" help="Stock to be received"/>
1645 <filter icon="terp-dialog-close" name="received" string="Done" domain="[('state','=','done')]"/>
1646 <separator orientation="vertical"/>
1647 <field name="origin"/>
1648 <field name="partner_id" string="Partner"/>
1649 <field name="product_id"/>
1652 <group expand="0" string="Extended Filters..." groups="base.group_extended">
1653 <field name="tracking_id" context="{'tracking': self}" filter_domain="[]" />
1656 <group expand="0" string="Group By..." colspan="4" col="8">
1657 <filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
1658 <separator orientation="vertical"/>
1659 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1660 <filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
1661 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1662 <separator orientation="vertical"/>
1663 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" />
1669 <record id="action_reception_picking_move" model="ir.actions.act_window">
1670 <field name="name">Receive Products</field>
1671 <field name="res_model">stock.move</field>
1672 <field name="type">ir.actions.act_window</field>
1673 <field name="view_type">form</field>
1674 <field name="view_mode">tree,form</field>
1675 <field name="domain">['|','&',('picking_id','=',False),('location_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','in')]</field>
1676 <field name="view_id" ref="view_move_tree_reception_picking"/>
1677 <field name="context" eval="'{\'search_default_receive\':1, \'product_receive\' : True, \'default_location_id\':%d, \'default_location_dest_id\':%d}' % (ref('stock_location_suppliers'),ref('stock_location_stock') )"/>
1678 <field name="search_view_id" ref="view_move_search_reception_incoming_picking"/>
1679 <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>
1682 <record model="ir.actions.act_window.view" id="action_move_reception_picking_tree">
1683 <field name="sequence" eval="1"/>
1684 <field name="view_mode">tree</field>
1685 <field name="view_id" ref="view_move_tree_reception_picking"/>
1686 <field name="act_window_id" ref="action_reception_picking_move"/>
1688 <record model="ir.actions.act_window.view" id="action_move_reception_picking_form">
1689 <field name="sequence" eval="2"/>
1690 <field name="view_mode">form</field>
1691 <field name="view_id" ref="view_move_form_reception_picking"/>
1692 <field name="act_window_id" ref="action_reception_picking_move"/>
1695 # -------------------------------------------------------------
1697 # -------------------------------------------------------------
1698 <record id="view_incoterms_tree" model="ir.ui.view">
1699 <field name="name">stock.incoterms.tree</field>
1700 <field name="model">stock.incoterms</field>
1701 <field name="type">tree</field>
1702 <field name="arch" type="xml">
1703 <tree string="Incoterms">
1704 <field name="code"/>
1705 <field colspan="4" name="name"/>
1709 <record id="stock_incoterms_form" model="ir.ui.view">
1710 <field name="name">stock.incoterms.form</field>
1711 <field name="model">stock.incoterms</field>
1712 <field name="type">form</field>
1713 <field name="arch" type="xml">
1714 <form string="Incoterms">
1715 <field colspan="4" name="name" select="1"/>
1716 <field name="code" select="1"/>
1717 <field name="active" select="1"/>
1721 <record id="action_incoterms_tree" model="ir.actions.act_window">
1722 <field name="name">Incoterms</field>
1723 <field name="res_model">stock.incoterms</field>
1724 <field name="type">ir.actions.act_window</field>
1725 <field name="view_type">form</field>
1726 <field name="view_mode">tree,form</field>
1730 context="{'location': active_id}"
1731 domain="[('type','<>','service')]"
1732 id="act_product_location_open"
1734 res_model="product.product"
1735 src_model="stock.location"/>
1738 context="{'location': active_id, 'search_default_done': 1,'search_default_product_id': [active_id]}"
1739 id="act_product_stock_move_open"
1741 res_model="stock.move"
1742 src_model="product.product"/>
1745 domain="[('move_lines','in',[active_id])]"
1746 id="act_relate_picking"
1747 name="Related Picking"
1748 res_model="stock.picking"
1749 src_model="stock.move"/>
1752 context="{'location': active_id, 'search_default_future': 1,'search_default_product_id': [active_id]}"
1753 domain="[('state','in',('waiting','confirmed','assigned'))]"
1754 id="act_product_stock_move_futur_open"
1755 name="Future Stock Moves"
1756 res_model="stock.move"
1757 src_model="product.product"
1758 groups="base.group_extended"/>
1760 <record id="ir_act_product_location_open" model="ir.values">
1761 <field name="key2">tree_but_open</field>
1762 <field name="model">stock.location</field>
1763 <field name="name">Products</field>
1764 <field eval="'ir.actions.act_window,%d'%act_product_location_open" name="value"/>
1765 <field eval="True" name="object"/>
1769 <record id="ir_act_product_location_open" model="ir.values">
1770 <field name="key2">tree_but_open</field>
1771 <field name="model">stock.location</field>
1772 <field name="name">Open Products</field>
1773 <field eval="'ir.actions.act_window,%d'%action_view_stock_location_product" name="value"/>
1774 <field eval="True" name="object"/>
1776 <record id="action_picking_tree_out" model="ir.actions.act_window">
1777 <field name="name">Customers Packings</field>
1778 <field name="res_model">stock.picking</field>
1779 <field name="type">ir.actions.act_window</field>
1780 <field name="view_type">form</field>
1781 <field name="view_mode">tree,form,calendar</field>
1782 <field name="domain">[('type','=','out')]</field>
1783 <field name="context">{'contact_display': 'partner',"search_default_available":1}</field>
1784 <field name="search_view_id" ref="view_picking_in_search"/>
1786 <record id="action_invoice_tree5_out" model="ir.actions.act_window.view">
1787 <field eval="1" name="sequence"/>
1788 <field name="view_mode">tree</field>
1789 <field name="view_id" ref="view_picking_in_tree"/>
1790 <field name="act_window_id" ref="action_picking_tree_out"/>
1792 <record id="action_invoice_tree5_view2_out" model="ir.actions.act_window.view">
1793 <field eval="2" name="sequence"/>
1794 <field name="view_mode">form</field>
1795 <field name="view_id" ref="view_picking_in_form"/>
1796 <field name="act_window_id" ref="action_picking_tree_out"/>
1798 <record id="action_invoice_tree5_viewout_cal" model="ir.actions.act_window.view">
1799 <field eval="3" name="sequence"/>
1800 <field name="view_mode">calendar</field>
1801 <field name="act_window_id" ref="action_picking_tree_out"/>
1804 <record id="action_out_picking_move" model="ir.actions.act_window">
1805 <field name="name">Deliver Products</field>
1806 <field name="res_model">stock.move</field>
1807 <field name="type">ir.actions.act_window</field>
1808 <field name="view_type">form</field>
1809 <field name="view_mode">tree,form</field>
1810 <field name="domain">['|','&',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','out')]</field>
1811 <field name="view_id" ref="view_move_tree_reception_picking"/>
1812 <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'))"/>
1813 <field name="search_view_id" ref="view_move_search_reception_outcoming_picking"/>
1814 <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>
1817 <record model="ir.actions.act_window.view" id="action_move_out_picking_tree">
1818 <field name="sequence" eval="1"/>
1819 <field name="view_mode">tree</field>
1820 <field name="view_id" ref="view_move_tree_reception_picking"/>
1821 <field name="act_window_id" ref="action_out_picking_move"/>
1823 <record model="ir.actions.act_window.view" id="action_move_out_picking_form">
1824 <field name="sequence" eval="2"/>
1825 <field name="view_mode">form</field>
1826 <field name="view_id" ref="view_move_form"/>
1827 <field name="act_window_id" ref="action_out_picking_move"/>
1830 <menuitem action="action_reception_picking_move" id="menu_action_pdct_in" parent="menu_stock_products_moves" sequence="1"/>
1831 <menuitem action="action_out_picking_move" id="menu_action_pdct_out" parent="menu_stock_products_moves" sequence="2"/>
1834 <record id="view_stock_journal_filter" model="ir.ui.view">
1835 <field name="name">stock.journal.filter</field>
1836 <field name="model">stock.journal</field>
1837 <field name="type">search</field>
1838 <field name="arch" type="xml">
1839 <search string="Stock Journal">
1840 <field name="name"/>
1841 <field name="user_id"/>
1845 <record model="ir.ui.view" id="view_stock_journal_tree">
1846 <field name="name">Stock Journals</field>
1847 <field name="model">stock.journal</field>
1848 <field name="type">tree</field>
1849 <field name="arch" type="xml">
1850 <tree string="Stock Journal">
1851 <field name="name"/>
1852 <field name="user_id"/>
1856 <record model="ir.ui.view" id="view_stock_journal_form">
1857 <field name="name">Stock Journals</field>
1858 <field name="model">stock.journal</field>
1859 <field name="type">form</field>
1860 <field name="arch" type="xml">
1861 <form string="Stock Journal">
1862 <field name="name"/>
1863 <field name="user_id"/>
1867 <record id="action_stock_journal_form" model="ir.actions.act_window">
1868 <field name="name">Stock Journals</field>
1869 <field name="res_model">stock.journal</field>
1870 <field name="type">ir.actions.act_window</field>
1871 <field name="view_type">form</field>
1872 <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>
1875 action="action_stock_journal_form"
1876 id="menu_action_stock_journal_form"
1877 groups="group_stock_manager,base.group_extended"
1878 parent="menu_warehouse_config" />