1 <?xml version="1.0" encoding="utf-8"?>
6 <menuitem name="Warehouse"
8 groups="group_stock_manager,group_stock_user"
11 <menuitem id="menu_stock_warehouse_mgmt" name="Operations" parent="menu_stock_root" sequence="1"/>
12 <menuitem id="menu_stock_product" name="Products" parent="menu_stock_root" sequence="6"/>
13 <menuitem name="Products by Category" id="menu_product_by_category_stock_form" action="product.product_category_action"
14 parent="stock.menu_stock_product" sequence="2" groups="base.group_no_one"/>
15 <menuitem action="product.product_template_action" id="menu_stock_products_menu" parent="menu_stock_product" sequence="1"/>
16 <menuitem id="menu_stock_configuration" name="Configuration" parent="menu_stock_root" sequence="15" groups="group_stock_manager"/>
17 <menuitem id="menu_warehouse_config" name="Warehouse Management" parent="menu_stock_configuration" sequence="1" groups="base.group_no_one"/>
18 <menuitem id="menu_schedulers_config" name="Schedulers Management" parent="stock.menu_stock_configuration" sequence="2" groups="base.group_no_one"/>
19 <menuitem id="menu_stock_inventory_control" name="Inventory Control" parent="menu_stock_root" sequence="2"/>
21 id="menu_product_in_config_stock" name="Products"
22 parent="stock.menu_stock_configuration" sequence="3" groups="base.group_no_one"/>
24 action="product.product_category_action_form" id="menu_product_category_config_stock"
25 parent="stock.menu_product_in_config_stock" sequence="2"/>
27 action="product.product_normal_action" id="menu_product_variant_config_stock"
28 parent="stock.menu_stock_product" sequence="3"/>
30 action="product.product_template_action" id="menu_product_template_config_stock"
31 parent="stock.menu_product_in_config_stock" sequence="1"/>
33 action="product.product_ul_form_action" groups="product.group_stock_packaging"
34 id="menu_product_packaging_stock_action" parent="stock.menu_product_in_config_stock" sequence="3"/>
36 id="menu_stock_unit_measure_stock" name="Units of Measure"
37 parent="stock.menu_product_in_config_stock" sequence="35" groups="product.group_uom"/>
39 action="product.product_uom_categ_form_action" id="menu_stock_uom_categ_form_action"
40 parent="menu_product_in_config_stock" sequence="5" groups="product.group_uom"/>
42 action="product.product_uom_form_action" id="menu_stock_uom_form_action"
43 parent="menu_stock_configuration" sequence="35" groups="product.group_uom"/>
45 <record id="stock_inventory_line_tree" model="ir.ui.view">
46 <field name="name">stock.inventory.line.tree</field>
47 <field name="model">stock.inventory.line</field>
48 <field name="arch" type="xml">
49 <tree string="Stock Inventory Lines">
50 <field name="product_id"/>
51 <field name="product_qty"/>
52 <field name="product_uom_id" groups="product.group_uom"/>
53 <field name="location_id" groups="stock.group_locations"/>
58 <record id="view_inventory_filter" model="ir.ui.view">
59 <field name="name">stock.inventory.filter</field>
60 <field name="model">stock.inventory</field>
61 <field name="arch" type="xml">
62 <search string="Search Inventory">
63 <field name="name" string="Inventory Reference"/>
65 <field name="company_id" groups="base.group_multi_company"/>
66 <group expand="0" string="Group By">
67 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
68 <filter string="Inventories Month" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" help="Physical Inventories by Month"/>
75 <record id="view_inventory_tree" model="ir.ui.view">
76 <field name="name">stock.inventory.tree</field>
77 <field name="model">stock.inventory</field>
78 <field name="arch" type="xml">
79 <tree string="Lot Inventory" colors="grey:state == 'cancel'">
87 <record id="view_inventory_form" model="ir.ui.view">
88 <field name="name">stock.inventory.form</field>
89 <field name="model">stock.inventory</field>
90 <field name="arch" type="xml">
91 <form string="Inventory Adjustment">
93 <button name="prepare_inventory" states="draft" string="Start Inventory" type="object" class="oe_highlight" groups="stock.group_stock_user"/>
94 <button name="action_done" states="confirm" string="Validate Inventory" type="object" class="oe_highlight" groups="stock.group_stock_manager"/>
95 <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object"/>
96 <button name="action_cancel_inventory" states="confirm" string="Cancel Inventory" type="object"/>
97 <field name="state" widget="statusbar" statusbar_visible="draft,confirm,done"/>
100 <div class="oe_title">
101 <label for="name" class="oe_edit_only"/>
102 <h1><field name="name" placeholder="e.g. Annual inventory"/></h1>
106 <field name="location_id"/>
107 <field name="filter" string="Inventory of" widget='radio' attrs="{'readonly': [('state', '!=', 'draft')]}"/>
111 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
112 <field name="product_id" domain="[('type','=','product')]" attrs="{'invisible': [('filter', 'not in', ('product', 'product_owner'))]}"/>
113 <field name="lot_id" attrs="{'invisible': [('filter', '!=', 'lot')]}" groups="stock.group_production_lot" />
114 <field name="partner_id" attrs="{'invisible': [('filter', 'not in', ('owner', 'product_owner'))]}" groups="stock.group_tracking_owner"/>
115 <field name="package_id" attrs="{'invisible': [('filter', '!=', 'pack')]}" groups="stock.group_tracking_lot"/>
118 <notebook attrs="{'invisible':[('state','=','draft')]}">
119 <page string="Inventory Details" >
120 <button name="reset_real_qty" states="confirm" string="⇒ Set quantities to 0" type="object" class="oe_link oe_right" groups="stock.group_stock_user"/>
121 <field name="line_ids" string="Inventory Details" context="{'default_location_id': location_id, 'default_product_id': product_id, 'default_prod_lot_id': lot_id, 'default_package_id': package_id, 'default_partner_id': partner_id}">
122 <tree string="Inventory Details" editable="bottom" colors="blue: product_qty != theoretical_qty; red: theoretical_qty < 0">
123 <field context="{'location':location_id, 'uom':product_uom_id, 'to_date':parent.date}" name="product_id" on_change="on_change_product_id(product_id,product_uom_id,theoretical_qty,context)" domain="[('type','=','product')]"/>
124 <field name="product_uom_id" groups="product.group_uom" on_change="restrict_change(theoretical_qty)"/>
125 <field domain="[('usage','=','internal')]" name="location_id" groups="stock.group_locations" on_change="restrict_change(theoretical_qty)"/>
126 <field name="prod_lot_id" on_change="restrict_change(theoretical_qty)" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}" groups="stock.group_production_lot"/>
127 <field name="package_id" on_change="restrict_change(theoretical_qty)" groups="stock.group_tracking_lot"/>
128 <field name="partner_id" on_change="restrict_change(theoretical_qty)" groups="stock.group_tracking_owner"/>
129 <field name="theoretical_qty" readonly="1"/>
130 <field name="product_qty" string="Real Quantity"/>
131 <field name="state" invisible="True"/>
135 <h3 class="oe_grey">Notes</h3>
136 <ul class="oe_grey"><li>Inventory adjustments will be made by comparing the theoretical and the checked quantities.</li>
137 <li>You can delete lines to ignore some products.</li>
138 <li>If a product is not at the right place, set the checked quantity to 0 and create a new line with correct location.</li>
141 <page string="Inventory Adjustments" attrs="{'invisible': [('state', '!=', 'done')]}">
142 <field name="move_ids">
143 <tree colors="grey:scrapped == True" string="Stock Moves">
144 <field name="product_id"/>
145 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
146 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
147 <field name="product_uos" groups="product.group_uos"/>
148 <field name="picking_id" invisible="1" />
149 <field name="create_date" invisible="1" />
150 <field name="date_expected" invisible="1" />
151 <button name="%(stock.move_scrap)d"
152 string="Scrap Products" type="action"
153 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
154 states="draft,waiting,confirmed,assigned"
155 groups="base.group_user"/>
156 <field name="scrapped" invisible="1"/>
157 <field name="location_id"/>
158 <field name="location_dest_id"/>
159 <field name="state"/>
169 <record id="action_inventory_form" model="ir.actions.act_window">
170 <field name="name">Inventory Adjustments</field>
171 <field name="type">ir.actions.act_window</field>
172 <field name="res_model">stock.inventory</field>
173 <field name="view_type">form</field>
174 <field name="view_id" ref="view_inventory_tree"/>
175 <field name="search_view_id" ref="view_inventory_filter"/>
176 <field name="help" type="html">
177 <p class="oe_view_nocontent_create">
178 Click to start an inventory.
180 Periodical Inventories are used to count the number of products
181 available per location. You can use it once a year when you do
182 the general inventory or whenever you need it, to adapt the
183 current inventory level of a product.
187 <menuitem action="action_inventory_form" id="menu_action_inventory_form" parent="menu_stock_inventory_control" sequence="30"/>
190 <menuitem id="menu_traceability" name="Traceability" parent="menu_stock_root"
193 <record id="view_production_lot_form" model="ir.ui.view">
194 <field name="name">stock.production.lot.form</field>
195 <field name="model">stock.production.lot</field>
196 <field name="arch" type="xml">
197 <form string="Serial Number">
198 <div class="oe_button_box oe_right">
199 <button name="action_traceability" icon="fa-arrow-up" class="oe_stat_button" string="Traceability" type="object" attrs="{'invisible': [('quant_ids','=',[])]}"/>
201 <div class="oe_title">
202 <label for="name" class="oe_edit_only"/>
207 <group name="main_group">
209 <field name="product_id"/>
214 <page string="Products">
215 <field name="quant_ids">
216 <tree string="Stock Moves">
218 <field name="product_id"/>
219 <field name="qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
220 <field name="location_id" groups="stock.group_locations"/>
228 <record id="view_production_lot_tree" model="ir.ui.view">
229 <field name="name">stock.production.lot.tree</field>
230 <field name="model">stock.production.lot</field>
231 <field name="arch" type="xml">
232 <tree string="Serial Number">
235 <field name="product_id"/>
236 <field name="create_date"/>
241 <record model="ir.ui.view" id="search_product_lot_filter">
242 <field name="name">Production Lots Filter</field>
243 <field name="model">stock.production.lot</field>
244 <field name="arch" type="xml">
245 <search string="Product Lots Filter">
246 <field name="name" string="Product Lots" filter_domain="['|',('name','ilike',self),('ref','ilike',self)]"/>
247 <field name="product_id"/>
248 <group expand="0" string="Group By">
249 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
255 <record id="action_production_lot_form" model="ir.actions.act_window">
256 <field name="name">Serial Numbers</field>
257 <field name="type">ir.actions.act_window</field>
258 <field name="res_model">stock.production.lot</field>
259 <field name="view_type">form</field>
260 <field name="view_id" ref="view_production_lot_tree"/>
261 <field name="search_view_id" ref="search_product_lot_filter"/>
262 <field name="context">{}</field>
263 <field name="help" type="html">
264 <p class="oe_view_nocontent_create">
265 Click to add a serial number.
267 This is the list of all the production lots you recorded. When
268 you select a lot, you can get the
269 traceability of the products contained in lot. By default, the
270 list is filtered on the serial numbers that are available in
271 your warehouse but you can uncheck the 'Available' button to
272 get all the lots you produced, received or delivered to
277 <menuitem action="action_production_lot_form" id="menu_action_production_lot_form"
278 parent="menu_traceability" groups="stock.group_production_lot"
282 # Lot composition (history)
284 <record id="stock_move_tree" model="ir.ui.view">
285 <field name="name">Stock Moves</field>
286 <field name="model">stock.move</field>
287 <field name="arch" type="xml">
288 <tree colors="grey:state == 'cancel'" string="Moves" create="false">
289 <field name="product_id"/>
290 <field name="product_uom_qty"/>
291 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
292 <field name="product_packaging" domain="[('product_tmpl_id','=',product_id)]" groups="product.group_stock_packaging"/>
293 <field name="picking_id"/>
294 <field name="location_id" groups="stock.group_locations"/>
295 <field name="location_dest_id" groups="stock.group_locations"/>
296 <field name="create_date" groups="base.group_no_one"/>
297 <field name="date" string="Date" groups="base.group_no_one"/>
298 <field name="date_expected" string="Date Expected"/>
299 <field name="state"/>
304 <record model="ir.actions.act_window" id="location_open_quants">
305 <field name="context">{'search_default_productgroup': 1}</field>
306 <field name="domain">[('location_id', 'child_of', active_ids)]</field>
307 <field name="name">Current Stock</field>
308 <field name="res_model">stock.quant</field>
312 context="{'location': active_id, 'search_default_real_stock_available': 1, 'search_default_virtual_stock_available': 1,
313 'search_default_virtual_stock_negative': 1, 'search_default_real_stock_negative': 1}"
314 id="act_product_location_open"
316 res_model="product.product"
317 src_model="stock.location"/>
319 <record id="view_location_form" model="ir.ui.view">
320 <field name="name">stock.location.form</field>
321 <field name="model">stock.location</field>
322 <field name="arch" type="xml">
323 <form string="Stock Location">
324 <div class="oe_right oe_button_box" name="buttons">
325 <button string="Current Stock"
326 class="oe_stat_button"
327 icon="fa-building-o" name="%(location_open_quants)d" type="action"
328 context="{'search_default_internal_loc': 1}"/>
329 <button string="Products"
330 class="oe_stat_button"
331 icon="fa-filter" name="%(act_product_location_open)d" type="action"
332 context="{'location_id': active_id}"
335 <label for="name" class="oe_edit_only"/>
336 <h1><field name="name"/></h1>
337 <label for="location_id" class="oe_edit_only"/>
338 <h2><field name="location_id"/></h2>
342 <group string="Additional Information">
343 <field name="usage"/>
344 <field name="partner_id"/>
345 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
346 <field name="scrap_location"/>
347 <field name="active"/>
351 <group string="Localization" name="localization">
355 <field name="loc_barcode"/>
359 <group string="Logistics" groups="stock.group_adv_location">
360 <field name="removal_strategy_id" options="{'no_create': True}"/>
361 <field name="putaway_strategy_id"/>
365 <field name="comment" placeholder="External note..."/>
370 <record id="view_location_search" model="ir.ui.view">
371 <field name="name">stock.location.search</field>
372 <field name="model">stock.location</field>
373 <field name="arch" type="xml">
374 <search string="Stock Locations">
375 <field name="name" string="Stock Locations"/>
376 <filter icon="terp-go-home" name="in_location" string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations"/>
377 <filter icon="terp-personal" name="customer" string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations"/>
378 <filter icon="terp-personal" name="supplier" string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations"/>
379 <field name="location_id" string="Parent Location"/>
385 <record id="view_location_tree2" model="ir.ui.view">
386 <field name="name">stock.location.tree</field>
387 <field name="model">stock.location</field>
388 <field name="priority" eval="2"/>
389 <field name="arch" type="xml">
390 <tree string="Stock Location" colors="blue:usage=='view';darkred:usage=='internal'">
391 <field name="complete_name"/>
392 <field name="usage"/>
397 <record id="view_putaway" model="ir.ui.view">
398 <field name="name">product.putaway.form</field>
399 <field name="model">product.putaway</field>
400 <field name="arch" type="xml">
401 <form string="Putaway">
404 <field name="method"/>
406 <div attrs="{'invisible': [('method', '!=', 'fixed')]}">
407 <separator string="Fixed Locations Per Categories"/>
408 <field name="fixed_location_ids" colspan="4" nolabel="1">
409 <tree editable="top">
410 <field name="sequence" widget='handle'/>
411 <field name="category_id"/>
412 <field name="fixed_location_id"/>
420 <record id="view_removal" model="ir.ui.view">
421 <field name="name">product.removal.form</field>
422 <field name="model">product.removal</field>
423 <field name="arch" type="xml">
424 <form string="Removal">
427 <field name="method"/>
433 <record id="stock_location_path_tree" model="ir.ui.view">
434 <field name="name">stock.location.path.tree</field>
435 <field name="model">stock.location.path</field>
436 <field name="arch" type="xml">
437 <tree string="Location Paths">
438 <field name="location_from_id" />
439 <field name="location_dest_id" />
440 <field name="name" />
445 <record id="stock_location_path_form" model="ir.ui.view">
446 <field name="name">stock.location.path.form</field>
447 <field name="model">stock.location.path</field>
448 <field name="arch" type="xml">
449 <form string="Location Paths">
453 <field name="location_from_id"/>
454 <field name="location_dest_id"/>
457 <field name="company_id" groups="base.group_multi_company" />
458 <field name="picking_type_id"/>
460 <label for="delay" string="Delay"/>
462 <field name="delay" class="oe_inline"/>days
470 <record id="product_category_form_view_inherit" model="ir.ui.view">
471 <field name="name">product.category.form</field>
472 <field name="model">product.category</field>
473 <field name="inherit_id" ref="product.product_category_form_view" />
474 <field name="arch" type="xml">
475 <xpath expr="//group[@name='parent']" position="inside">
476 <group string="Logistics" colspan="2">
477 <field name="route_ids" widget="many2many_tags"/>
478 <div class="oe_inline" colspan="2">
479 <p attrs="{'invisible':[('parent_id','=',False)]}">
480 The following routes will apply to the products in this category taking into account parent categories:
481 <field name="total_route_ids" nolabel="1" widget="many2many_tags"/>
484 <field name="removal_strategy_id" options="{'no_create': True}"/>
491 <record id="action_location_form" model="ir.actions.act_window">
492 <field name="name">Locations</field>
493 <field name="res_model">stock.location</field>
494 <field name="type">ir.actions.act_window</field>
495 <field name="view_type">form</field>
496 <field name="view_id" ref="view_location_tree2"/>
497 <field name="search_view_id" ref="view_location_search"/>
498 <field name="context">{'search_default_in_location':1}</field>
499 <field name="help" type="html">
500 <p class="oe_view_nocontent_create">
501 Click to add a location.
503 Define your locations to reflect your warehouse structure and
504 organization. Odoo is able to manage physical locations
505 (warehouses, shelves, bin, etc), partner locations (customers,
506 suppliers) and virtual locations which are the counterpart of
507 the stock operations like the manufacturing orders
508 consumptions, inventories, etc.
510 Every stock operation in Odoo moves the products from one
511 location to another one. For instance, if you receive products
512 from a supplier, Odoo will move products from the Supplier
513 location to the Stock location. Each report can be performed on
514 physical, partner or virtual locations.
518 <menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations"
519 parent="menu_warehouse_config" sequence="2"/>
522 <record id="act_product_stock_move_open" model="ir.actions.act_window">
523 <field name="context">{'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}</field>
524 <field name="name">Moves</field>
525 <field name="res_model">stock.move</field>
528 <record id="view_warehouse" model="ir.ui.view">
529 <field name="name">stock.warehouse</field>
530 <field name="model">stock.warehouse</field>
531 <field name="arch" type="xml">
532 <form string="Warehouse">
534 <div class="oe_right oe_button_box">
535 <button name="view_all_routes_for_wh"
538 class="oe_stat_button"
541 <label for="name" class="oe_edit_only"/>
542 <h1><field name="name"/></h1>
548 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
549 <field name="partner_id"/>
551 <notebook colspan="4" groups="stock.group_adv_location">
552 <page string="Warehouse Configuration" colspan="4">
554 <field name="reception_steps" widget='radio'/>
555 <field name="delivery_steps" widget='radio'/>
556 <field name="default_resupply_wh_id" widget='selection' on_change="onchange_filter_default_resupply_wh_id(default_resupply_wh_id, resupply_wh_ids)"/>
557 <field name="resupply_wh_ids" domain="[('id', '!=', id)]" widget='many2many_checkboxes' on_change="onchange_filter_default_resupply_wh_id(default_resupply_wh_id, resupply_wh_ids)"/>
560 <page string="Technical Information" groups='base.group_no_one'>
562 <group string="Locations">
563 <field name="wh_input_stock_loc_id" readonly="1"/>
564 <field name="wh_qc_stock_loc_id" readonly="1"/>
565 <field name="wh_pack_stock_loc_id" readonly="1"/>
566 <field name="wh_output_stock_loc_id" readonly="1"/>
568 <group string="Picking Types">
569 <field name="in_type_id" readonly="1"/>
570 <field name="int_type_id" readonly="1"/>
571 <field name="pick_type_id" readonly="1"/>
572 <field name="pack_type_id" readonly="1"/>
573 <field name="out_type_id" readonly="1"/>
583 <record id="view_warehouse_tree" model="ir.ui.view">
584 <field name="name">stock.warehouse.tree</field>
585 <field name="model">stock.warehouse</field>
586 <field name="arch" type="xml">
587 <tree string="Warehouse">
589 <field name="lot_stock_id" groups="stock.group_locations"/>
590 <field name="partner_id"/>
594 <record id="action_warehouse_form" model="ir.actions.act_window">
595 <field name="name">Warehouses</field>
596 <field name="res_model">stock.warehouse</field>
597 <field name="type">ir.actions.act_window</field>
598 <field name="view_type">form</field>
599 <field name="view_id" ref="view_warehouse_tree"/>
600 <field name="help" type="html">
601 <p class="oe_view_nocontent_create">
602 Click to define a new warehouse.
606 <menuitem action="action_warehouse_form" id="menu_action_warehouse_form" groups="stock.group_locations"
607 parent="menu_warehouse_config" sequence="1"/>
611 Defaults and Internal Pickings
614 <record model="ir.ui.view" id="stock_picking_calendar">
615 <field name="name">stock.picking.calendar</field>
616 <field name="model">stock.picking</field>
617 <field name="priority" eval="2"/>
618 <field name="arch" type="xml">
619 <calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="partner_id">
620 <field name="origin"/>
621 <field name="picking_type_id"/>
622 <field name="partner_id"/>
627 <record id="vpicktree" model="ir.ui.view">
628 <field name="name">stock.picking.tree</field>
629 <field name="model">stock.picking</field>
630 <field name="arch" type="xml">
631 <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and min_date < current_date" string="Picking list">
633 <field name="location_dest_id"/>
634 <field name="partner_id"/>
636 <field name="min_date" invisible="1"/>
637 <field name="origin"/>
638 <field name="group_id" invisible="1"/>
639 <field name="backorder_id"/>
640 <field name="state"/>
641 <field name="priority" invisible="1"/>
642 <field name="picking_type_id" invisible="1"/>
647 <record id="view_picking_form" model="ir.ui.view">
648 <field name="name">stock.picking.form</field>
649 <field name="model">stock.picking</field>
650 <field eval="12" name="priority"/>
651 <field name="arch" type="xml">
652 <form string="Transfer">
654 <button name="action_confirm" states="draft" string="Mark as Todo" type="object" class="oe_highlight" groups="base.group_user"/>
655 <button name="action_assign" states="confirmed" string="Check Availability" type="object" class="oe_highlight" groups="base.group_user"/>
656 <button name="rereserve_pick" states="partially_available" string="Recheck Availability" type="object" class="oe_highlight" groups="base.group_user"/>
657 <button name="force_assign" states="confirmed,waiting,partially_available" string="Force Availability" type="object" groups="base.group_user"/>
658 <button name="do_enter_transfer_details" states="assigned,partially_available" string="Transfer" groups="stock.group_stock_user" type="object" class="oe_highlight"/>
659 <button name="do_print_picking" string="Print Picking List" groups="stock.group_stock_user" type="object" attrs="{'invisible': ['|', ('picking_type_code', '=', 'outgoing'), ('state', '!=', 'assigned')]}"/>
660 <button name="%(act_stock_return_picking)d" string="Reverse Transfer" states="done" type="action" groups="base.group_user"/>
661 <button name="action_cancel" states="assigned,confirmed,partially_available,draft" string="Cancel Transfer" groups="base.group_user" type="object"/>
662 <button name="do_unreserve" string="Unreserve" groups="base.group_user" type="object" attrs="{'invisible': [('quant_reserved_exist', '=', False)]}"/>
663 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,partially_available,assigned,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
666 <div class="oe_right oe_button_box">
667 <button name="do_partial_open_barcode" groups="stock.group_stock_user" type="object" class="oe_stock_scan_button" attrs="{'invisible': ['|',('pack_operation_exist', '=', True),('state','not in',('assigned', 'partially_available'))]}"><img src="/stock/static/src/img/scan.png" class="oe_stock_scan_image oe_stock_scan_image_btn"/></button>
668 <button name="open_barcode_interface" groups="stock.group_stock_user" type="object" class="oe_stock_scan_button" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state','not in',('assigned', 'partially_available'))]}"><img src="/stock/static/src/img/scan.png" class="oe_stock_scan_image oe_stock_scan_image_btn"/></button>
671 <field name="name" class="oe_inline" attrs="{'invisible': [('name','=','/')]}" readonly="1"/>
675 <field name="partner_id"/>
676 <field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
680 <field name="min_date"/>
681 <field name="origin" placeholder="e.g. PO0032" class="oe_inline"/>
682 <label for="owner_id" groups="stock.group_tracking_owner"/>
683 <div groups="stock.group_tracking_owner">
684 <field name="owner_id"/>
685 <button name="action_assign_owner" string="Assign Owner" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state', 'not in', ('draft','assigned','confirmed'))]}"
686 class="oe_link oe_edit_only"/>
691 <page string="Products">
692 <separator string="Stock Moves" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
693 <field name="move_lines" context="{'address_in_id': partner_id, 'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'stock.view_move_picking_tree', 'default_picking_type_id': picking_type_id,'default_picking_id': active_id}"/>
694 <field name="pack_operation_exist" invisible="1"/>
695 <field name="note" placeholder="Add an internal note..." class="oe_inline"/>
697 <page string="Operations" attrs="{'invisible': ['|', ('state','!=','done'), ('pack_operation_ids','=',[])]}">
698 <field name="pack_operation_ids" context="{'default_picking_id': active_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}">
699 <tree editable="top">
700 <field name="package_id" groups="stock.group_tracking_lot"/>
701 <field name="product_id" on_change="product_id_change(product_id, product_uom_id, product_qty)"/>
702 <field name="product_uom_id" groups="product.group_uom"/>
703 <field name="lot_id" domain="[('product_id','=?', product_id)]" context="{'product_id': product_id}" groups="stock.group_production_lot"/>
704 <field name="picking_id" invisible="1"/>
705 <field name="owner_id" groups="stock.group_tracking_owner"/>
706 <field name="product_qty" attrs="{'required': [('product_id', '!=', False)]}"/>
707 <field name="location_id" domain="[('id', 'child_of', parent.location_id)]"/>
708 <field name="location_dest_id" domain="[('id', 'child_of', parent.location_dest_id)]"/>
709 <field name="result_package_id" groups="stock.group_tracking_lot" context="{'location_id': location_dest_id}"/>
712 <p class="oe_grey" groups="stock.group_tracking_lot">
713 If there is no product but a source package, this means the source package was moved entirely. If there is a product and a source package, the product was taken from the source package.
716 <page string="Additional Info">
717 <group string="General Informations">
719 <field name="move_type"/>
720 <field name="picking_type_id"/>
721 <field name="picking_type_code" invisible="1"/>
722 <field name="quant_reserved_exist" invisible="1"/>
723 <field name="location_id" invisible="1"/>
724 <field name="location_dest_id" invisible="1"/>
727 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
728 <field name="date_done" groups="base.group_no_one"/>
729 <field name="group_id"/>
730 <field name="priority"/>
736 <div class="oe_chatter">
737 <field name="message_follower_ids" widget="mail_followers"/>
738 <field name="message_ids" widget="mail_thread"/>
744 <record id="view_picking_internal_search" model="ir.ui.view">
745 <field name="name">stock.picking.internal.search</field>
746 <field name="model">stock.picking</field>
747 <field name="arch" type="xml">
748 <search string="Picking Lists">
749 <field name="name" string="Picking List" filter_domain="['|',('name','ilike', self),('origin','ilike',self)]"/>
750 <filter icon="terp-check" name="draft" string="Draft" domain="[('state','=','draft')]" help="Draft Moves"/>
751 <filter icon="terp-check" name="available" string="Ready" domain="[('state','in',('assigned', 'partially_available'))]" help="Assigned Moves"/>
752 <filter icon="terp-check" name="waiting" string="Waiting Availability" domain="[('state','=', 'confirmed')]" help="Waiting Moves"/>
753 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in', ('confirmed', 'waiting', 'assigned'))]" help="Confirmed Moves"/>
754 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
756 <filter name="late" string="Late" domain="[('min_date','<', time.strftime('%%Y-%%m-%%d %%H:%%M:%%S'))]" help="Pickings that are late on scheduled time"/>
758 <filter name="backorder" string="Backorders" domain="[('backorder_id','<>', False)]" help="Remaining parts of picking partially processed"/>
759 <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
760 <field name="product_id"/>
761 <field name="picking_type_id"/>
762 <field name="group_id"/>
763 <group expand="0" string="Group By">
764 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
765 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
766 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
767 <filter string="Origin" domain="[]" context="{'group_by':'origin'}"/>
768 <filter string="Picking Type" domain="[]" context="{'group_by':'picking_type_id'}"/>
769 <filter string="Procurement Group" domain="[]" context="{'group_by':'group_id'}"/>
775 <record id="action_picking_tree_all" model="ir.actions.act_window">
776 <field name="name">Stock Operations</field>
777 <field name="res_model">stock.picking</field>
778 <field name="type">ir.actions.act_window</field>
779 <field name="view_type">form</field>
780 <field name="view_mode">tree,form,calendar</field>
781 <field name="domain"></field>
782 <field name="context">{
783 'contact_display': 'partner_address',
786 <field name="search_view_id" ref="view_picking_internal_search"/>
789 <record id="action_picking_tree_done" model="ir.actions.act_window">
790 <field name="name">Done Transfers</field>
791 <field name="res_model">stock.picking</field>
792 <field name="type">ir.actions.act_window</field>
793 <field name="view_type">form</field>
794 <field name="view_mode">tree,form,calendar</field>
795 <field name="domain"></field>
796 <field name="context">{
797 'search_default_picking_type_id': [active_id],
798 'default_picking_type_id': active_id,
799 'contact_display': 'partner_address',
800 'search_default_done': 1,
803 <field name="search_view_id" ref="view_picking_internal_search"/>
806 <record id="action_picking_tree_ready" model="ir.actions.act_window">
807 <field name="name">Ready Transfers</field>
808 <field name="res_model">stock.picking</field>
809 <field name="type">ir.actions.act_window</field>
810 <field name="view_type">form</field>
811 <field name="view_mode">tree,form,calendar</field>
812 <field name="domain"></field>
813 <field name="context">{
814 'search_default_picking_type_id': [active_id],
815 'default_picking_type_id': active_id,
816 'contact_display': 'partner_address',
817 'search_default_available': 1,
820 <field name="search_view_id" ref="view_picking_internal_search"/>
823 <record id="action_picking_tree_done_grouped" model="ir.actions.act_window">
824 <field name="name">Done Transfers by Date</field>
825 <field name="res_model">stock.picking</field>
826 <field name="type">ir.actions.act_window</field>
827 <field name="view_type">form</field>
828 <field name="view_mode">tree,form,calendar</field>
829 <field name="domain"></field>
830 <field name="context">{
831 'search_default_picking_type_id': [active_id],
832 'default_picking_type_id': active_id,
833 'contact_display': 'partner_address',
834 'search_default_done': 1,
835 'group_by': ['date'],
838 <field name="search_view_id" ref="view_picking_internal_search"/>
841 <record id="action_picking_tree_waiting" model="ir.actions.act_window">
842 <field name="name">Waiting Availability Transfers</field>
843 <field name="res_model">stock.picking</field>
844 <field name="type">ir.actions.act_window</field>
845 <field name="view_type">form</field>
846 <field name="view_mode">tree,form,calendar</field>
847 <field name="domain"></field>
848 <field name="context">{
849 'search_default_picking_type_id': [active_id],
850 'default_picking_type_id': active_id,
851 'contact_display': 'partner_address',
852 'search_default_waiting': 1,
855 <field name="search_view_id" ref="view_picking_internal_search"/>
858 <record id="action_picking_tree_late" model="ir.actions.act_window">
859 <field name="name">Late Transfers</field>
860 <field name="res_model">stock.picking</field>
861 <field name="type">ir.actions.act_window</field>
862 <field name="view_type">form</field>
863 <field name="view_mode">tree,form,calendar</field>
864 <field name="domain"></field>
865 <field name="context">{
866 'search_default_picking_type_id': [active_id],
867 'default_picking_type_id': active_id,
868 'contact_display': 'partner_address',
869 'search_default_late': 1,
870 'search_default_confirmed': 1,
873 <field name="search_view_id" ref="view_picking_internal_search"/>
876 <record id="action_picking_tree_backorder" model="ir.actions.act_window">
877 <field name="name">Backorders</field>
878 <field name="res_model">stock.picking</field>
879 <field name="type">ir.actions.act_window</field>
880 <field name="view_type">form</field>
881 <field name="view_mode">tree,form,calendar</field>
882 <field name="domain"></field>
883 <field name="context">{
884 'search_default_picking_type_id': [active_id],
885 'default_picking_type_id': active_id,
886 'contact_display': 'partner_address',
887 'search_default_backorder': 1,
888 'search_default_confirmed': 1,
891 <field name="search_view_id" ref="view_picking_internal_search"/>
894 <record id="action_picking_tree" model="ir.actions.act_window">
895 <field name="name">Transfers</field>
896 <field name="res_model">stock.picking</field>
897 <field name="type">ir.actions.act_window</field>
898 <field name="view_type">form</field>
899 <field name="view_mode">tree,form,calendar</field>
900 <field name="domain"></field>
901 <field name="context">{
902 'search_default_picking_type_id': [active_id],
903 'default_picking_type_id': active_id,
904 'contact_display': 'partner_address',
907 <field name="search_view_id" ref="view_picking_internal_search"/>
908 <field name="help" type="html">
909 <p class="oe_view_nocontent_create">
910 Click to create a stock operation.
912 Most operations are prepared automatically by Odoo according
913 to your preconfigured logistics rules, but you can also record
914 manual stock movements.
919 <record id="view_move_graph" model="ir.ui.view">
920 <field name="name">stock.move.graph</field>
921 <field name="model">stock.move</field>
922 <field name="arch" type="xml">
923 <graph string="Stock Moves Analysis" type="pivot">
924 <field name="product_id" type="row"/>
925 <field name="location_dest_id" groups="stock.group_locations" type="row"/>
926 <field name="product_uom_qty" type="measure"/>
931 <record id="view_move_tree" model="ir.ui.view">
932 <field name="name">stock.move.tree</field>
933 <field name="model">stock.move</field>
934 <field eval="8" name="priority"/>
935 <field name="arch" type="xml">
936 <tree colors="grey:state == 'cancel';red:(state not in ('cancel','done')) and date > current_date" string="Moves">
938 <field name="picking_id" string="Reference"/>
939 <field name="origin"/>
940 <field name="picking_type_id"/>
941 <field name="create_date" invisible="1" groups="base.group_no_one"/>
942 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
943 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
944 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
945 <field name="product_uos_qty" groups="product.group_uos"/>
946 <field name="product_uos" groups="product.group_uos"/>
947 <button name="%(stock.move_scrap)d"
948 string="Scrap Products" type="action"
949 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
950 states="draft,waiting,confirmed,assigned"
951 groups="stock.group_stock_user"/>
952 <field name="location_id" groups="stock.group_locations"/>
953 <field name="location_dest_id" groups="stock.group_locations"/>
954 <field name="date" groups="base.group_no_one"/>
955 <field name="date_expected"/>
956 <field name="state"/>
957 <button name="action_done" states="confirmed,assigned" string="Process" type="object"
958 groups="stock.group_stock_user" icon="gtk-go-forward" help="Done"/>
963 <record id="view_move_picking_tree" model="ir.ui.view">
964 <field name="name">stock.move.tree</field>
965 <field name="model">stock.move</field>
966 <field eval="4" name="priority"/>
967 <field name="arch" type="xml">
968 <tree colors="grey:scrapped == True" string="Stock Moves">
969 <field name="product_id"/>
970 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
971 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
972 <field name="product_uos_qty" groups="product.group_uos"/>
973 <field name="product_uos" groups="product.group_uos"/>
974 <field name="location_id" groups="stock.group_locations" invisible="1"/>
975 <field name="picking_id" invisible="1" />
976 <field name="create_date" invisible="1" />
977 <field name="date_expected" invisible="1" />
978 <button name="%(stock.move_scrap)d"
979 string="Scrap Products" type="action"
980 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
981 states="draft,waiting,confirmed,assigned"
982 groups="stock.group_stock_user"/>
983 <field name="scrapped" invisible="1"/>
984 <field name="availability" invisible="1"/>
985 <field name="reserved_availability" invisible="1"/>
986 <field name="location_dest_id" groups="stock.group_locations"/>
987 <field name="remaining_qty" invisible="1"/>
988 <field name="string_availability_info"/>
989 <field name="state"/>
994 <record id="view_move_form" model="ir.ui.view">
995 <field name="name">stock.move.form</field>
996 <field name="model">stock.move</field>
997 <field eval="1" name="priority"/>
998 <field name="arch" type="xml">
999 <form string="Stock Moves">
1001 <button name="action_confirm" states="draft" string="Process Later" type="object" class="oe_highlight"/>
1002 <button name="action_done" states="draft,assigned,confirmed" string="Process Entirely" type="object" class="oe_highlight"/>
1003 <button name="force_assign" states="confirmed" string="Set Available" type="object" class="oe_highlight"/>
1004 <button name="action_cancel" states="draft,assigned,confirmed" string="Cancel Move" type="object"/>
1005 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
1009 <group name="main_grp" colspan="4">
1010 <group name="main_grp_col1">
1011 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1012 <label for="product_uom_qty"/>
1014 <field name="product_uom_qty"
1015 on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"
1017 <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
1018 <button name="%(stock.move_scrap)d"
1019 string="Scrap" type="action"
1020 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1021 states="draft,waiting,confirmed,assigned" colspan="1"/>
1023 <field name="name"/>
1024 <label for="product_uos_qty" groups="product.group_uos"/>
1025 <div groups="product.group_uos">
1026 <field name="product_uos_qty"
1027 on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)"
1029 <field name="product_uos" class="oe_inline"/>
1032 <group name="main_grp_col2">
1033 <field name="picking_type_id"/>
1034 <field name="priority"/>
1035 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1036 <field name="date_expected" on_change="onchange_date(date,date_expected)" attrs="{'invisible': [('state', '=', 'done')]}"/>
1037 <field name="date" attrs="{'invisible': [('state', '!=', 'done')]}"/>
1040 <group name="origin_grp" string="Origin">
1041 <field name="origin"/>
1042 <field name="location_id" groups="stock.group_locations"/>
1043 <field name="picking_id" domain="[('picking_type_id','=',picking_type_id)]"/>
1044 <field name="create_date" groups="base.group_no_one"/>
1045 <field name="procure_method" attrs="{'readonly': [('state', '!=', 'draft')]}" groups="stock.group_adv_location"/>
1046 <field name="group_id"/>
1048 <group name="destination_grp" string="Destination" groups="stock.group_locations">
1049 <field name="location_dest_id" />
1050 <field name="partner_id" context="{'contact_display':'partner'}" />
1051 <field name="move_dest_id" groups="base.group_no_one" readonly="1"/>
1053 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1055 <field name="reserved_quant_ids"/>
1064 <record id="view_move_picking_form" model="ir.ui.view">
1065 <field name="name">stock.move.form</field>
1066 <field name="model">stock.move</field>
1067 <field eval="20" name="priority"/>
1068 <field name="arch" type="xml">
1069 <form string="Stock Moves">
1071 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_user"/>
1072 <button name="action_confirm" states="draft" string="Confirm" type="object" groups="base.group_user"/>
1073 <button name="do_unreserve" states="assigned" string="Cancel Availability" type="object" groups="base.group_user"/>
1074 <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done"/>
1078 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.partner_id)"/>
1079 <field name="procure_method" attrs="{'readonly': [('state', '!=', 'draft')]}" groups="stock.group_adv_location"/>
1080 <field name="picking_type_id" invisible="1"/>
1081 <label for="product_uom_qty"/>
1083 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1084 <field name="product_uom" string="Unit Of Measure" groups="product.group_uom" class="oe_inline"/>
1085 <button name="%(stock.move_scrap)d"
1086 string="Scrap" type="action"
1087 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1088 states="draft,waiting,confirmed,assigned"
1089 groups="base.group_user"/>
1091 <label for="product_uos_qty" groups="product.group_uos"/>
1092 <div groups="product.group_uos">
1093 <field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" class="oe_inline"/>
1094 <field name="product_uos" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1096 <field name="name"/>
1097 <field name="product_packaging" groups="product.group_stock_packaging" domain="[('product_tmpl_id','=',product_id)]"/>
1100 <field name="create_date" invisible="1"/>
1101 <field name="date"/>
1102 <field name="date_expected" on_change="onchange_date(date,date_expected)"/>
1103 <field name="move_dest_id" groups="base.group_no_one" readonly="1"/>
1105 <group string="Locations" groups="stock.group_locations">
1106 <field name="location_id" domain="[('usage','<>','view')]"/>
1107 <field name="location_dest_id" domain="[('usage','<>','view')]"/>
1109 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1110 <field name="reserved_quant_ids"/>
1117 <record id="view_move_search" model="ir.ui.view">
1118 <field name="name">stock.move.search</field>
1119 <field name="model">stock.move</field>
1120 <field eval="3" name="priority"/>
1121 <field name="arch" type="xml">
1122 <search string="Stock Moves">
1123 <field name="origin" filter_domain="['|', '|', ('origin', 'ilike', self), ('name', 'ilike', self), ('picking_id', 'ilike', self)]" string="Reference"/>
1124 <field name="date" groups="base.group_no_one"/>
1126 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1127 <filter icon="terp-stock" string="To Do" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1128 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1130 <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"/>
1131 <field name="product_id"/>
1132 <field name="name" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1133 <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','child_of',self)]"/>
1134 <group expand="0" string="Group By">
1135 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1136 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1137 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}" groups="stock.group_locations"/>
1138 <filter string="Destination" name="groupby_dest_location_id" icon="terp-gtk-jump-to-ltr" domain="[]" context="{'group_by':'location_dest_id'}" groups="stock.group_locations"/>
1139 <filter icon="terp-stock_effects-object-colorize" string="Status" domain="[]" context="{'group_by':'state'}"/>
1140 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}" groups="base.group_no_one"/>
1141 <filter string="Scheduled" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date_expected'}"/>
1147 <record id="action_move_form2" model="ir.actions.act_window">
1148 <field name="name">Stock Moves</field>
1149 <field name="res_model">stock.move</field>
1150 <field name="type">ir.actions.act_window</field>
1151 <field name="view_type">form</field>
1152 <field name="view_id" ref="view_move_tree"/>
1153 <field name="search_view_id" ref="view_move_search"/>
1154 <field name="context">{}</field>
1155 <field name="help" type="html">
1156 <p class="oe_view_nocontent_create">
1157 Click to create a stock movement.
1159 This menu gives you the full traceability of inventory
1160 operations on a specific product. You can filter on the product
1161 to see all the past or future movements for the product.
1166 <record model="ir.actions.act_window.view" id="action_stock_move_tree_all">
1167 <field name="sequence" eval="1"/>
1168 <field name="view_mode">tree</field>
1169 <field name="view_id" ref="view_move_tree"/>
1170 <field name="act_window_id" ref="action_move_form2"/>
1173 <record model="ir.actions.act_window.view" id="action_stock_move_form_all">
1174 <field name="sequence" eval="3"/>
1175 <field name="view_mode">form</field>
1176 <field name="view_id" ref="view_move_form"/>
1177 <field name="act_window_id" ref="action_move_form2"/>
1180 <record model="ir.actions.act_window.view" id="action_stock_move_graph_all">
1181 <field name="sequence" eval="3"/>
1182 <field name="view_mode">graph</field>
1183 <field name="view_id" ref="view_move_graph"/>
1184 <field name="act_window_id" ref="action_move_form2"/>
1187 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="1" groups="stock.group_locations"/>
1190 Receipt Picking (By Stock Move)
1191 From stock_partial_move_view
1193 <record id="view_move_tree_receipt_picking" model="ir.ui.view">
1194 <field name="name">stock.move.tree2</field>
1195 <field name="model">stock.move</field>
1196 <field name="priority" eval="6"/>
1197 <field name="arch" type="xml">
1198 <tree colors="grey:state == 'cancel'" string="Moves">
1199 <field name="date" widget="date"/>
1200 <field name="picking_id" string="Reference" invisible="1"/>
1201 <field name="origin"/>
1202 <field name="partner_id" string="Supplier"/>
1203 <field name="product_id"/>
1204 <field name="product_uom_qty"/>
1205 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1206 <field name="location_id" invisible="1"/>
1207 <field name="location_dest_id" invisible="1"/>
1208 <field name="create_date" invisible="1"/>
1209 <field name="date_expected" invisible="1"/>
1210 <button name="%(stock.move_scrap)d"
1211 string="Scrap Products" type="action"
1212 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1213 states="draft,waiting,confirmed,assigned"
1214 groups="stock.group_stock_user"/>
1215 <field name="state"/>
1216 <button name="action_done" states="draft,assigned,confirmed"
1217 icon="gtk-go-forward" type="object" groups="stock.group_stock_user"
1218 class="oe_highlight" help="Done"/>
1224 <record id="view_move_tree_receipt_picking_board" model="ir.ui.view">
1225 <field name="name">stock.move.tree3</field>
1226 <field name="model">stock.move</field>
1227 <field eval="6" name="priority"/>
1228 <field name="arch" type="xml">
1229 <tree string="Moves">
1230 <field name="picking_id" string="Reference"/>
1231 <field name="product_id"/>
1232 <field name="product_uom_qty"/>
1233 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1234 <field name="date" groups="base.group_no_one"/>
1239 <record id="action_receipt_picking_move" model="ir.actions.act_window">
1240 <field name="name">Incoming Products</field>
1241 <field name="res_model">stock.move</field>
1242 <field name="type">ir.actions.act_window</field>
1243 <field name="view_type">form</field>
1244 <field name="view_mode">tree,form</field>
1245 <field name="domain" eval="[('picking_id.picking_type_id.code','=','incoming'), ('location_id.usage','!=','internal'), ('location_dest_id.usage', '=', 'internal')]"/>
1246 <field name="view_id" ref="view_move_tree_receipt_picking"/>
1247 <field name="context">{'product_receive': True, 'search_default_future': True}</field>
1248 <field name="help" type="html">
1249 <p class="oe_view_nocontent_create">
1250 Click to register a product receipt.
1252 Here you can receive individual products, no matter what
1253 purchase order or picking order they come from. You will find
1254 the list of all products you are waiting for. Once you receive
1255 an order, you can filter based on the name of the supplier or
1256 the purchase order reference. Then you can confirm all products
1257 received using the buttons on the right of each line.
1262 <!-- Stock incoterms -->
1263 <record id="view_incoterms_tree" model="ir.ui.view">
1264 <field name="name">stock.incoterms.tree</field>
1265 <field name="model">stock.incoterms</field>
1266 <field name="arch" type="xml">
1267 <tree string="Incoterms">
1268 <field name="code"/>
1269 <field colspan="4" name="name"/>
1273 <record id="stock_incoterms_form" model="ir.ui.view">
1274 <field name="name">stock.incoterms.form</field>
1275 <field name="model">stock.incoterms</field>
1276 <field name="arch" type="xml">
1277 <form string="Incoterms">
1280 <field name="name"/>
1281 <field name="code"/>
1282 <field name="active"/>
1288 <record id="action_incoterms_tree" model="ir.actions.act_window">
1289 <field name="name">Incoterms</field>
1290 <field name="res_model">stock.incoterms</field>
1291 <field name="type">ir.actions.act_window</field>
1292 <field name="view_type">form</field>
1293 <field name="view_mode">tree,form</field>
1296 <menuitem action="action_incoterms_tree" id="menu_action_incoterm_open" parent="menu_warehouse_config" sequence="4"/>
1298 <record id="view_pickingtype_filter" model="ir.ui.view">
1299 <field name="name">stock.picking.type.filter</field>
1300 <field name="model">stock.picking.type</field>
1301 <field name="arch" type="xml">
1302 <search string="Picking Type">
1303 <field name="name"/>
1304 <field name="sequence_id"/>
1305 <field name="warehouse_id"/>
1309 <record model="ir.ui.view" id="view_picking_type_tree">
1310 <field name="name">Picking types</field>
1311 <field name="model">stock.picking.type</field>
1312 <field name="arch" type="xml">
1313 <tree string="Picking Types">
1314 <field name="sequence" widget="handle"/>
1315 <field name="name"/>
1316 <field name="warehouse_id"/>
1317 <field name="sequence_id"/>
1321 <record model="ir.ui.view" id="view_picking_type_form">
1322 <field name="name">Picking Types</field>
1323 <field name="model">stock.picking.type</field>
1324 <field name="arch" type="xml">
1325 <form string="Picking Types">
1329 <field name="name"/>
1330 <field name="sequence_id"/>
1331 <field name="warehouse_id"/>
1334 <field name="code" on_change="onchange_picking_code(code)"/>
1335 <field name="return_picking_type_id"/>
1338 <separator string="Locations"/>
1340 <field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}"/>
1341 <field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}"/>
1349 <record id="stock_picking_type_kanban" model="ir.ui.view">
1350 <field name="name">stock.picking.type.kanban</field>
1351 <field name="model">stock.picking.type</field>
1352 <field name="arch" type="xml">
1353 <kanban class="oe_background_grey" create="0">
1354 <field name="complete_name"/>
1355 <field name="color"/>
1356 <field name="count_picking_ready"/>
1357 <field name="count_picking_draft"/>
1358 <field name="count_picking_waiting"/>
1359 <field name="count_picking_late"/>
1360 <field name="count_picking_backorders"/>
1362 <t t-name="kanban-box">
1363 <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_stock_picking_type">
1364 <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="stock.group_stock_manager">
1365 <span class="oe_e">í</span>
1366 <ul class="oe_dropdown_menu">
1367 <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
1368 <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
1369 <t t-if="widget.view.is_action_enabled('edit')"><li><ul class="oe_kanban_colorpicker" data-field="color"/></li></t>
1372 <div class="oe_stock_kanban_content">
1373 <h4 class="text-center"><strong><field name="complete_name"/></strong></h4>
1374 <div class="oe_right">
1375 <a name="open_barcode_interface" type="object">
1376 <img src="/stock/static/src/img/scan.png"
1377 alt="Click to launch the barcode interface"
1378 class="oe_stock_scan_image" title="Click to launch the barcode interface"/>
1382 <div class="col-md-8">
1383 <a name="%(action_picking_tree_ready)d" type="action" class="col-md-9">
1384 <field name="count_picking_ready"/> Ready
1386 <a name="%(action_picking_tree_done)d" type="action" class="col-md-3">
1387 <field name="last_done_picking" widget="sparkline_bar" options="{'type': 'tristate', 'colorMap': {'0': 'orange', '-1': 'red', '1': 'green'}}">Last 10 Done Operations</field>
1389 <t t-if="record.count_picking_waiting.raw_value > 0">
1390 <a name="%(action_picking_tree_waiting)d" type="action" class="col-md-12">
1391 <field name="count_picking_waiting"/> Waiting Availability
1394 <a class="col-md-9" name="%(action_picking_tree)d" type="action">All Operations</a>
1398 <field name="rate_picking_late" widget="gauge" style="margin-left:15px; width:150px; height: 110px;" options="{'levelcolors': ['#a9d70b', '#f9c802', '#ff0000'], 'action_jump': '%(action_picking_tree_late)d'}">Late (%%)</field>
1399 <field name="rate_picking_backorders" widget="gauge" style="margin-left:15px; width:150px; height: 110px;">Backorders (%%)</field>
1400 <a name="%(action_picking_tree_late)d" type="action" class="text-center col-md-6">
1401 <field name="count_picking_late"/> Late
1403 <a name="%(action_picking_tree_backorder)d" type="action" class="text-center col-md-6">
1404 <field name="count_picking_backorders"/> Backorders
1415 <record id="action_picking_type_form" model="ir.actions.act_window">
1416 <field name="name">All Operations</field>
1417 <field name="res_model">stock.picking.type</field>
1418 <field name="type">ir.actions.act_window</field>
1419 <field name="view_type">form</field>
1420 <field name="view_mode">kanban,form</field>
1421 <field name="help" type="html">
1422 <p class="oe_view_nocontent_create">
1423 Click to create a new picking type.
1425 The picking type system allows you to assign each stock
1426 operation a specific type which will alter its views accordingly.
1427 On the picking type you could e.g. specify if packing is needed by default,
1428 if it should show the customer.
1433 <record id="action_picking_type_list" model="ir.actions.act_window">
1434 <field name="name">All Operations</field>
1435 <field name="res_model">stock.picking.type</field>
1436 <field name="type">ir.actions.act_window</field>
1437 <field name="view_type">form</field>
1438 <field name="view_mode">list,form</field>
1442 action="action_picking_type_form"
1443 id="menu_action_picking_type_form"
1444 parent="menu_stock_warehouse_mgmt" sequence="1"/>
1447 id="menu_pickingtype"
1448 name="Types of Operation"
1449 parent="stock.menu_stock_configuration"
1450 action="action_picking_type_list" />
1453 <!-- Order Point -->
1454 <record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
1455 <field name="name">stock.warehouse.orderpoint.tree</field>
1456 <field name="model">stock.warehouse.orderpoint</field>
1457 <field name="arch" type="xml">
1458 <tree string="Reordering Rules">
1459 <field name="name"/>
1460 <field name="warehouse_id" groups="stock.group_locations"/>
1461 <field name="location_id" groups="stock.group_locations"/>
1462 <field name="product_id"/>
1463 <field name="product_uom" groups="product.group_uom"/>
1464 <field name="product_min_qty"/>
1465 <field name="product_max_qty"/>
1470 <record model="ir.ui.view" id="warehouse_orderpoint_search">
1471 <field name="name">stock.warehouse.orderpoint.search</field>
1472 <field name="model">stock.warehouse.orderpoint</field>
1473 <field name="arch" type="xml">
1474 <search string="Reordering Rules Search">
1475 <field name="name" string="Reordering Rules"/>
1476 <field name="warehouse_id"/>
1477 <field name="location_id" groups="stock.group_locations"/>
1478 <field name="company_id" groups="base.group_multi_company"/>
1479 <field name="product_id"/>
1480 <group expand="0" string="Group By">
1481 <filter string="Warehouse" icon="terp-go-home" domain="[]" context="{'group_by':'warehouse_id'}"/>
1482 <filter string="Location" icon="terp-go-home" domain="[]" context="{'group_by':'location_id'}"/>
1488 <record id="view_warehouse_orderpoint_form" model="ir.ui.view">
1489 <field name="name">stock.warehouse.orderpoint.form</field>
1490 <field name="model">stock.warehouse.orderpoint</field>
1491 <field name="arch" type="xml">
1492 <form string="Reordering Rules">
1494 <div class="oe_right oe_button_box">
1495 <button name="action_view_proc_to_process" type="object" string="Procurement Orders to Process"/>
1499 <field name="name" />
1500 <field name="product_id" on_change="onchange_product_id(product_id)"/>
1503 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
1504 <field name="product_uom" groups="product.group_uom"/>
1505 <field name="location_id" groups="stock.group_locations"/>
1506 <field name="group_id" groups="stock.group_adv_location"/>
1507 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1511 <group string="Rules">
1512 <field name="product_min_qty" />
1513 <field name="product_max_qty" />
1514 <field name="qty_multiple" string="Quantity Multiple"/>
1516 <group string="Misc">
1517 <field name="active" />
1525 <record id="action_orderpoint_form" model="ir.actions.act_window">
1526 <field name="name">Reordering Rules</field>
1527 <field name="res_model">stock.warehouse.orderpoint</field>
1528 <field name="type">ir.actions.act_window</field>
1529 <field name="view_type">form</field>
1530 <field name="view_id" ref="view_warehouse_orderpoint_tree"/>
1531 <field name="search_view_id" ref="warehouse_orderpoint_search" />
1532 <field name="help" type="html">
1533 <p class="oe_view_nocontent_create">
1534 Click to add a reordering rule.
1535 </p><p>You can define your minimum stock rules, so that Odoo will automatically create draft manufacturing orders or request for quotations according to the stock level. Once the virtual stock of a product (= stock on hand minus all confirmed orders and reservations) is below the minimum quantity, Odoo will generate a procurement request to increase the stock up to the maximum quantity.</p>
1540 context="{'search_default_warehouse_id': active_id, 'default_warehouse_id': active_id}"
1541 id="act_stock_warehouse_2_stock_warehouse_orderpoint"
1542 name="Reordering Rules"
1543 res_model="stock.warehouse.orderpoint"
1544 src_model="stock.warehouse"
1545 groups="stock.group_stock_user"/>
1547 <!-- Procurements -->
1549 <record id="view_procurement_form_stock_inherit" model="ir.ui.view">
1550 <field name="name">procurement.order.form.stock.inherit</field>
1551 <field name="model">procurement.order</field>
1552 <field name="inherit_id" ref="procurement.procurement_form_view"/>
1553 <field name="arch" type="xml">
1554 <xpath expr="//group[@name='scheduling']" position="before">
1556 <field name="warehouse_id" on_change="change_warehouse_id(warehouse_id, context)"/>
1557 <field name="location_id" domain="[('usage', '=', 'internal')]"/>
1558 <field name="route_ids" widget="many2many_tags"/>
1561 <xpath expr="//div[@name='button_box']" position="inside">
1562 <button name="do_view_pickings" class="oe_stat_button" icon="fa-bars" string="Group's Pickings" type="object"/>
1564 <xpath expr="//field[@name='rule_id']" position="replace">
1565 <field name="rule_id" domain="['|', ('location_id', '=', False), ('location_id', '=', location_id)]"/>
1566 <field name="partner_dest_id"/>
1570 <record id="view_procurement_tree_stock_inherit" model="ir.ui.view">
1571 <field name="name">procurement.order.tree.stock.inherit</field>
1572 <field name="model">procurement.order</field>
1573 <field name="inherit_id" ref="procurement.procurement_tree_view"/>
1574 <field name="arch" type="xml">
1575 <xpath expr="//field[@name='origin']" position="before">
1576 <field name="location_id"/>
1580 <record id="view_procurement_rule_tree_stock_inherit" model="ir.ui.view">
1581 <field name="name">procurement.rule.tree.stock.inherit</field>
1582 <field name="model">procurement.rule</field>
1583 <field name="inherit_id" ref="procurement.view_procurement_rule_tree"/>
1584 <field name="arch" type="xml">
1585 <xpath expr="//field[@name='action']" position="after">
1586 <field name="picking_type_id"/>
1591 <record id="view_procurement_rule_form_stock_inherit" model="ir.ui.view">
1592 <field name="name">procurement.rule.form.stock.inherit</field>
1593 <field name="model">procurement.rule</field>
1594 <field name="inherit_id" ref="procurement.view_procurement_rule_form"/>
1595 <field name="arch" type="xml">
1596 <xpath expr="//field[@name='action']" position="before">
1597 <field name="location_id"/>
1598 <field name="warehouse_id" groups="base.group_no_one"/>
1599 <field name="route_id" groups="base.group_no_one"/>
1601 <xpath expr="//field[@name='action']" position="after">
1602 <field name="picking_type_id" attrs="{'required': [('action', '!=', 'manufacture')]}"/>
1604 <xpath expr="//field[@name='group_id']" position="after">
1605 <field name="propagate"/>
1606 <field name="propagate_warehouse_id"/>
1608 <xpath expr="//group[@name='propagation_group']" position="before">
1609 <group attrs="{'invisible': [('action', '!=', 'move')]}" string="Moving Options">
1610 <field name="procure_method" groups="stock.group_adv_location"/>
1611 <field name="location_src_id" attrs="{'required': [('action', '=', 'move')]}" domain="[('usage','!=','view')]" />
1612 <field name="partner_address_id" groups="stock.group_adv_location" context="{'show_address': 1}" options="{'always_reload': 1}"/>
1613 <label for="delay" string="Delay" groups="stock.group_adv_location"/>
1614 <div groups="stock.group_adv_location">
1615 <field name="delay" class="oe_inline"/>days
1622 <record model="ir.actions.act_window" id="procrules">
1623 <field name="context">{}</field>
1624 <field name="name">Pull Rules</field>
1625 <field name="res_model">procurement.rule</field>
1628 <record id="quant_search_view" model="ir.ui.view">
1629 <field name="name">stock.quant.search</field>
1630 <field name="model">stock.quant</field>
1631 <field eval="10" name="priority"/>
1632 <field name="arch" type="xml">
1633 <search string="Quants">
1634 <field name="product_id"/>
1635 <field name="location_id"/>
1636 <field name="package_id" groups="stock.group_tracking_lot"/>
1637 <field name="lot_id" groups="stock.group_production_lot"/>
1638 <field name="owner_id" groups="stock.group_tracking_owner"/>
1639 <group expand='0' string='Filters'>
1640 <filter name='internal_loc' string="Internal Locations" domain="[('location_id.usage','=', 'internal')]"/>
1642 <group expand='0' string='Group by...'>
1643 <filter name="productgroup" string='Product' context="{'group_by' : 'product_id'}"/>
1644 <filter string='Owner' context="{'group_by' : 'owner_id'}" groups="stock.group_tracking_owner"/>
1645 <filter string='Lot' context="{'group_by' : 'lot_id'}" groups="stock.group_production_lot"/>
1646 <filter name="locationgroup" string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1647 <filter string='Package' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'package_id'}" groups="stock.group_tracking_lot"/>
1648 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_type_id'}" groups="stock.group_tracking_lot"/>
1649 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1655 <record model="ir.actions.act_window" id="quantsact">
1656 <field name="name">Quants</field>
1657 <field name="res_model">stock.quant</field>
1658 <field name="view_type">form</field>
1659 <field name="view_mode">tree,form,graph</field>
1660 <field name="help">This analysis gives you a fast overview on the current stock level of your products and their today's inventory value.</field>
1663 <record model="ir.ui.view" id="view_stock_quant_form">
1664 <field name="name">stock.quant.form</field>
1665 <field name="model">stock.quant</field>
1666 <field eval="10" name="priority"/>
1667 <field name="arch" type="xml">
1668 <form string="Quants" create="false" edit="false">
1669 <div class="oe_right oe_button_box">
1670 <button name="action_view_quant_history" type="object" string="Quant History"/>
1673 <field name="product_id"/>
1675 <field name="lot_id" groups="stock.group_production_lot"/>
1676 <field name="package_id" groups="stock.group_tracking_lot"/>
1677 <field name="location_id"/>
1678 <field name="in_date"/>
1679 <field name="reservation_id"/>
1680 <field name="propagated_from_id"/>
1681 <field name="owner_id" groups="stock.group_tracking_owner"/>
1682 <field name="inventory_value"/>
1689 <record model="ir.ui.view" id="view_stock_quant_tree">
1690 <field name="name">stock.quant.tree</field>
1691 <field name="model">stock.quant</field>
1692 <field eval="10" name="priority"/>
1693 <field name="arch" type="xml">
1694 <tree string="Quants" create="0">
1695 <field name="product_id"/>
1697 <field name="location_id"/>
1698 <field name="owner_id" groups="stock.group_tracking_owner"/>
1699 <field name="lot_id" groups="stock.group_production_lot"/>
1700 <field name="package_id" groups="stock.group_tracking_lot"/>
1701 <field name="packaging_type_id" invisible="1"/>
1702 <field name="in_date"/>
1703 <field name="inventory_value"/>
1704 <field name="reservation_id" invisible='1'/>
1705 <field name="propagated_from_id" invisible='1'/>
1706 <field name='company_id' groups="base.group_multi_company"/>
1711 <record model="ir.ui.view" id="view_stock_quant_graph_value">
1712 <field name="name">stock.quant.graph</field>
1713 <field name="model">stock.quant</field>
1714 <field eval="12" name="priority"/>
1715 <field name="arch" type="xml">
1716 <graph string="Quants">
1717 <field name="product_id"/>
1719 <field name="location_id"/>
1724 <!-- Procurements are located in Warehouse menu hierarchy, MRP users should come to Stock application to use it. -->
1725 <menuitem id="menu_stock_sched" name="Schedulers" parent="stock.menu_stock_root" sequence="4" groups="stock.group_stock_manager"/>
1726 <menuitem action="action_procurement_compute" id="menu_procurement_compute" parent="menu_stock_sched" groups="base.group_no_one" sequence="2"/>
1727 <menuitem action="procurement.action_compute_schedulers" id="menu_stock_proc_schedulers" parent="menu_stock_sched" sequence="1" groups="stock.group_stock_manager"/>
1728 <menuitem action="procurement.procurement_exceptions" id="menu_stock_procurement_action" parent="menu_stock_sched" sequence="50" groups="stock.group_stock_manager"/>
1729 <menuitem id="menu_stock_procurement" name="Automatic Procurements" parent="stock.menu_stock_configuration" sequence="5"/>
1730 <menuitem action="action_orderpoint_form" id="menu_stock_order_points" parent="stock.menu_schedulers_config" sequence="1"/>
1731 <menuitem id="stock.next_id_61" name="Warehouse" sequence="40" parent="base.menu_reporting" groups="group_stock_manager"/>
1732 <menuitem id="menu_quants" name="Quants" parent="menu_traceability" sequence="20" action="quantsact" groups="base.group_no_one"/>
1733 <menuitem id="menu_procurement_rules" name="Procurement Rules" parent="stock.menu_schedulers_config" action="procrules" groups="base.group_no_one" sequence="2"/>
1734 <menuitem id="menu_pickingtype" name="Operations Types" parent="stock.menu_warehouse_config" action="action_picking_type_list" sequence="3"/>
1737 <record model="ir.actions.act_window" id="product_open_orderpoint">
1738 <field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
1739 <field name="name">Reordering Rules</field>
1740 <field name="res_model">stock.warehouse.orderpoint</field>
1743 <record model="ir.actions.act_window" id="product_open_quants">
1744 <field name="context">{'search_default_internal_loc': 1, 'search_default_product_id': active_id, 'search_default_locationgroup':1}</field>
1745 <field name="name">Current Stock</field>
1746 <field name="res_model">stock.quant</field>
1749 <record model="ir.ui.view" id="view_quant_package_form">
1750 <field name="name">stock.quant.package.form</field>
1751 <field name="model">stock.quant.package</field>
1752 <field eval="10" name="priority"/>
1753 <field name="arch" type="xml">
1754 <form string="Package">
1756 <div class="oe_right oe_button_box">
1757 <button name="unpack" string="Unpack" type="object"/>
1759 <div class="oe_title">
1760 <label for="name" string="Package Reference" class="oe_edit_only"/>
1761 <h1><field name="name" class="oe_inline"/></h1>
1765 <field name="ul_id"/>
1766 <field name="packaging_id"/>
1767 <field name='company_id' groups="base.group_multi_company"/>
1768 <field name='owner_id' groups="stock.group_tracking_owner"/>
1771 <field name="location_id"/>
1772 <field name="parent_id"/>
1776 <page string="Content">
1777 <separator string="Bulk Content" />
1778 <field name="quant_ids">
1779 <tree string="Quants">
1780 <field name="product_id"/>
1782 <field name="location_id"/>
1783 <field name="in_date"/>
1787 <div class="oe_right oe_button_box" style="margin-top: 10px">
1788 <button name="get_content_package" type="object" string="View Contained Packages content" icon="gtk-execute" attrs="{'invisible': [('children_ids','=',[])]}"/>
1790 <separator string="Contained Packages"/>
1791 <field name="children_ids">
1792 <tree string="Contained Packages">
1793 <field name="complete_name"/>
1794 <field name="ul_id"/>
1795 <field name="packaging_id"/>
1796 <field name="location_id"/>
1807 <record model="ir.ui.view" id="view_quant_package_tree">
1808 <field name="name">stock.quant.package.tree</field>
1809 <field name="model">stock.quant.package</field>
1810 <field eval="10" name="priority"/>
1811 <field name="arch" type="xml">
1812 <tree string="Package">
1813 <field name="complete_name"/>
1814 <field name="ul_id"/>
1815 <field name="packaging_id"/>
1816 <field name="location_id"/>
1817 <field name="company_id"/>
1821 <record id="quant_package_search_view" model="ir.ui.view">
1822 <field name="name">stock.quant.package.search</field>
1823 <field name="model">stock.quant.package</field>
1824 <field eval="10" name="priority"/>
1825 <field name="arch" type="xml">
1826 <search string="Package">
1827 <field name="name" string="Package Name"/>
1828 <field name="location_id"/>
1829 <field name="ul_id"/>
1830 <field name="packaging_id"/>
1831 <group expand='0' string='Group by...'>
1832 <filter string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1833 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_id'}"/>
1834 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1839 <record model="ir.actions.act_window" id="action_package_view">
1840 <field name="context">{}</field>
1841 <field name="name">Packages</field>
1842 <field name="res_model">stock.quant.package</field>
1843 <field name="help" type="html">
1844 <p>Packages are usually created by pack operations made on transfers and can contains several different products. You can then reuse a package to move its whole content somewhere else, or to pack it into another bigger package. A package can also be unpacked, allowing the disposal of its former content as single units again.
1848 <menuitem id="menu_package" name="Packages" parent="menu_stock_product" action="action_package_view" groups="stock.group_tracking_lot" sequence="4"/>
1852 <record id="stock_location_route_tree" model="ir.ui.view">
1853 <field name="name">stock.location.route.tree</field>
1854 <field name="model">stock.location.route</field>
1855 <field name="arch" type="xml">
1856 <tree string="Routes">
1857 <field name="sequence" widget="handle" />
1858 <field name="name"/>
1863 <record id="stock_location_route_form_view" model="ir.ui.view">
1864 <field name="name">stock.location.route.form</field>
1865 <field name="model">stock.location.route</field>
1866 <field eval="7" name="priority" />
1867 <field name="arch" type="xml">
1868 <form string="Route">
1870 <div class="oe_title">
1871 <label for="name" class="oe_edit_only"/>
1872 <h1><field name="name"/></h1>
1876 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1877 <field name="active" groups="stock.group_adv_location" />
1880 <field name="sequence" string="Sequence" groups="base.group_no_one"/>
1883 <separator string="Applicable On"/>
1884 <p class="oe_grey">Select the places where this route can be selected</p>
1887 <field name="product_categ_selectable" string="Product Categories"/>
1888 <field name="product_selectable" string="Products"/>
1891 <field name="warehouse_selectable" string="Warehouses"/>
1894 <group string="Push Rules" colspan="4" >
1895 <field name="push_ids" colspan="4" nolabel="1"/>
1897 <group string="Pull Rules" colspan="4" >
1898 <field name="pull_ids" colspan="4" nolabel="1"/>
1905 <record id="action_routes_form" model="ir.actions.act_window">
1906 <field name="name">Routes</field>
1907 <field name="res_model">stock.location.route</field>
1908 <field name="type">ir.actions.act_window</field>
1909 <field name="view_type">form</field>
1910 <field name="view_mode">tree,form</field>
1911 <field name="view_id" ref="stock_location_route_tree" />
1912 <field name="help" type="html">
1913 <p class="oe_view_nocontent_create">
1914 Click to add a route.
1916 <p>You can define here the main routes that run through
1917 your warehouses and that define the flows of your products. These
1918 routes can be assigned to a product, a product category or be fixed
1919 on procurement or sales order. </p>
1923 <menuitem action="action_routes_form" id="menu_stock_routes"
1924 parent="stock.menu_schedulers_config" sequence="3" />
1926 <record id="do_view_pickings" model="ir.actions.act_window">
1927 <field name="name">Pickings for Groups</field>
1928 <field name="res_model">stock.picking</field>
1929 <field name="view_type">form</field>
1930 <field name="view_mode">tree,form</field>
1931 <field name="domain">[('group_id','=',active_id)]</field>
1933 <record id="procurement_group_form_view_herited" model="ir.ui.view">
1934 <field name="name">procurement.group.form.herited</field>
1935 <field name="model">procurement.group</field>
1936 <field name="inherit_id" ref="procurement.procurement_group_form_view"/>
1937 <field name="arch" type="xml">
1938 <xpath expr="//div[@name='button_box']" position="inside">
1939 <button name="%(do_view_pickings)d" string="Pickings" type="action"/>
1944 <!-- Barcode Nomenclatures -->
1945 <menuitem parent="menu_stock_configuration" action="pos_barcodes.action_barcode_nomenclature_form" id="menu_wms_barcode_nomenclature_all"