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_product_in_config_stock" sequence="4" 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>
311 <record id="view_location_form" model="ir.ui.view">
312 <field name="name">stock.location.form</field>
313 <field name="model">stock.location</field>
314 <field name="arch" type="xml">
315 <form string="Stock Location">
316 <div class="oe_right oe_button_box" name="buttons">
317 <button string="Current Stock"
318 class="oe_stat_button"
319 icon="fa-building-o" name="%(location_open_quants)d" type="action"
320 context="{'search_default_internal_loc': 1}"/>
322 <label for="name" class="oe_edit_only"/>
323 <h1><field name="name"/></h1>
324 <label for="location_id" class="oe_edit_only"/>
325 <h2><field name="location_id"/></h2>
328 <group string="Additional Information">
329 <field name="usage"/>
330 <field name="partner_id"/>
331 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
332 <field name="scrap_location"/>
333 <field name="active"/>
335 <group string="Localization" name="localization">
339 <field name="loc_barcode"/>
341 <group string="Logistics" groups="stock.group_adv_location">
342 <field name="removal_strategy_id" options="{'no_create': True}"/>
343 <field name="putaway_strategy_id"/>
346 <separator string="Additional Information"/>
347 <field name="comment"/>
352 <record id="view_location_search" model="ir.ui.view">
353 <field name="name">stock.location.search</field>
354 <field name="model">stock.location</field>
355 <field name="arch" type="xml">
356 <search string="Stock Locations">
357 <field name="name" string="Stock Locations"/>
358 <filter icon="terp-go-home" name="in_location" string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations"/>
359 <filter icon="terp-personal" name="customer" string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations"/>
360 <filter icon="terp-personal" name="supplier" string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations"/>
361 <field name="location_id" string="Parent Location"/>
367 <record id="view_location_tree2" model="ir.ui.view">
368 <field name="name">stock.location.tree</field>
369 <field name="model">stock.location</field>
370 <field name="priority" eval="2"/>
371 <field name="arch" type="xml">
372 <tree string="Stock Location" colors="blue:usage=='view';darkred:usage=='internal'">
373 <field name="complete_name"/>
374 <field name="usage"/>
379 <record id="view_putaway" model="ir.ui.view">
380 <field name="name">product.putaway.form</field>
381 <field name="model">product.putaway</field>
382 <field name="arch" type="xml">
383 <form string="Putaway">
386 <field name="method"/>
388 <div attrs="{'invisible': [('method', '!=', 'fixed')]}">
389 <separator string="Fixed Locations Per Categories"/>
390 <field name="fixed_location_ids" colspan="4" nolabel="1">
391 <tree editable="top">
392 <field name="sequence" widget='handle'/>
393 <field name="category_id"/>
394 <field name="fixed_location_id"/>
402 <record id="view_removal" model="ir.ui.view">
403 <field name="name">product.removal.form</field>
404 <field name="model">product.removal</field>
405 <field name="arch" type="xml">
406 <form string="Removal">
409 <field name="method"/>
415 <record id="stock_location_path_tree" model="ir.ui.view">
416 <field name="name">stock.location.path.tree</field>
417 <field name="model">stock.location.path</field>
418 <field name="arch" type="xml">
419 <tree string="Location Paths">
420 <field name="location_from_id" />
421 <field name="location_dest_id" />
422 <field name="name" />
427 <record id="stock_location_path_form" model="ir.ui.view">
428 <field name="name">stock.location.path.form</field>
429 <field name="model">stock.location.path</field>
430 <field name="arch" type="xml">
431 <form string="Location Paths">
435 <field name="location_from_id"/>
436 <field name="location_dest_id"/>
439 <field name="company_id" groups="base.group_multi_company" />
440 <field name="picking_type_id"/>
442 <label for="delay" string="Delay"/>
444 <field name="delay" class="oe_inline"/>days
452 <record id="product_category_form_view_inherit" model="ir.ui.view">
453 <field name="name">product.category.form</field>
454 <field name="model">product.category</field>
455 <field name="inherit_id" ref="product.product_category_form_view" />
456 <field name="arch" type="xml">
457 <xpath expr="//group[@name='parent']" position="inside">
458 <group string="Logistics" colspan="2">
459 <field name="route_ids" widget="many2many_tags"/>
460 <div class="oe_inline" colspan="2">
461 <p attrs="{'invisible':[('parent_id','=',False)]}">
462 The following routes will apply to the products in this category taking into account parent categories:
463 <field name="total_route_ids" nolabel="1" widget="many2many_tags"/>
466 <field name="removal_strategy_id" options="{'no_create': True}"/>
473 <record id="action_location_form" model="ir.actions.act_window">
474 <field name="name">Locations</field>
475 <field name="res_model">stock.location</field>
476 <field name="type">ir.actions.act_window</field>
477 <field name="view_type">form</field>
478 <field name="view_id" ref="view_location_tree2"/>
479 <field name="search_view_id" ref="view_location_search"/>
480 <field name="context">{'search_default_in_location':1}</field>
481 <field name="help" type="html">
482 <p class="oe_view_nocontent_create">
483 Click to add a location.
485 Define your locations to reflect your warehouse structure and
486 organization. Odoo is able to manage physical locations
487 (warehouses, shelves, bin, etc), partner locations (customers,
488 suppliers) and virtual locations which are the counterpart of
489 the stock operations like the manufacturing orders
490 consumptions, inventories, etc.
492 Every stock operation in Odoo moves the products from one
493 location to another one. For instance, if you receive products
494 from a supplier, Odoo will move products from the Supplier
495 location to the Stock location. Each report can be performed on
496 physical, partner or virtual locations.
500 <menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations"
501 parent="menu_warehouse_config" sequence="2"/>
504 <record id="act_product_stock_move_open" model="ir.actions.act_window">
505 <field name="context">{'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}</field>
506 <field name="name">Moves</field>
507 <field name="res_model">stock.move</field>
510 <record id="view_warehouse" model="ir.ui.view">
511 <field name="name">stock.warehouse</field>
512 <field name="model">stock.warehouse</field>
513 <field name="arch" type="xml">
514 <form string="Warehouse">
516 <div class="oe_right oe_button_box">
517 <button name="view_all_routes_for_wh"
520 class="oe_stat_button"
523 <label for="name" class="oe_edit_only"/>
524 <h1><field name="name"/></h1>
530 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
531 <field name="partner_id"/>
533 <notebook colspan="4" groups="stock.group_adv_location">
534 <page string="Warehouse Configuration" colspan="4">
536 <field name="reception_steps" widget='radio'/>
537 <field name="delivery_steps" widget='radio'/>
538 <field name="default_resupply_wh_id" widget='selection' on_change="onchange_filter_default_resupply_wh_id(default_resupply_wh_id, resupply_wh_ids)"/>
539 <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)"/>
542 <page string="Technical Information" groups='base.group_no_one'>
544 <group string="Locations">
545 <field name="wh_input_stock_loc_id" readonly="1"/>
546 <field name="wh_qc_stock_loc_id" readonly="1"/>
547 <field name="wh_pack_stock_loc_id" readonly="1"/>
548 <field name="wh_output_stock_loc_id" readonly="1"/>
550 <group string="Picking Types">
551 <field name="in_type_id" readonly="1"/>
552 <field name="int_type_id" readonly="1"/>
553 <field name="pick_type_id" readonly="1"/>
554 <field name="pack_type_id" readonly="1"/>
555 <field name="out_type_id" readonly="1"/>
565 <record id="view_warehouse_tree" model="ir.ui.view">
566 <field name="name">stock.warehouse.tree</field>
567 <field name="model">stock.warehouse</field>
568 <field name="arch" type="xml">
569 <tree string="Warehouse">
571 <field name="lot_stock_id" groups="stock.group_locations"/>
572 <field name="partner_id"/>
576 <record id="action_warehouse_form" model="ir.actions.act_window">
577 <field name="name">Warehouses</field>
578 <field name="res_model">stock.warehouse</field>
579 <field name="type">ir.actions.act_window</field>
580 <field name="view_type">form</field>
581 <field name="view_id" ref="view_warehouse_tree"/>
582 <field name="help" type="html">
583 <p class="oe_view_nocontent_create">
584 Click to define a new warehouse.
588 <menuitem action="action_warehouse_form" id="menu_action_warehouse_form" groups="stock.group_locations"
589 parent="menu_warehouse_config" sequence="1"/>
593 Defaults and Internal Pickings
596 <record model="ir.ui.view" id="stock_picking_calendar">
597 <field name="name">stock.picking.calendar</field>
598 <field name="model">stock.picking</field>
599 <field name="priority" eval="2"/>
600 <field name="arch" type="xml">
601 <calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="partner_id">
602 <field name="origin"/>
603 <field name="picking_type_id"/>
604 <field name="partner_id"/>
609 <record id="vpicktree" model="ir.ui.view">
610 <field name="name">stock.picking.tree</field>
611 <field name="model">stock.picking</field>
612 <field name="arch" type="xml">
613 <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and min_date < current_date" string="Picking list">
615 <field name="location_dest_id"/>
616 <field name="partner_id"/>
618 <field name="min_date" invisible="1"/>
619 <field name="origin"/>
620 <field name="group_id" invisible="1"/>
621 <field name="backorder_id"/>
622 <field name="state"/>
623 <field name="priority" invisible="1"/>
624 <field name="picking_type_id" invisible="1"/>
629 <record id="view_picking_form" model="ir.ui.view">
630 <field name="name">stock.picking.form</field>
631 <field name="model">stock.picking</field>
632 <field eval="12" name="priority"/>
633 <field name="arch" type="xml">
634 <form string="Transfer">
636 <button name="action_confirm" states="draft" string="Mark as Todo" type="object" class="oe_highlight" groups="base.group_user"/>
637 <button name="action_assign" states="confirmed,partially_available" string="Check Availability" type="object" class="oe_highlight" groups="base.group_user"/>
638 <button name="force_assign" states="confirmed,waiting,partially_available" string="Force Availability" type="object" groups="base.group_user"/>
639 <button name="do_enter_transfer_details" states="assigned,partially_available" string="Transfer" groups="stock.group_stock_user" type="object" class="oe_highlight"/>
640 <button name="do_print_picking" string="Print Picking List" groups="stock.group_stock_user" type="object" attrs="{'invisible': ['|', ('picking_type_code', '=', 'outgoing'), ('state', '!=', 'assigned')]}"/>
641 <button name="%(act_stock_return_picking)d" string="Reverse Transfer" states="done" type="action" groups="base.group_user"/>
642 <button name="action_cancel" states="assigned,confirmed,partially_available,draft" string="Cancel Transfer" groups="base.group_user" type="object"/>
643 <button name="do_unreserve" string="Unreserve" groups="base.group_user" type="object" attrs="{'invisible': [('quant_reserved_exist', '=', False)]}"/>
644 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,partially_available,assigned,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
647 <div class="oe_right oe_button_box">
648 <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>
649 <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>
652 <field name="name" class="oe_inline" attrs="{'invisible': [('name','=','/')]}" readonly="1"/>
656 <field name="partner_id"/>
657 <field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
661 <field name="min_date"/>
662 <field name="origin" placeholder="e.g. PO0032" class="oe_inline"/>
663 <label for="owner_id" groups="stock.group_tracking_owner"/>
664 <div groups="stock.group_tracking_owner">
665 <field name="owner_id"/>
666 <button name="action_assign_owner" string="Assign Owner" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state', 'not in', ('draft','assigned','confirmed'))]}"
667 class="oe_link oe_edit_only"/>
672 <page string="Products">
673 <separator string="Stock Moves" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
674 <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}"/>
675 <field name="pack_operation_exist" invisible="1"/>
676 <field name="note" placeholder="Add an internal note..." class="oe_inline"/>
678 <page string="Operations" attrs="{'invisible': ['|', ('state','!=','done'), ('pack_operation_ids','=',[])]}">
679 <field name="pack_operation_ids">
680 <tree editable="top">
681 <field name="package_id" groups="stock.group_tracking_lot"/>
682 <field name="product_id"/>
683 <field name="product_uom_id" groups="product.group_uom"/>
684 <field name="lot_id" domain="[('product_id','=?', product_id)]" context="{'product_id': product_id}" groups="stock.group_production_lot"/>
685 <field name="picking_id" invisible="1"/>
686 <field name="owner_id" groups="stock.group_tracking_owner"/>
687 <field name="product_qty" attrs="{'required': [('product_id', '!=', False)]}"/>
688 <field name="location_id"/>
689 <field name="location_dest_id"/>
690 <field name="result_package_id" groups="stock.group_tracking_lot"/>
693 <p class="oe_grey" groups="stock.group_tracking_lot">
694 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.
697 <page string="Additional Info">
698 <group string="General Informations">
700 <field name="move_type"/>
701 <field name="picking_type_id"/>
702 <field name="picking_type_code" invisible="1"/>
703 <field name="quant_reserved_exist" invisible="1"/>
704 <field name="location_id" invisible="1"/>
705 <field name="location_dest_id" invisible="1"/>
708 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
709 <field name="date_done" groups="base.group_no_one"/>
710 <field name="group_id"/>
711 <field name="priority"/>
717 <div class="oe_chatter">
718 <field name="message_follower_ids" widget="mail_followers"/>
719 <field name="message_ids" widget="mail_thread"/>
725 <record id="view_picking_internal_search" model="ir.ui.view">
726 <field name="name">stock.picking.internal.search</field>
727 <field name="model">stock.picking</field>
728 <field name="arch" type="xml">
729 <search string="Picking Lists">
730 <field name="name" string="Picking List" filter_domain="['|',('name','ilike', self),('origin','ilike',self)]"/>
731 <filter icon="terp-check" name="draft" string="Draft" domain="[('state','=','draft')]" help="Draft Moves"/>
732 <filter icon="terp-check" name="available" string="Ready" domain="[('state','in',('assigned', 'partially_available'))]" help="Assigned Moves"/>
733 <filter icon="terp-check" name="waiting" string="Waiting Availability" domain="[('state','=', 'confirmed')]" help="Waiting Moves"/>
734 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in', ('confirmed', 'waiting', 'assigned'))]" help="Confirmed Moves"/>
735 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
737 <filter name="late" string="Late" domain="[('min_date','<', time.strftime('%%Y-%%m-%%d %%H:%%M:%%S'))]" help="Pickings that are late on scheduled time"/>
739 <filter name="backorder" string="Backorders" domain="[('backorder_id','<>', False)]" help="Remaining parts of picking partially processed"/>
740 <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
741 <field name="product_id"/>
742 <field name="picking_type_id"/>
743 <field name="group_id"/>
744 <group expand="0" string="Group By">
745 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
746 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
747 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
748 <filter string="Origin" domain="[]" context="{'group_by':'origin'}"/>
749 <filter string="Picking Type" domain="[]" context="{'group_by':'picking_type_id'}"/>
750 <filter string="Procurement Group" domain="[]" context="{'group_by':'group_id'}"/>
756 <record id="action_picking_tree_all" model="ir.actions.act_window">
757 <field name="name">Stock Operations</field>
758 <field name="res_model">stock.picking</field>
759 <field name="type">ir.actions.act_window</field>
760 <field name="view_type">form</field>
761 <field name="view_mode">tree,form,calendar</field>
762 <field name="domain"></field>
763 <field name="context">{
764 'contact_display': 'partner_address',
767 <field name="search_view_id" ref="view_picking_internal_search"/>
770 <record id="action_picking_tree_done" model="ir.actions.act_window">
771 <field name="name">Done Transfers</field>
772 <field name="res_model">stock.picking</field>
773 <field name="type">ir.actions.act_window</field>
774 <field name="view_type">form</field>
775 <field name="view_mode">tree,form,calendar</field>
776 <field name="domain"></field>
777 <field name="context">{
778 'search_default_picking_type_id': [active_id],
779 'default_picking_type_id': active_id,
780 'contact_display': 'partner_address',
781 'search_default_done': 1,
784 <field name="search_view_id" ref="view_picking_internal_search"/>
787 <record id="action_picking_tree_ready" model="ir.actions.act_window">
788 <field name="name">Ready Transfers</field>
789 <field name="res_model">stock.picking</field>
790 <field name="type">ir.actions.act_window</field>
791 <field name="view_type">form</field>
792 <field name="view_mode">tree,form,calendar</field>
793 <field name="domain"></field>
794 <field name="context">{
795 'search_default_picking_type_id': [active_id],
796 'default_picking_type_id': active_id,
797 'contact_display': 'partner_address',
798 'search_default_available': 1,
801 <field name="search_view_id" ref="view_picking_internal_search"/>
804 <record id="action_picking_tree_done_grouped" model="ir.actions.act_window">
805 <field name="name">Done Transfers by Date</field>
806 <field name="res_model">stock.picking</field>
807 <field name="type">ir.actions.act_window</field>
808 <field name="view_type">form</field>
809 <field name="view_mode">tree,form,calendar</field>
810 <field name="domain"></field>
811 <field name="context">{
812 'search_default_picking_type_id': [active_id],
813 'default_picking_type_id': active_id,
814 'contact_display': 'partner_address',
815 'search_default_done': 1,
816 'group_by': ['date'],
819 <field name="search_view_id" ref="view_picking_internal_search"/>
822 <record id="action_picking_tree_waiting" model="ir.actions.act_window">
823 <field name="name">Waiting Availability Transfers</field>
824 <field name="res_model">stock.picking</field>
825 <field name="type">ir.actions.act_window</field>
826 <field name="view_type">form</field>
827 <field name="view_mode">tree,form,calendar</field>
828 <field name="domain"></field>
829 <field name="context">{
830 'search_default_picking_type_id': [active_id],
831 'default_picking_type_id': active_id,
832 'contact_display': 'partner_address',
833 'search_default_waiting': 1,
836 <field name="search_view_id" ref="view_picking_internal_search"/>
839 <record id="action_picking_tree_late" model="ir.actions.act_window">
840 <field name="name">Late Transfers</field>
841 <field name="res_model">stock.picking</field>
842 <field name="type">ir.actions.act_window</field>
843 <field name="view_type">form</field>
844 <field name="view_mode">tree,form,calendar</field>
845 <field name="domain"></field>
846 <field name="context">{
847 'search_default_picking_type_id': [active_id],
848 'default_picking_type_id': active_id,
849 'contact_display': 'partner_address',
850 'search_default_late': 1,
851 'search_default_confirmed': 1,
854 <field name="search_view_id" ref="view_picking_internal_search"/>
857 <record id="action_picking_tree_backorder" model="ir.actions.act_window">
858 <field name="name">Backorders</field>
859 <field name="res_model">stock.picking</field>
860 <field name="type">ir.actions.act_window</field>
861 <field name="view_type">form</field>
862 <field name="view_mode">tree,form,calendar</field>
863 <field name="domain"></field>
864 <field name="context">{
865 'search_default_picking_type_id': [active_id],
866 'default_picking_type_id': active_id,
867 'contact_display': 'partner_address',
868 'search_default_backorder': 1,
869 'search_default_confirmed': 1,
872 <field name="search_view_id" ref="view_picking_internal_search"/>
875 <record id="action_picking_tree" model="ir.actions.act_window">
876 <field name="name">Transfers</field>
877 <field name="res_model">stock.picking</field>
878 <field name="type">ir.actions.act_window</field>
879 <field name="view_type">form</field>
880 <field name="view_mode">tree,form,calendar</field>
881 <field name="domain"></field>
882 <field name="context">{
883 'search_default_picking_type_id': [active_id],
884 'default_picking_type_id': active_id,
885 'contact_display': 'partner_address',
888 <field name="search_view_id" ref="view_picking_internal_search"/>
889 <field name="help" type="html">
890 <p class="oe_view_nocontent_create">
891 Click to create a stock operation.
893 Most operations are prepared automatically by Odoo according
894 to your preconfigured logistics rules, but you can also record
895 manual stock movements.
900 <record id="view_move_graph" model="ir.ui.view">
901 <field name="name">stock.move.graph</field>
902 <field name="model">stock.move</field>
903 <field name="arch" type="xml">
904 <graph string="Stock Moves Analysis" type="pivot">
905 <field name="product_id" type="row"/>
906 <field name="location_dest_id" groups="stock.group_locations" type="row"/>
907 <field name="product_uom_qty" type="measure"/>
912 <record id="view_move_tree" model="ir.ui.view">
913 <field name="name">stock.move.tree</field>
914 <field name="model">stock.move</field>
915 <field eval="8" name="priority"/>
916 <field name="arch" type="xml">
917 <tree colors="grey:state == 'cancel';red:(state not in ('cancel','done')) and date > current_date" string="Moves">
919 <field name="picking_id" string="Reference"/>
920 <field name="origin"/>
921 <field name="picking_type_id"/>
922 <field name="create_date" invisible="1" groups="base.group_no_one"/>
923 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
924 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
925 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
926 <field name="product_uos" groups="product.group_uos"/>
927 <button name="%(stock.move_scrap)d"
928 string="Scrap Products" type="action"
929 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
930 states="draft,waiting,confirmed,assigned"
931 groups="stock.group_stock_user"/>
932 <field name="location_id" groups="stock.group_locations"/>
933 <field name="location_dest_id" groups="stock.group_locations"/>
934 <field name="date" groups="base.group_no_one"/>
935 <field name="date_expected"/>
936 <field name="state"/>
937 <button name="action_done" states="confirmed,assigned" string="Process" type="object"
938 groups="stock.group_stock_user" icon="gtk-go-forward" help="Done"/>
943 <record id="view_move_picking_tree" model="ir.ui.view">
944 <field name="name">stock.move.tree</field>
945 <field name="model">stock.move</field>
946 <field eval="4" name="priority"/>
947 <field name="arch" type="xml">
948 <tree colors="grey:scrapped == True" string="Stock Moves">
949 <field name="product_id"/>
950 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
951 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
952 <field name="product_uos" groups="product.group_uos"/>
953 <field name="location_id" groups="stock.group_locations" invisible="1"/>
954 <field name="picking_id" invisible="1" />
955 <field name="create_date" invisible="1" />
956 <field name="date_expected" invisible="1" />
957 <button name="%(stock.move_scrap)d"
958 string="Scrap Products" type="action"
959 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
960 states="draft,waiting,confirmed,assigned"
961 groups="stock.group_stock_user"/>
962 <field name="scrapped" invisible="1"/>
963 <field name="availability" invisible="1"/>
964 <field name="reserved_availability" invisible="1"/>
965 <field name="location_dest_id" groups="stock.group_locations"/>
966 <field name="remaining_qty" invisible="1"/>
967 <field name="string_availability_info"/>
968 <field name="state"/>
973 <record id="view_move_form" model="ir.ui.view">
974 <field name="name">stock.move.form</field>
975 <field name="model">stock.move</field>
976 <field eval="1" name="priority"/>
977 <field name="arch" type="xml">
978 <form string="Stock Moves">
980 <button name="action_confirm" states="draft" string="Process Later" type="object" class="oe_highlight"/>
981 <button name="action_done" states="draft,assigned,confirmed" string="Process Entirely" type="object" class="oe_highlight"/>
982 <button name="force_assign" states="confirmed" string="Set Available" type="object" class="oe_highlight"/>
983 <button name="action_cancel" states="draft,assigned,confirmed" string="Cancel Move" type="object"/>
984 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
988 <group name="main_grp" colspan="4">
989 <group name="main_grp_col1">
990 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
991 <label for="product_uom_qty"/>
993 <field name="product_uom_qty"
994 on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"
996 <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
997 <button name="%(stock.move_scrap)d"
998 string="Scrap" type="action"
999 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1000 states="draft,waiting,confirmed,assigned" colspan="1"/>
1002 <field name="name"/>
1003 <label for="product_uos_qty" groups="product.group_uos"/>
1004 <div groups="product.group_uos">
1005 <field name="product_uos_qty"
1006 on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)"
1008 <field name="product_uos" class="oe_inline"/>
1011 <group name="main_grp_col2">
1012 <field name="picking_type_id"/>
1013 <field name="priority"/>
1014 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1015 <field name="date_expected" on_change="onchange_date(date,date_expected)" attrs="{'invisible': [('state', '=', 'done')]}"/>
1016 <field name="date" attrs="{'invisible': [('state', '!=', 'done')]}"/>
1019 <group name="origin_grp" string="Origin">
1020 <field name="origin"/>
1021 <field name="location_id" groups="stock.group_locations"/>
1022 <field name="picking_id" domain="[('picking_type_id','=',picking_type_id)]"/>
1023 <field name="create_date" groups="base.group_no_one"/>
1024 <field name="procure_method" attrs="{'readonly': [('state', '!=', 'draft')]}" groups="stock.group_adv_location"/>
1025 <field name="group_id"/>
1027 <group name="destination_grp" string="Destination" groups="stock.group_locations">
1028 <field name="location_dest_id" />
1029 <field name="partner_id" context="{'contact_display':'partner'}" />
1031 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1032 <field name="reserved_quant_ids"/>
1040 <record id="view_move_picking_form" model="ir.ui.view">
1041 <field name="name">stock.move.form</field>
1042 <field name="model">stock.move</field>
1043 <field eval="20" name="priority"/>
1044 <field name="arch" type="xml">
1045 <form string="Stock Moves">
1047 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_user"/>
1048 <button name="action_confirm" states="draft" string="Confirm" type="object" groups="base.group_user"/>
1049 <button name="do_unreserve" states="assigned" string="Cancel Availability" type="object" groups="base.group_user"/>
1050 <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done"/>
1054 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.partner_id)"/>
1055 <field name="procure_method" groups="stock.group_adv_location"/>
1056 <field name="picking_type_id" invisible="1"/>
1057 <label for="product_uom_qty"/>
1059 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1060 <field name="product_uom" string="Unit Of Measure" groups="product.group_uom" class="oe_inline"/>
1061 <button name="%(stock.move_scrap)d"
1062 string="Scrap" type="action"
1063 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1064 states="draft,waiting,confirmed,assigned"
1065 groups="base.group_user"/>
1067 <label for="product_uos_qty" groups="product.group_uos"/>
1068 <div groups="product.group_uos">
1069 <field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" class="oe_inline"/>
1070 <field name="product_uos" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1072 <field name="name"/>
1073 <field name="product_packaging" groups="product.group_stock_packaging" domain="[('product_tmpl_id','=',product_id)]"/>
1076 <field name="create_date" invisible="1"/>
1077 <field name="date"/>
1078 <field name="date_expected" on_change="onchange_date(date,date_expected)"/>
1080 <group string="Locations" groups="stock.group_locations">
1081 <field name="location_id" domain="[('usage','<>','view')]"/>
1082 <field name="location_dest_id" domain="[('usage','=','internal')]"/>
1084 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1085 <field name="reserved_quant_ids"/>
1092 <record id="view_move_search" model="ir.ui.view">
1093 <field name="name">stock.move.search</field>
1094 <field name="model">stock.move</field>
1095 <field eval="3" name="priority"/>
1096 <field name="arch" type="xml">
1097 <search string="Stock Moves">
1098 <field name="origin" filter_domain="['|', '|', ('origin', 'ilike', self), ('name', 'ilike', self), ('picking_id', 'ilike', self)]" string="Reference"/>
1099 <field name="date" groups="base.group_no_one"/>
1101 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1102 <filter icon="terp-stock" string="To Do" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1103 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1105 <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"/>
1106 <field name="product_id"/>
1107 <field name="name" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1108 <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','child_of',self)]"/>
1109 <group expand="0" string="Group By">
1110 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1111 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1112 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}" groups="stock.group_locations"/>
1113 <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"/>
1114 <filter icon="terp-stock_effects-object-colorize" string="Status" domain="[]" context="{'group_by':'state'}"/>
1115 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}" groups="base.group_no_one"/>
1116 <filter string="Scheduled" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date_expected'}"/>
1122 <record id="action_move_form2" model="ir.actions.act_window">
1123 <field name="name">Stock Moves</field>
1124 <field name="res_model">stock.move</field>
1125 <field name="type">ir.actions.act_window</field>
1126 <field name="view_type">form</field>
1127 <field name="view_id" ref="view_move_tree"/>
1128 <field name="search_view_id" ref="view_move_search"/>
1129 <field name="context">{}</field>
1130 <field name="help" type="html">
1131 <p class="oe_view_nocontent_create">
1132 Click to create a stock movement.
1134 This menu gives you the full traceability of inventory
1135 operations on a specific product. You can filter on the product
1136 to see all the past or future movements for the product.
1141 <record model="ir.actions.act_window.view" id="action_stock_move_tree_all">
1142 <field name="sequence" eval="1"/>
1143 <field name="view_mode">tree</field>
1144 <field name="view_id" ref="view_move_tree"/>
1145 <field name="act_window_id" ref="action_move_form2"/>
1148 <record model="ir.actions.act_window.view" id="action_stock_move_form_all">
1149 <field name="sequence" eval="3"/>
1150 <field name="view_mode">form</field>
1151 <field name="view_id" ref="view_move_form"/>
1152 <field name="act_window_id" ref="action_move_form2"/>
1155 <record model="ir.actions.act_window.view" id="action_stock_move_graph_all">
1156 <field name="sequence" eval="3"/>
1157 <field name="view_mode">graph</field>
1158 <field name="view_id" ref="view_move_graph"/>
1159 <field name="act_window_id" ref="action_move_form2"/>
1162 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="1" groups="stock.group_locations"/>
1165 Receipt Picking (By Stock Move)
1166 From stock_partial_move_view
1168 <record id="view_move_tree_receipt_picking" model="ir.ui.view">
1169 <field name="name">stock.move.tree2</field>
1170 <field name="model">stock.move</field>
1171 <field name="priority" eval="6"/>
1172 <field name="arch" type="xml">
1173 <tree colors="grey:state == 'cancel'" string="Moves">
1174 <field name="date" widget="date"/>
1175 <field name="picking_id" string="Reference" invisible="1"/>
1176 <field name="origin"/>
1177 <field name="partner_id" string="Supplier"/>
1178 <field name="product_id"/>
1179 <field name="product_uom_qty"/>
1180 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1181 <field name="location_id" invisible="1"/>
1182 <field name="location_dest_id" invisible="1"/>
1183 <field name="create_date" invisible="1"/>
1184 <field name="date_expected" invisible="1"/>
1185 <button name="%(stock.move_scrap)d"
1186 string="Scrap Products" type="action"
1187 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1188 states="draft,waiting,confirmed,assigned"
1189 groups="stock.group_stock_user"/>
1190 <field name="state"/>
1191 <button name="action_done" states="draft,assigned,confirmed"
1192 icon="gtk-go-forward" type="object" groups="stock.group_stock_user"
1193 class="oe_highlight" help="Done"/>
1199 <record id="view_move_tree_receipt_picking_board" model="ir.ui.view">
1200 <field name="name">stock.move.tree3</field>
1201 <field name="model">stock.move</field>
1202 <field eval="6" name="priority"/>
1203 <field name="arch" type="xml">
1204 <tree string="Moves">
1205 <field name="picking_id" string="Reference"/>
1206 <field name="product_id"/>
1207 <field name="product_uom_qty"/>
1208 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1209 <field name="date" groups="base.group_no_one"/>
1214 <record id="action_receipt_picking_move" model="ir.actions.act_window">
1215 <field name="name">Incoming Products</field>
1216 <field name="res_model">stock.move</field>
1217 <field name="type">ir.actions.act_window</field>
1218 <field name="view_type">form</field>
1219 <field name="view_mode">tree,form</field>
1220 <field name="domain" eval="[('picking_id.picking_type_id.code','=','incoming'), ('location_id.usage','!=','internal'), ('location_dest_id.usage', '=', 'internal')]"/>
1221 <field name="view_id" ref="view_move_tree_receipt_picking"/>
1222 <field name="context">{'product_receive': True, 'search_default_future': True}</field>
1223 <field name="help" type="html">
1224 <p class="oe_view_nocontent_create">
1225 Click to register a product receipt.
1227 Here you can receive individual products, no matter what
1228 purchase order or picking order they come from. You will find
1229 the list of all products you are waiting for. Once you receive
1230 an order, you can filter based on the name of the supplier or
1231 the purchase order reference. Then you can confirm all products
1232 received using the buttons on the right of each line.
1237 <!-- Stock incoterms -->
1238 <record id="view_incoterms_tree" model="ir.ui.view">
1239 <field name="name">stock.incoterms.tree</field>
1240 <field name="model">stock.incoterms</field>
1241 <field name="arch" type="xml">
1242 <tree string="Incoterms">
1243 <field name="code"/>
1244 <field colspan="4" name="name"/>
1248 <record id="stock_incoterms_form" model="ir.ui.view">
1249 <field name="name">stock.incoterms.form</field>
1250 <field name="model">stock.incoterms</field>
1251 <field name="arch" type="xml">
1252 <form string="Incoterms">
1254 <field name="name"/>
1255 <field name="code"/>
1256 <field name="active"/>
1261 <record id="action_incoterms_tree" model="ir.actions.act_window">
1262 <field name="name">Incoterms</field>
1263 <field name="res_model">stock.incoterms</field>
1264 <field name="type">ir.actions.act_window</field>
1265 <field name="view_type">form</field>
1266 <field name="view_mode">tree,form</field>
1269 <menuitem action="action_incoterms_tree" id="menu_action_incoterm_open" parent="menu_warehouse_config" sequence="4"/>
1271 <record id="view_pickingtype_filter" model="ir.ui.view">
1272 <field name="name">stock.picking.type.filter</field>
1273 <field name="model">stock.picking.type</field>
1274 <field name="arch" type="xml">
1275 <search string="Picking Type">
1276 <field name="name"/>
1277 <field name="sequence_id"/>
1278 <field name="warehouse_id"/>
1282 <record model="ir.ui.view" id="view_picking_type_tree">
1283 <field name="name">Picking types</field>
1284 <field name="model">stock.picking.type</field>
1285 <field name="arch" type="xml">
1286 <tree string="Picking Types">
1287 <field name="sequence" widget="handle"/>
1288 <field name="name"/>
1289 <field name="warehouse_id"/>
1290 <field name="sequence_id"/>
1294 <record model="ir.ui.view" id="view_picking_type_form">
1295 <field name="name">Picking Types</field>
1296 <field name="model">stock.picking.type</field>
1297 <field name="arch" type="xml">
1298 <form string="Picking Types">
1302 <field name="name"/>
1303 <field name="sequence_id"/>
1304 <field name="warehouse_id"/>
1307 <field name="code" on_change="onchange_picking_code(code)"/>
1308 <field name="return_picking_type_id"/>
1311 <separator string="Locations"/>
1313 <field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}"/>
1314 <field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}"/>
1322 <record id="stock_picking_type_kanban" model="ir.ui.view">
1323 <field name="name">stock.picking.type.kanban</field>
1324 <field name="model">stock.picking.type</field>
1325 <field name="arch" type="xml">
1326 <kanban class="oe_background_grey" create="0">
1327 <field name="complete_name"/>
1328 <field name="color"/>
1329 <field name="count_picking_ready"/>
1330 <field name="count_picking_draft"/>
1331 <field name="count_picking_waiting"/>
1332 <field name="count_picking_late"/>
1333 <field name="count_picking_backorders"/>
1335 <t t-name="kanban-box">
1336 <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_stock_picking_type">
1337 <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="stock.group_stock_manager">
1338 <span class="oe_e">í</span>
1339 <ul class="oe_dropdown_menu">
1340 <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
1341 <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
1342 <t t-if="widget.view.is_action_enabled('edit')"><li><ul class="oe_kanban_colorpicker" data-field="color"/></li></t>
1345 <div class="oe_kanban_content">
1346 <h4 class="text-center"><strong><field name="complete_name"/></strong></h4>
1347 <div class="oe_right">
1348 <a name="open_barcode_interface" type="object">
1349 <img src="/stock/static/src/img/scan.png"
1350 alt="Click to launch the barcode interface"
1351 class="oe_stock_scan_image" title="Click to launch the barcode interface"/>
1354 <div class="oe_items_list oe_kanban_ellipsis">
1356 <a name="%(action_picking_tree_ready)d" type="action">
1357 <field name="count_picking_ready"/> Ready
1359 <a name="%(action_picking_tree_done)d" type="action" class="oe_sparkline_bar_link">
1360 <field name="last_done_picking" widget="sparkline_bar" options="{'type': 'tristate', 'colorMap': {'0': 'orange', '-1': 'red', '1': 'green'}}">Last 10 Done Operations</field>
1363 <div t-if="record.count_picking_waiting.raw_value > 0">
1364 <a name="%(action_picking_tree_waiting)d" type="action">
1365 <field name="count_picking_waiting"/> Waiting Availability
1369 <a name="%(action_picking_tree)d" type="action">All Operations</a>
1372 <div class="oe_picking_type_gauge">
1373 <field name="rate_picking_late" widget="gauge" style="width:150px; height: 110px;" options="{'levelcolors': ['#a9d70b', '#f9c802', '#ff0000'], 'action_jump': '%(action_picking_tree_late)d'}">Late (%%)</field>
1374 <field name="rate_picking_backorders" widget="gauge" style="width:150px; height: 110px;">Backorders (%%)</field>
1375 <div class="oe_gauge_labels">
1376 <div class="oe_gauge_label_column">
1377 <a name="%(action_picking_tree_late)d" type="action">
1378 <field name="count_picking_late"/> Late
1381 <div class="oe_gauge_label_column">
1382 <a name="%(action_picking_tree_backorder)d" type="action">
1383 <field name="count_picking_backorders"/> Backorders
1397 <record id="action_picking_type_form" model="ir.actions.act_window">
1398 <field name="name">All Operations</field>
1399 <field name="res_model">stock.picking.type</field>
1400 <field name="type">ir.actions.act_window</field>
1401 <field name="view_type">form</field>
1402 <field name="view_mode">kanban,form</field>
1403 <field name="help" type="html">
1404 <p class="oe_view_nocontent_create">
1405 Click to create a new picking type.
1407 The picking type system allows you to assign each stock
1408 operation a specific type which will alter its views accordingly.
1409 On the picking type you could e.g. specify if packing is needed by default,
1410 if it should show the customer.
1415 <record id="action_picking_type_list" 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">list,form</field>
1424 action="action_picking_type_form"
1425 id="menu_action_picking_type_form"
1426 parent="menu_stock_warehouse_mgmt" sequence="1"/>
1429 id="menu_pickingtype"
1430 name="Types of Operation"
1431 parent="stock.menu_stock_configuration"
1432 action="action_picking_type_list" />
1435 <!-- Order Point -->
1436 <record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
1437 <field name="name">stock.warehouse.orderpoint.tree</field>
1438 <field name="model">stock.warehouse.orderpoint</field>
1439 <field name="arch" type="xml">
1440 <tree string="Reordering Rules">
1441 <field name="name"/>
1442 <field name="warehouse_id" groups="stock.group_locations"/>
1443 <field name="location_id" groups="stock.group_locations"/>
1444 <field name="product_id"/>
1445 <field name="product_uom" groups="product.group_uom"/>
1446 <field name="product_min_qty"/>
1447 <field name="product_max_qty"/>
1452 <record model="ir.ui.view" id="warehouse_orderpoint_search">
1453 <field name="name">stock.warehouse.orderpoint.search</field>
1454 <field name="model">stock.warehouse.orderpoint</field>
1455 <field name="arch" type="xml">
1456 <search string="Reordering Rules Search">
1457 <field name="name" string="Reordering Rules"/>
1458 <field name="warehouse_id"/>
1459 <field name="location_id" groups="stock.group_locations"/>
1460 <field name="company_id" groups="base.group_multi_company"/>
1461 <field name="product_id"/>
1462 <group expand="0" string="Group By">
1463 <filter string="Warehouse" icon="terp-go-home" domain="[]" context="{'group_by':'warehouse_id'}"/>
1464 <filter string="Location" icon="terp-go-home" domain="[]" context="{'group_by':'location_id'}"/>
1470 <record id="view_warehouse_orderpoint_form" model="ir.ui.view">
1471 <field name="name">stock.warehouse.orderpoint.form</field>
1472 <field name="model">stock.warehouse.orderpoint</field>
1473 <field name="arch" type="xml">
1474 <form string="Reordering Rules">
1476 <div class="oe_right oe_button_box">
1477 <button name="action_view_proc_to_process" type="object" string="Procurement Orders to Process"/>
1481 <field name="name" />
1482 <field name="product_id" on_change="onchange_product_id(product_id)"/>
1485 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
1486 <field name="product_uom" groups="product.group_uom"/>
1487 <field name="location_id" groups="stock.group_locations"/>
1488 <field name="group_id" groups="stock.group_adv_location"/>
1489 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1493 <group string="Rules">
1494 <field name="product_min_qty" />
1495 <field name="product_max_qty" />
1496 <field name="qty_multiple" string="Quantity Multiple"/>
1498 <group string="Misc">
1499 <field name="active" />
1507 <record id="action_orderpoint_form" model="ir.actions.act_window">
1508 <field name="name">Reordering Rules</field>
1509 <field name="res_model">stock.warehouse.orderpoint</field>
1510 <field name="type">ir.actions.act_window</field>
1511 <field name="view_type">form</field>
1512 <field name="view_id" ref="view_warehouse_orderpoint_tree"/>
1513 <field name="search_view_id" ref="warehouse_orderpoint_search" />
1514 <field name="help" type="html">
1515 <p class="oe_view_nocontent_create">
1516 Click to add a reordering rule.
1517 </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>
1522 context="{'search_default_warehouse_id': active_id, 'default_warehouse_id': active_id}"
1523 id="act_stock_warehouse_2_stock_warehouse_orderpoint"
1524 name="Reordering Rules"
1525 res_model="stock.warehouse.orderpoint"
1526 src_model="stock.warehouse"
1527 groups="stock.group_stock_user"/>
1529 <!-- Procurements -->
1531 <record id="view_procurement_form_stock_inherit" model="ir.ui.view">
1532 <field name="name">procurement.order.form.stock.inherit</field>
1533 <field name="model">procurement.order</field>
1534 <field name="inherit_id" ref="procurement.procurement_form_view"/>
1535 <field name="arch" type="xml">
1536 <xpath expr="//group[@name='scheduling']" position="before">
1538 <field name="warehouse_id" on_change="change_warehouse_id(warehouse_id, context)"/>
1539 <field name="location_id" domain="[('usage', '=', 'internal')]"/>
1540 <field name="route_ids" widget="many2many_tags"/>
1543 <xpath expr="//div[@name='button_box']" position="inside">
1544 <button name="do_view_pickings" string="Group's Pickings" type="object"/>
1546 <xpath expr="//field[@name='rule_id']" position="replace">
1547 <field name="rule_id" domain="['|', ('location_id', '=', False), ('location_id', '=', location_id)]"/>
1548 <field name="partner_dest_id"/>
1552 <record id="view_procurement_tree_stock_inherit" model="ir.ui.view">
1553 <field name="name">procurement.order.tree.stock.inherit</field>
1554 <field name="model">procurement.order</field>
1555 <field name="inherit_id" ref="procurement.procurement_tree_view"/>
1556 <field name="arch" type="xml">
1557 <xpath expr="//field[@name='origin']" position="before">
1558 <field name="location_id"/>
1562 <record id="view_procurement_rule_tree_stock_inherit" model="ir.ui.view">
1563 <field name="name">procurement.rule.tree.stock.inherit</field>
1564 <field name="model">procurement.rule</field>
1565 <field name="inherit_id" ref="procurement.view_procurement_rule_tree"/>
1566 <field name="arch" type="xml">
1567 <xpath expr="//field[@name='action']" position="after">
1568 <field name="picking_type_id"/>
1573 <record id="view_procurement_rule_form_stock_inherit" model="ir.ui.view">
1574 <field name="name">procurement.rule.form.stock.inherit</field>
1575 <field name="model">procurement.rule</field>
1576 <field name="inherit_id" ref="procurement.view_procurement_rule_form"/>
1577 <field name="arch" type="xml">
1578 <xpath expr="//field[@name='action']" position="before">
1579 <field name="location_id"/>
1580 <field name="warehouse_id" groups="base.group_no_one"/>
1581 <field name="route_id" groups="base.group_no_one"/>
1583 <xpath expr="//field[@name='action']" position="after">
1584 <field name="picking_type_id" attrs="{'required': [('action', '!=', 'manufacture')]}"/>
1586 <xpath expr="//field[@name='group_id']" position="after">
1587 <field name="propagate"/>
1588 <field name="propagate_warehouse_id"/>
1590 <xpath expr="//group[@name='propagation_group']" position="before">
1591 <group attrs="{'invisible': [('action', '!=', 'move')]}" string="Moving Options">
1592 <field name="procure_method" groups="stock.group_adv_location"/>
1593 <field name="location_src_id" attrs="{'required': [('action', '=', 'move')]}" domain="[('usage','!=','view')]" />
1594 <field name="partner_address_id" groups="stock.group_adv_location" context="{'show_address': 1}" options="{'always_reload': 1}"/>
1595 <label for="delay" string="Delay" groups="stock.group_adv_location"/>
1596 <div groups="stock.group_adv_location">
1597 <field name="delay" class="oe_inline"/>days
1604 <record model="ir.actions.act_window" id="procrules">
1605 <field name="context">{}</field>
1606 <field name="name">Pull Rules</field>
1607 <field name="res_model">procurement.rule</field>
1610 <record id="quant_search_view" model="ir.ui.view">
1611 <field name="name">stock.quant.search</field>
1612 <field name="model">stock.quant</field>
1613 <field eval="10" name="priority"/>
1614 <field name="arch" type="xml">
1615 <search string="Quants">
1616 <field name="product_id"/>
1617 <field name="location_id"/>
1618 <field name="package_id" groups="stock.group_tracking_lot"/>
1619 <field name="lot_id" groups="stock.group_production_lot"/>
1620 <field name="owner_id" groups="stock.group_tracking_owner"/>
1621 <group expand='0' string='Filters'>
1622 <filter name='internal_loc' string="Internal Locations" domain="[('location_id.usage','=', 'internal')]"/>
1624 <group expand='0' string='Group by...'>
1625 <filter name="productgroup" string='Product' context="{'group_by' : 'product_id'}"/>
1626 <filter string='Owner' context="{'group_by' : 'owner_id'}" groups="stock.group_tracking_owner"/>
1627 <filter string='Lot' context="{'group_by' : 'lot_id'}" groups="stock.group_production_lot"/>
1628 <filter name="locationgroup" string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1629 <filter string='Package' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'package_id'}" groups="stock.group_tracking_lot"/>
1630 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_type_id'}" groups="stock.group_tracking_lot"/>
1631 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1637 <record model="ir.actions.act_window" id="quantsact">
1638 <field name="name">Quants</field>
1639 <field name="res_model">stock.quant</field>
1640 <field name="view_type">form</field>
1641 <field name="view_mode">tree,form,graph</field>
1642 <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>
1645 <record model="ir.ui.view" id="view_stock_quant_form">
1646 <field name="name">stock.quant.form</field>
1647 <field name="model">stock.quant</field>
1648 <field eval="10" name="priority"/>
1649 <field name="arch" type="xml">
1650 <form string="Quants">
1651 <div class="oe_right oe_button_box">
1652 <button name="action_view_quant_history" type="object" string="Quant History"/>
1655 <field name="product_id"/>
1657 <field name="lot_id" groups="stock.group_production_lot"/>
1658 <field name="package_id" groups="stock.group_tracking_lot"/>
1659 <field name="location_id"/>
1660 <field name="in_date"/>
1661 <field name="reservation_id"/>
1662 <field name="propagated_from_id"/>
1663 <field name="owner_id" groups="stock.group_tracking_owner"/>
1664 <field name="inventory_value"/>
1671 <record model="ir.ui.view" id="view_stock_quant_tree">
1672 <field name="name">stock.quant.tree</field>
1673 <field name="model">stock.quant</field>
1674 <field eval="10" name="priority"/>
1675 <field name="arch" type="xml">
1676 <tree string="Quants" create="0">
1677 <field name="product_id"/>
1679 <field name="location_id"/>
1680 <field name="owner_id" groups="stock.group_tracking_owner"/>
1681 <field name="lot_id" groups="stock.group_production_lot"/>
1682 <field name="package_id" groups="stock.group_tracking_lot"/>
1683 <field name="packaging_type_id" invisible="1"/>
1684 <field name="in_date"/>
1685 <field name="inventory_value"/>
1686 <field name="reservation_id" invisible='1'/>
1687 <field name="propagated_from_id" invisible='1'/>
1688 <field name='company_id' groups="base.group_multi_company"/>
1693 <record model="ir.ui.view" id="view_stock_quant_graph_value">
1694 <field name="name">stock.quant.graph</field>
1695 <field name="model">stock.quant</field>
1696 <field eval="12" name="priority"/>
1697 <field name="arch" type="xml">
1698 <graph string="Quants">
1699 <field name="product_id"/>
1701 <field name="location_id"/>
1706 <!-- Procurements are located in Warehouse menu hierarchy, MRP users should come to Stock application to use it. -->
1707 <menuitem id="menu_stock_sched" name="Schedulers" parent="stock.menu_stock_root" sequence="4" groups="stock.group_stock_manager"/>
1708 <menuitem action="action_procurement_compute" id="menu_procurement_compute" parent="menu_stock_sched" groups="base.group_no_one" sequence="2"/>
1709 <menuitem action="procurement.action_compute_schedulers" id="menu_stock_proc_schedulers" parent="menu_stock_sched" sequence="1" groups="stock.group_stock_manager"/>
1710 <menuitem action="procurement.procurement_exceptions" id="menu_stock_procurement_action" parent="menu_stock_sched" sequence="50" groups="stock.group_stock_manager"/>
1711 <menuitem id="menu_stock_procurement" name="Automatic Procurements" parent="stock.menu_stock_configuration" sequence="5"/>
1712 <menuitem action="action_orderpoint_form" id="menu_stock_order_points" parent="stock.menu_schedulers_config" sequence="1"/>
1713 <menuitem id="stock.next_id_61" name="Warehouse" sequence="40" parent="base.menu_reporting" groups="group_stock_manager"/>
1714 <menuitem id="menu_quants" name="Quants" parent="menu_traceability" sequence="20" action="quantsact" groups="base.group_no_one"/>
1715 <menuitem id="menu_procurement_rules" name="Procurement Rules" parent="stock.menu_schedulers_config" action="procrules" groups="base.group_no_one" sequence="2"/>
1716 <menuitem id="menu_pickingtype" name="Operations Types" parent="stock.menu_warehouse_config" action="action_picking_type_list" sequence="3"/>
1719 <record model="ir.actions.act_window" id="product_open_orderpoint">
1720 <field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
1721 <field name="name">Reordering Rules</field>
1722 <field name="res_model">stock.warehouse.orderpoint</field>
1725 <record model="ir.actions.act_window" id="product_open_quants">
1726 <field name="context">{'search_default_internal_loc': 1, 'search_default_product_id': active_id, 'search_default_locationgroup':1}</field>
1727 <field name="name">Current Stock</field>
1728 <field name="res_model">stock.quant</field>
1731 <record model="ir.ui.view" id="view_quant_package_form">
1732 <field name="name">stock.quant.package.form</field>
1733 <field name="model">stock.quant.package</field>
1734 <field eval="10" name="priority"/>
1735 <field name="arch" type="xml">
1736 <form string="Package">
1738 <div class="oe_right oe_button_box">
1739 <button name="unpack" string="Unpack" type="object"/>
1741 <div class="oe_title">
1742 <label for="name" string="Package Reference" class="oe_edit_only"/>
1743 <h1><field name="name" class="oe_inline"/></h1>
1747 <field name="ul_id"/>
1748 <field name="packaging_id"/>
1749 <field name='company_id' groups="base.group_multi_company"/>
1750 <field name='owner_id' groups="stock.group_tracking_owner"/>
1753 <field name="location_id"/>
1754 <field name="parent_id"/>
1758 <page string="Content">
1759 <separator string="Bulk Content" />
1760 <field name="quant_ids">
1761 <tree string="Quants">
1762 <field name="product_id"/>
1764 <field name="location_id"/>
1765 <field name="in_date"/>
1769 <div class="oe_right oe_button_box" style="margin-top: 10px">
1770 <button name="get_content_package" type="object" string="View Contained Packages content" icon="gtk-execute" attrs="{'invisible': [('children_ids','=',[])]}"/>
1772 <separator string="Contained Packages"/>
1773 <field name="children_ids">
1774 <tree string="Contained Packages">
1775 <field name="complete_name"/>
1776 <field name="ul_id"/>
1777 <field name="packaging_id"/>
1778 <field name="location_id"/>
1789 <record model="ir.ui.view" id="view_quant_package_tree">
1790 <field name="name">stock.quant.package.tree</field>
1791 <field name="model">stock.quant.package</field>
1792 <field eval="10" name="priority"/>
1793 <field name="arch" type="xml">
1794 <tree string="Package">
1795 <field name="complete_name"/>
1796 <field name="ul_id"/>
1797 <field name="packaging_id"/>
1798 <field name="location_id"/>
1799 <field name="company_id"/>
1803 <record id="quant_package_search_view" model="ir.ui.view">
1804 <field name="name">stock.quant.package.search</field>
1805 <field name="model">stock.quant.package</field>
1806 <field eval="10" name="priority"/>
1807 <field name="arch" type="xml">
1808 <search string="Package">
1809 <field name="name" string="Package Name"/>
1810 <field name="location_id"/>
1811 <field name="ul_id"/>
1812 <field name="packaging_id"/>
1813 <group expand='0' string='Group by...'>
1814 <filter string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1815 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_id'}"/>
1816 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1821 <record model="ir.actions.act_window" id="action_package_view">
1822 <field name="context">{}</field>
1823 <field name="name">Packages</field>
1824 <field name="res_model">stock.quant.package</field>
1825 <field name="help" type="html">
1826 <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.
1830 <menuitem id="menu_package" name="Packages" parent="menu_stock_product" action="action_package_view" groups="stock.group_tracking_lot" sequence="4"/>
1834 <record id="stock_location_route_tree" model="ir.ui.view">
1835 <field name="name">stock.location.route.tree</field>
1836 <field name="model">stock.location.route</field>
1837 <field name="arch" type="xml">
1838 <tree string="Routes">
1839 <field name="sequence" widget="handle" />
1840 <field name="name"/>
1845 <record id="stock_location_route_form_view" model="ir.ui.view">
1846 <field name="name">stock.location.route.form</field>
1847 <field name="model">stock.location.route</field>
1848 <field eval="7" name="priority" />
1849 <field name="arch" type="xml">
1850 <form string="Route">
1852 <div class="oe_title">
1853 <label for="name" class="oe_edit_only"/>
1854 <h1><field name="name"/></h1>
1858 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1859 <field name="active" groups="stock.group_adv_location" />
1862 <field name="sequence" string="Sequence" groups="base.group_no_one"/>
1865 <separator string="Applicable On"/>
1866 <p class="oe_grey">Select the places where this route can be selected</p>
1869 <field name="product_categ_selectable" string="Product Categories"/>
1870 <field name="product_selectable" string="Products"/>
1873 <field name="warehouse_selectable" string="Warehouses"/>
1876 <group string="Push Rules" colspan="4" >
1877 <field name="push_ids" colspan="4" nolabel="1"/>
1879 <group string="Pull Rules" colspan="4" >
1880 <field name="pull_ids" colspan="4" nolabel="1"/>
1887 <record id="action_routes_form" model="ir.actions.act_window">
1888 <field name="name">Routes</field>
1889 <field name="res_model">stock.location.route</field>
1890 <field name="type">ir.actions.act_window</field>
1891 <field name="view_type">form</field>
1892 <field name="view_mode">tree,form</field>
1893 <field name="view_id" ref="stock_location_route_tree" />
1894 <field name="help" type="html">
1895 <p class="oe_view_nocontent_create">
1896 Click to add a route.
1898 <p>You can define here the main routes that run through
1899 your warehouses and that define the flows of your products. These
1900 routes can be assigned to a product, a product category or be fixed
1901 on procurement or sales order. </p>
1905 <menuitem action="action_routes_form" id="menu_stock_routes"
1906 parent="stock.menu_schedulers_config" sequence="3" />
1908 <record id="do_view_pickings" model="ir.actions.act_window">
1909 <field name="name">Pickings for Groups</field>
1910 <field name="res_model">stock.picking</field>
1911 <field name="view_type">form</field>
1912 <field name="view_mode">tree,form</field>
1913 <field name="domain">[('group_id','=',active_id)]</field>
1915 <record id="procurement_group_form_view_herited" model="ir.ui.view">
1916 <field name="name">procurement.group.form.herited</field>
1917 <field name="model">procurement.group</field>
1918 <field name="inherit_id" ref="procurement.procurement_group_form_view"/>
1919 <field name="arch" type="xml">
1920 <xpath expr="//div[@name='button_box']" position="inside">
1921 <button name="%(do_view_pickings)d" string="Pickings" type="action"/>