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="0" 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="40" groups="base.group_no_one"/>
18 <menuitem id="menu_stock_inventory_control" name="Inventory Control" parent="menu_stock_root" sequence="2"/>
20 id="menu_product_in_config_stock" name="Products"
21 parent="stock.menu_stock_configuration" sequence="45" groups="base.group_no_one"/>
23 action="product.product_category_action_form" id="menu_product_category_config_stock"
24 parent="stock.menu_product_in_config_stock" sequence="0"/>
26 action="product.product_normal_action" id="menu_product_variant_config_stock"
27 parent="stock.menu_product_in_config_stock" sequence="2"/>
29 action="product.product_template_action" id="menu_product_template_config_stock"
30 parent="stock.menu_product_in_config_stock" sequence="1"/>
32 action="product.product_ul_form_action" groups="product.group_stock_packaging"
33 id="menu_product_packaging_stock_action" parent="stock.menu_product_in_config_stock" sequence="3"/>
35 id="menu_stock_unit_measure_stock" name="Units of Measure"
36 parent="stock.menu_product_in_config_stock" sequence="35" groups="product.group_uom"/>
38 action="product.product_uom_categ_form_action" id="menu_stock_uom_categ_form_action"
39 parent="menu_stock_configuration" sequence="30" groups="product.group_uom"/>
41 action="product.product_uom_form_action" id="menu_stock_uom_form_action"
42 parent="menu_stock_configuration" sequence="35" groups="product.group_uom"/>
44 <record id="stock_inventory_line_tree" model="ir.ui.view">
45 <field name="name">stock.inventory.line.tree</field>
46 <field name="model">stock.inventory.line</field>
47 <field name="arch" type="xml">
48 <tree string="Stock Inventory Lines">
49 <field name="product_id"/>
50 <field name="product_qty"/>
51 <field name="product_uom_id" groups="product.group_uom"/>
52 <field name="location_id" groups="stock.group_locations"/>
57 <record id="view_inventory_filter" model="ir.ui.view">
58 <field name="name">stock.inventory.filter</field>
59 <field name="model">stock.inventory</field>
60 <field name="arch" type="xml">
61 <search string="Search Inventory">
62 <field name="name" string="Inventory Reference"/>
64 <field name="company_id" groups="base.group_multi_company"/>
65 <group expand="0" string="Group By">
66 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
67 <filter string="Inventories Month" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" help="Physical Inventories by Month"/>
74 <record id="view_inventory_tree" model="ir.ui.view">
75 <field name="name">stock.inventory.tree</field>
76 <field name="model">stock.inventory</field>
77 <field name="arch" type="xml">
78 <tree string="Lot Inventory" colors="grey:state == 'cancel'">
86 <record id="view_inventory_form" model="ir.ui.view">
87 <field name="name">stock.inventory.form</field>
88 <field name="model">stock.inventory</field>
89 <field name="arch" type="xml">
90 <form string="Inventory Adjustment">
92 <button name="prepare_inventory" states="draft" string="Start Inventory" type="object" class="oe_highlight" groups="stock.group_stock_user"/>
93 <button name="action_done" states="confirm" string="Validate Inventory" type="object" class="oe_highlight" groups="stock.group_stock_manager"/>
94 <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object"/>
95 <button name="action_cancel_inventory" states="confirm" string="Cancel Inventory" type="object"/>
96 <field name="state" widget="statusbar" statusbar_visible="draft,confirm,done"/>
99 <div class="oe_title">
100 <label for="name" class="oe_edit_only"/>
101 <h1><field name="name" placeholder="e.g. Annual inventory"/></h1>
105 <field name="location_id"/>
106 <field name="filter" string="Inventory of" widget='radio' attrs="{'readonly': [('state', '!=', 'draft')]}"/>
110 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
111 <field name="product_id" domain="[('type','=','product')]" attrs="{'invisible': [('filter', 'not in', ('product', 'product_owner'))]}"/>
112 <field name="lot_id" attrs="{'invisible': [('filter', '!=', 'lot')]}" groups="stock.group_production_lot" />
113 <field name="partner_id" attrs="{'invisible': [('filter', 'not in', ('owner', 'product_owner'))]}" groups="stock.group_tracking_owner"/>
114 <field name="package_id" attrs="{'invisible': [('filter', '!=', 'pack')]}" groups="stock.group_tracking_lot"/>
117 <notebook attrs="{'invisible':[('state','=','draft')]}">
118 <page string="Inventory Details" >
119 <button name="reset_real_qty" states="confirm" string="⇒ Set quantities to 0" type="object" class="oe_link oe_right" groups="stock.group_stock_user"/>
120 <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}">
121 <tree string="Inventory Details" editable="bottom" colors="blue: product_qty != theoretical_qty; red: theoretical_qty < 0">
122 <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')]"/>
123 <field name="product_uom_id" groups="product.group_uom" on_change="restrict_change(theoretical_qty)"/>
124 <field domain="[('usage','=','internal')]" name="location_id" groups="stock.group_locations" on_change="restrict_change(theoretical_qty)"/>
125 <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"/>
126 <field name="package_id" on_change="restrict_change(theoretical_qty)" groups="stock.group_tracking_lot"/>
127 <field name="partner_id" on_change="restrict_change(theoretical_qty)" groups="stock.group_tracking_owner"/>
128 <field name="theoretical_qty" readonly="1"/>
129 <field name="product_qty" string="Real Quantity"/>
130 <field name="state" invisible="True"/>
134 <h3 class="oe_grey">Notes</h3>
135 <ul class="oe_grey"><li>Inventory adjustments will be made by comparing the theoretical and the checked quantities.</li>
136 <li>You can delete lines to ignore some products.</li>
137 <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>
140 <page string="Inventory Adjustments" attrs="{'invisible': [('state', '!=', 'done')]}">
141 <field name="move_ids">
142 <tree colors="grey:scrapped == True" string="Stock Moves">
143 <field name="product_id"/>
144 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
145 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
146 <field name="product_uos" groups="product.group_uos"/>
147 <field name="picking_id" invisible="1" />
148 <field name="create_date" invisible="1" />
149 <field name="date_expected" invisible="1" />
150 <button name="%(stock.move_scrap)d"
151 string="Scrap Products" type="action"
152 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
153 states="draft,waiting,confirmed,assigned"
154 groups="base.group_user"/>
155 <field name="scrapped" invisible="1"/>
156 <field name="location_id"/>
157 <field name="location_dest_id"/>
158 <field name="state"/>
168 <record id="action_inventory_form" model="ir.actions.act_window">
169 <field name="name">Inventory Adjustments</field>
170 <field name="type">ir.actions.act_window</field>
171 <field name="res_model">stock.inventory</field>
172 <field name="view_type">form</field>
173 <field name="view_id" ref="view_inventory_tree"/>
174 <field name="search_view_id" ref="view_inventory_filter"/>
175 <field name="help" type="html">
176 <p class="oe_view_nocontent_create">
177 Click to start an inventory.
179 Periodical Inventories are used to count the number of products
180 available per location. You can use it once a year when you do
181 the general inventory or whenever you need it, to adapt the
182 current inventory level of a product.
186 <menuitem action="action_inventory_form" id="menu_action_inventory_form" parent="menu_stock_inventory_control" sequence="30"/>
189 <menuitem id="menu_traceability" name="Traceability" parent="menu_stock_root"
192 <record id="view_production_lot_form" model="ir.ui.view">
193 <field name="name">stock.production.lot.form</field>
194 <field name="model">stock.production.lot</field>
195 <field name="arch" type="xml">
196 <form string="Serial Number">
197 <div class="oe_button_box oe_right">
198 <button name="action_traceability" icon="fa-arrow-up" class="oe_stat_button" string="Traceability" type="object" attrs="{'invisible': [('quant_ids','=',[])]}"/>
200 <div class="oe_title">
201 <label for="name" class="oe_edit_only"/>
206 <group name="main_group">
208 <field name="product_id"/>
213 <page string="Products">
214 <field name="quant_ids">
215 <tree string="Stock Moves">
217 <field name="product_id"/>
218 <field name="qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
219 <field name="location_id" groups="stock.group_locations"/>
227 <record id="view_production_lot_tree" model="ir.ui.view">
228 <field name="name">stock.production.lot.tree</field>
229 <field name="model">stock.production.lot</field>
230 <field name="arch" type="xml">
231 <tree string="Serial Number">
234 <field name="product_id"/>
235 <field name="create_date"/>
240 <record model="ir.ui.view" id="search_product_lot_filter">
241 <field name="name">Production Lots Filter</field>
242 <field name="model">stock.production.lot</field>
243 <field name="arch" type="xml">
244 <search string="Product Lots Filter">
245 <field name="name" string="Product Lots" filter_domain="['|',('name','ilike',self),('ref','ilike',self)]"/>
246 <field name="product_id"/>
247 <group expand="0" string="Group By">
248 <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
254 <record id="action_production_lot_form" model="ir.actions.act_window">
255 <field name="name">Serial Numbers</field>
256 <field name="type">ir.actions.act_window</field>
257 <field name="res_model">stock.production.lot</field>
258 <field name="view_type">form</field>
259 <field name="view_id" ref="view_production_lot_tree"/>
260 <field name="search_view_id" ref="search_product_lot_filter"/>
261 <field name="context">{}</field>
262 <field name="help" type="html">
263 <p class="oe_view_nocontent_create">
264 Click to add a serial number.
266 This is the list of all the production lots you recorded. When
267 you select a lot, you can get the
268 traceability of the products contained in lot. By default, the
269 list is filtered on the serial numbers that are available in
270 your warehouse but you can uncheck the 'Available' button to
271 get all the lots you produced, received or delivered to
276 <menuitem action="action_production_lot_form" id="menu_action_production_lot_form"
277 parent="menu_traceability" groups="stock.group_production_lot"
281 # Lot composition (history)
283 <record id="stock_move_tree" model="ir.ui.view">
284 <field name="name">Stock Moves</field>
285 <field name="model">stock.move</field>
286 <field name="arch" type="xml">
287 <tree colors="grey:state == 'cancel'" string="Moves" create="false">
288 <field name="product_id"/>
289 <field name="product_uom_qty"/>
290 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
291 <field name="product_packaging" domain="[('product_id','=',product_id)]" groups="product.group_stock_packaging"/>
292 <field name="picking_id"/>
293 <field name="location_id" groups="stock.group_locations"/>
294 <field name="location_dest_id" groups="stock.group_locations"/>
295 <field name="create_date" groups="base.group_no_one"/>
296 <field name="date" string="Date" groups="base.group_no_one"/>
297 <field name="date_expected" string="Date Expected"/>
298 <field name="state"/>
303 <record id="stock_move_tree2" model="ir.ui.view">
304 <field name="name">Stock Moves</field>
305 <field name="model">stock.move</field>
306 <field name="arch" type="xml">
307 <tree colors="grey:state == 'cancel'" string="Moves" create="false">
308 <field name="product_id"/>
309 <field name="product_uom_qty"/>
310 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
311 <field name="product_packaging" domain="[('product_id','=',product_id)]" groups="product.group_stock_packaging"/>
312 <field name="picking_id"/>
313 <field name="location_id" groups="stock.group_locations"/>
314 <field name="location_dest_id" groups="stock.group_locations"/>
315 <field name="create_date" groups="base.group_no_one"/>
316 <field name="date" string="Date" groups="base.group_no_one"/>
317 <field name="date_expected" string="Date Expected"/>
318 <field name="state"/>
323 <record id="action3" model="ir.actions.act_window">
324 <field name="name">Downstream traceability</field>
325 <field name="type">ir.actions.act_window</field>
326 <field name="res_model">stock.move</field>
327 <field name="domain">[('id','in',active_ids)]</field>
328 <field name="view_type">tree</field>
329 <field eval="stock_move_tree2" name="view_id"/>
332 <record id="ir_move_traceability_upstream" model="ir.values">
333 <field name="key2">tree_but_action</field>
334 <field name="model">stock.move</field>
335 <field name="name">Downstream traceability</field>
336 <field eval="'ir.actions.act_window,'+str(action3)" name="value"/>
339 <record id="action5" model="ir.actions.act_window">
340 <field name="name">Upstream traceability</field>
341 <field name="type">ir.actions.act_window</field>
342 <field name="res_model">stock.move</field>
343 <field name="domain">[('id','in',active_ids)]</field>
344 <field name="view_type">tree</field>
345 <field eval="stock_move_tree" name="view_id"/>
348 <record id="ir_move_traceability_downstream" model="ir.values">
349 <field name="key2">tree_but_action</field>
350 <field name="model">stock.move</field>
351 <field name="name">Upstream traceability</field>
352 <field eval="'ir.actions.act_window,'+str(action5)" name="value"/>
355 <record model="ir.actions.act_window" id="location_open_quants">
356 <field name="context">{'search_default_productgroup': 1}</field>
357 <field name="domain">[('location_id', 'child_of', active_ids)]</field>
358 <field name="name">Current Stock</field>
359 <field name="res_model">stock.quant</field>
362 <record id="view_location_form" model="ir.ui.view">
363 <field name="name">stock.location.form</field>
364 <field name="model">stock.location</field>
365 <field name="arch" type="xml">
366 <form string="Stock Location">
367 <div class="oe_right oe_button_box" name="buttons">
368 <button string="Current Stock"
369 class="oe_stat_button"
370 icon="fa-building-o" name="%(location_open_quants)d" type="action"
371 context="{'search_default_internal_loc': 1}"/>
373 <label for="name" class="oe_edit_only"/>
374 <h1><field name="name"/></h1>
375 <label for="location_id" class="oe_edit_only"/>
376 <h2><field name="location_id"/></h2>
379 <group string="Additional Information">
380 <field name="usage"/>
381 <field name="partner_id"/>
382 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
383 <field name="scrap_location"/>
384 <field name="active"/>
386 <group string="Localization" name="localization">
390 <field name="loc_barcode"/>
392 <group string="Logistics" groups="stock.group_adv_location">
393 <field name="removal_strategy_id" options="{'no_create': True}"/>
394 <field name="putaway_strategy_id"/>
397 <separator string="Additional Information"/>
398 <field name="comment"/>
403 <record id="view_location_search" model="ir.ui.view">
404 <field name="name">stock.location.search</field>
405 <field name="model">stock.location</field>
406 <field name="arch" type="xml">
407 <search string="Stock Locations">
408 <field name="name" string="Stock Locations"/>
409 <filter icon="terp-go-home" name="in_location" string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations"/>
410 <filter icon="terp-personal" name="customer" string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations"/>
411 <filter icon="terp-personal" name="supplier" string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations"/>
412 <field name="location_id" string="Parent Location"/>
418 <record id="view_location_tree2" model="ir.ui.view">
419 <field name="name">stock.location.tree</field>
420 <field name="model">stock.location</field>
421 <field name="priority" eval="2"/>
422 <field name="arch" type="xml">
423 <tree string="Stock Location" colors="blue:usage=='view';darkred:usage=='internal'">
424 <field name="complete_name"/>
425 <field name="usage"/>
430 <record id="view_putaway" model="ir.ui.view">
431 <field name="name">product.putaway.form</field>
432 <field name="model">product.putaway</field>
433 <field name="arch" type="xml">
434 <form string="Putaway">
437 <field name="method"/>
439 <div attrs="{'invisible': [('method', '!=', 'fixed')]}">
440 <separator string="Fixed Locations Per Categories"/>
441 <field name="fixed_location_ids" colspan="4" nolabel="1">
442 <tree editable="top">
443 <field name="sequence" widget='handle'/>
444 <field name="category_id"/>
445 <field name="fixed_location_id"/>
453 <record id="view_removal" model="ir.ui.view">
454 <field name="name">product.removal.form</field>
455 <field name="model">product.removal</field>
456 <field name="arch" type="xml">
457 <form string="Removal">
460 <field name="method"/>
466 <record id="stock_location_path_tree" model="ir.ui.view">
467 <field name="name">stock.location.path.tree</field>
468 <field name="model">stock.location.path</field>
469 <field name="arch" type="xml">
470 <tree string="Location Paths">
471 <field name="location_from_id" />
472 <field name="location_dest_id" />
473 <field name="name" />
478 <record id="stock_location_path_form" model="ir.ui.view">
479 <field name="name">stock.location.path.form</field>
480 <field name="model">stock.location.path</field>
481 <field name="arch" type="xml">
482 <form string="Location Paths">
486 <field name="location_from_id"/>
487 <field name="location_dest_id"/>
490 <field name="company_id" groups="base.group_multi_company" />
491 <field name="picking_type_id"/>
493 <label for="delay" string="Delay"/>
495 <field name="delay" class="oe_inline"/>days
503 <record id="product_category_form_view_inherit" model="ir.ui.view">
504 <field name="name">product.category.form</field>
505 <field name="model">product.category</field>
506 <field name="inherit_id" ref="product.product_category_form_view" />
507 <field name="arch" type="xml">
508 <xpath expr="//group[@name='parent']" position="inside">
509 <group string="Logistics" colspan="2">
510 <field name="route_ids" widget="many2many_tags"/>
511 <div class="oe_inline" colspan="2">
512 <p attrs="{'invisible':[('parent_id','=',False)]}">
513 The following routes will apply to the products in this category taking into account parent categories:
514 <field name="total_route_ids" nolabel="1" widget="many2many_tags"/>
517 <field name="removal_strategy_id" options="{'no_create': True}"/>
524 <record id="action_location_form" model="ir.actions.act_window">
525 <field name="name">Locations</field>
526 <field name="res_model">stock.location</field>
527 <field name="type">ir.actions.act_window</field>
528 <field name="view_type">form</field>
529 <field name="view_id" ref="view_location_tree2"/>
530 <field name="search_view_id" ref="view_location_search"/>
531 <field name="context">{'search_default_in_location':1}</field>
532 <field name="help" type="html">
533 <p class="oe_view_nocontent_create">
534 Click to add a location.
536 Define your locations to reflect your warehouse structure and
537 organization. OpenERP is able to manage physical locations
538 (warehouses, shelves, bin, etc), partner locations (customers,
539 suppliers) and virtual locations which are the counterpart of
540 the stock operations like the manufacturing orders
541 consumptions, inventories, etc.
543 Every stock operation in OpenERP moves the products from one
544 location to another one. For instance, if you receive products
545 from a supplier, OpenERP will move products from the Supplier
546 location to the Stock location. Each report can be performed on
547 physical, partner or virtual locations.
551 <menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations"
552 parent="menu_stock_configuration" sequence="5"/>
555 <record id="act_product_stock_move_open" model="ir.actions.act_window">
556 <field name="context">{'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}</field>
557 <field name="name">Moves</field>
558 <field name="res_model">stock.move</field>
561 <record id="view_warehouse" model="ir.ui.view">
562 <field name="name">stock.warehouse</field>
563 <field name="model">stock.warehouse</field>
564 <field name="arch" type="xml">
565 <form string="Warehouse">
567 <div class="oe_right oe_button_box">
568 <button name="view_all_routes_for_wh"
571 class="oe_stat_button"
574 <label for="name" class="oe_edit_only"/>
575 <h1><field name="name"/></h1>
579 <field name="lot_stock_id" groups="stock.group_locations" string="Inventory Location" invisible="1"/>
582 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
583 <field name="partner_id"/>
585 <notebook colspan="4" groups="stock.group_adv_location">
586 <page string="Warehouse Configuration" colspan="4">
588 <field name="reception_steps" widget='radio'/>
589 <field name="delivery_steps" widget='radio'/>
590 <field name="default_resupply_wh_id" widget='selection' on_change="onchange_filter_default_resupply_wh_id(default_resupply_wh_id, resupply_wh_ids)"/>
591 <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)"/>
594 <page string="Technical Information" groups='base.group_no_one'>
596 <group string="Locations">
597 <field name="wh_input_stock_loc_id" readonly="1"/>
598 <field name="wh_qc_stock_loc_id" readonly="1"/>
599 <field name="wh_pack_stock_loc_id" readonly="1"/>
600 <field name="wh_output_stock_loc_id" readonly="1"/>
602 <group string="Picking Types">
603 <field name="in_type_id" readonly="1"/>
604 <field name="int_type_id" readonly="1"/>
605 <field name="pick_type_id" readonly="1"/>
606 <field name="pack_type_id" readonly="1"/>
607 <field name="out_type_id" readonly="1"/>
617 <record id="view_warehouse_tree" model="ir.ui.view">
618 <field name="name">stock.warehouse.tree</field>
619 <field name="model">stock.warehouse</field>
620 <field name="arch" type="xml">
621 <tree string="Warehouse">
623 <field name="lot_stock_id" groups="stock.group_locations"/>
624 <field name="partner_id"/>
628 <record id="action_warehouse_form" model="ir.actions.act_window">
629 <field name="name">Warehouses</field>
630 <field name="res_model">stock.warehouse</field>
631 <field name="type">ir.actions.act_window</field>
632 <field name="view_type">form</field>
633 <field name="view_id" ref="view_warehouse_tree"/>
634 <field name="help" type="html">
635 <p class="oe_view_nocontent_create">
636 Click to define a new warehouse.
640 <menuitem action="action_warehouse_form" id="menu_action_warehouse_form" groups="stock.group_locations"
641 parent="menu_stock_configuration" sequence="1"/>
645 Defaults and Internal Pickings
648 <record model="ir.ui.view" id="stock_picking_calendar">
649 <field name="name">stock.picking.calendar</field>
650 <field name="model">stock.picking</field>
651 <field name="priority" eval="2"/>
652 <field name="arch" type="xml">
653 <calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="partner_id">
654 <field name="origin"/>
655 <field name="picking_type_id"/>
656 <field name="partner_id"/>
661 <record id="vpicktree" model="ir.ui.view">
662 <field name="name">stock.picking.tree</field>
663 <field name="model">stock.picking</field>
664 <field name="arch" type="xml">
665 <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
667 <field name="location_dest_id"/>
669 <field name="min_date" invisible="1"/>
670 <field name="origin"/>
671 <field name="group_id" invisible="1"/>
672 <field name="backorder_id"/>
673 <field name="state"/>
674 <field name="priority" invisible="1"/>
675 <field name="picking_type_id" invisible="1"/>
680 <record id="view_picking_form" model="ir.ui.view">
681 <field name="name">stock.picking.form</field>
682 <field name="model">stock.picking</field>
683 <field eval="12" name="priority"/>
684 <field name="arch" type="xml">
685 <form string="Transfer">
687 <button name="action_confirm" states="draft" string="Mark as Todo" type="object" class="oe_highlight" groups="base.group_user"/>
688 <button name="action_assign" states="confirmed,partially_available" string="Check Availability" type="object" class="oe_highlight" groups="base.group_user"/>
689 <button name="force_assign" states="confirmed,waiting,partially_available" string="Force Availability" type="object" groups="base.group_user"/>
690 <button name="do_transfer" states="assigned" string="Transfer" groups="stock.group_stock_user" type="object" class="oe_highlight" attrs="{'invisible': ['|', ('pack_operation_exist', '=', True)]}"/>
691 <button name="do_partial_open_barcode" string="Enter Transfer Details" groups="stock.group_stock_user" type="object" class="oe_highlight" attrs="{'invisible': ['|',('pack_operation_exist', '=', True),('state','not in',('assigned', 'partially_available'))]}"/>
692 <button name="open_barcode_interface" string="Open Barcode interface" groups="stock.group_stock_user" type="object" class="oe_highlight" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state','not in',('assigned', 'partially_available'))]}"/>
693 <button name="do_print_picking" string="Print Picking List" groups="stock.group_stock_user" type="object" attrs="{'invisible': ['|', ('picking_type_code', '=', 'outgoing'), ('state', '!=', 'assigned')]}"/>
694 <button name="%(act_stock_return_picking)d" string="Reverse Transfer" states="done" type="action" groups="base.group_user"/>
695 <button name="action_cancel" states="assigned,confirmed,partially_available,draft" string="Cancel Transfer" groups="base.group_user" type="object"/>
696 <button name="do_unreserve" string="Unreserve" groups="base.group_user" type="object" attrs="{'invisible': [('quant_reserved_exist', '=', False)]}"/>
697 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,partially_available,assigned,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
700 <div class="oe_right oe_button_box">
703 <field name="name" class="oe_inline" attrs="{'invisible': [('name','=','/')]}" readonly="1"/>
707 <field name="partner_id"/>
708 <field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
712 <field name="min_date"/>
713 <field name="origin" placeholder="e.g. PO0032" class="oe_inline"/>
714 <label for="owner_id" groups="stock.group_tracking_owner"/>
715 <div groups="stock.group_tracking_owner">
716 <field name="owner_id"/>
717 <button name="action_assign_owner" string="Assign Owner" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state', 'not in', ('draft','assigned','confirmed'))]}"
718 class="oe_link oe_edit_only"/>
723 <page string="Products">
724 <separator string="Stock Moves" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
726 <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}"/>
729 <separator string="Quantities Done" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
732 <field name="pack_operation_exist" invisible="1"/>
733 <button name="action_pack" string="Create Package" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state', 'not in', ('draft','assigned','partially_available','confirmed'))]}" class="oe_link oe_right oe_inline" groups="product.group_stock_packaging"/>
734 <button name="do_split" string="Create Draft Backorder" groups="base.group_no_one" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state','not in',('assigned', 'partially_available'))]}" class="oe_link oe_right oe_inline"/>
735 <button name="recheck_availability" string="Recheck Availability" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state','not in',('assigned', 'partially_available'))]}" groups="stock.group_stock_user" class="oe_link oe_right oe_inline"/>
738 <field name="pack_operation_ids" attrs="{'invisible': [('pack_operation_exist', '=', False)]}" context="{'default_owner_id': owner_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}">
739 <tree editable="top">
740 <field name="location_id"/>
741 <field name="product_id" on_change='product_id_change(product_id, product_uom_id, product_qty, context)'/>
742 <field name="product_uom_id" groups="product.group_uom" on_change='on_change_tests(product_id, product_uom_id, product_qty, context)'/>
743 <field name="lot_id" domain="[('product_id','=?', product_id)]" context="{'product_id': product_id}" groups="stock.group_production_lot"/>
744 <field name="package_id" groups="stock.group_tracking_lot"/>
745 <field name="owner_id" groups="stock.group_tracking_owner"/>
746 <field name="product_qty" attrs="{'required': [('product_id', '!=', False)]}" on_change='on_change_tests(product_id, product_uom_id, product_qty, context)'/>
747 <field name="location_dest_id"/>
748 <field name="result_package_id" groups="stock.group_tracking_lot"/>
752 <field name="move_lines" context="{'address_in_id': partner_id, 'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'view_move_picking_tree', 'default_picking_type_id': picking_type_id,'default_picking_id': active_id}"/>
753 <field name="pack_operation_exist" invisible="1"/>
754 <field name="note" placeholder="Add an internal note..." class="oe_inline"/>
756 <page string="Operations Done" attrs="{'invisible': ['|', ('state','!=','done'), ('pack_operation_ids','=',[])]}">
757 <field name="pack_operation_ids">
758 <tree editable="top">
759 <field name="location_id"/>
760 <field name="product_id"/>
761 <field name="product_uom_id" groups="product.group_uom"/>
762 <field name="lot_id" domain="[('product_id','=?', product_id)]" context="{'product_id': product_id}" groups="stock.group_production_lot"/>
763 <field name="package_id" groups="stock.group_tracking_lot"/>
764 <field name="owner_id" groups="stock.group_tracking_owner"/>
765 <field name="product_qty" attrs="{'required': [('product_id', '!=', False)]}"/>
766 <field name="location_dest_id"/>
767 <field name="result_package_id" groups="stock.group_tracking_lot"/>
771 <page string="Additional Info">
772 <group string="General Informations">
774 <field name="move_type"/>
775 <field name="picking_type_id"/>
776 <field name="picking_type_code" invisible="1"/>
777 <field name="quant_reserved_exist" invisible="1"/>
778 <field name="location_id" invisible="1"/>
779 <field name="location_dest_id" invisible="1"/>
782 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
783 <field name="date_done" groups="base.group_no_one"/>
784 <field name="group_id"/>
785 <field name="priority"/>
791 <div class="oe_chatter">
792 <field name="message_follower_ids" widget="mail_followers"/>
793 <field name="message_ids" widget="mail_thread"/>
799 <record id="view_picking_internal_search" model="ir.ui.view">
800 <field name="name">stock.picking.internal.search</field>
801 <field name="model">stock.picking</field>
802 <field name="arch" type="xml">
803 <search string="Picking Lists">
804 <field name="name" string="Picking List" filter_domain="['|',('name','ilike', self),('origin','ilike',self)]"/>
805 <filter icon="terp-check" name="draft" string="Draft" domain="[('state','=','draft')]" help="Draft Moves"/>
806 <filter icon="terp-check" name="available" string="Ready" domain="[('state','in',('assigned', 'partially_available'))]" help="Assigned Moves"/>
807 <filter icon="terp-check" name="waiting" string="Waiting Availability" domain="[('state','=', 'confirmed')]" help="Waiting Moves"/>
808 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in', ('confirmed', 'waiting', 'assigned'))]" help="Confirmed Moves"/>
809 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
811 <filter name="late" string="Late" domain="[('min_date','<', time.strftime('%%Y-%%m-%%d'))]" help="Pickings that are late on scheduled time"/>
813 <filter name="backorder" string="Backorders" domain="[('backorder_id','<>', False)]" help="Remaining parts of picking partially processed"/>
814 <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
815 <field name="product_id"/>
816 <field name="picking_type_id"/>
817 <field name="group_id"/>
818 <group expand="0" string="Group By">
819 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
820 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
821 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
822 <filter string="Origin" domain="[]" context="{'group_by':'origin'}"/>
823 <filter string="Picking Type" domain="[]" context="{'group_by':'picking_type_id'}"/>
824 <filter string="Procurement Group" domain="[]" context="{'group_by':'group_id'}"/>
830 <record id="action_picking_tree_all" model="ir.actions.act_window">
831 <field name="name">Stock Operations</field>
832 <field name="res_model">stock.picking</field>
833 <field name="type">ir.actions.act_window</field>
834 <field name="view_type">form</field>
835 <field name="view_mode">tree,form,calendar</field>
836 <field name="domain"></field>
837 <field name="context">{
838 'contact_display': 'partner_address',
841 <field name="search_view_id" ref="view_picking_internal_search"/>
844 <record id="action_picking_tree_done" model="ir.actions.act_window">
845 <field name="name">Done Transfers</field>
846 <field name="res_model">stock.picking</field>
847 <field name="type">ir.actions.act_window</field>
848 <field name="view_type">form</field>
849 <field name="view_mode">tree,form,calendar</field>
850 <field name="domain"></field>
851 <field name="context">{
852 'search_default_picking_type_id': [active_id],
853 'default_picking_type_id': active_id,
854 'contact_display': 'partner_address',
855 'search_default_done': 1,
858 <field name="search_view_id" ref="view_picking_internal_search"/>
861 <record id="action_picking_tree_ready" model="ir.actions.act_window">
862 <field name="name">Ready Transfers</field>
863 <field name="res_model">stock.picking</field>
864 <field name="type">ir.actions.act_window</field>
865 <field name="view_type">form</field>
866 <field name="view_mode">tree,form,calendar</field>
867 <field name="domain"></field>
868 <field name="context">{
869 'search_default_picking_type_id': [active_id],
870 'default_picking_type_id': active_id,
871 'contact_display': 'partner_address',
872 'search_default_available': 1,
875 <field name="search_view_id" ref="view_picking_internal_search"/>
878 <record id="action_picking_tree_done_grouped" model="ir.actions.act_window">
879 <field name="name">Done Transfers by Date</field>
880 <field name="res_model">stock.picking</field>
881 <field name="type">ir.actions.act_window</field>
882 <field name="view_type">form</field>
883 <field name="view_mode">tree,form,calendar</field>
884 <field name="domain"></field>
885 <field name="context">{
886 'search_default_picking_type_id': [active_id],
887 'default_picking_type_id': active_id,
888 'contact_display': 'partner_address',
889 'search_default_done': 1,
890 'group_by': ['date'],
893 <field name="search_view_id" ref="view_picking_internal_search"/>
896 <record id="action_picking_tree_waiting" model="ir.actions.act_window">
897 <field name="name">Waiting Availability Transfers</field>
898 <field name="res_model">stock.picking</field>
899 <field name="type">ir.actions.act_window</field>
900 <field name="view_type">form</field>
901 <field name="view_mode">tree,form,calendar</field>
902 <field name="domain"></field>
903 <field name="context">{
904 'search_default_picking_type_id': [active_id],
905 'default_picking_type_id': active_id,
906 'contact_display': 'partner_address',
907 'search_default_waiting': 1,
910 <field name="search_view_id" ref="view_picking_internal_search"/>
913 <record id="action_picking_tree_late" model="ir.actions.act_window">
914 <field name="name">Late Transfers</field>
915 <field name="res_model">stock.picking</field>
916 <field name="type">ir.actions.act_window</field>
917 <field name="view_type">form</field>
918 <field name="view_mode">tree,form,calendar</field>
919 <field name="domain"></field>
920 <field name="context">{
921 'search_default_picking_type_id': [active_id],
922 'default_picking_type_id': active_id,
923 'contact_display': 'partner_address',
924 'search_default_late': 1,
925 'search_default_confirmed': 1,
928 <field name="search_view_id" ref="view_picking_internal_search"/>
931 <record id="action_picking_tree_backorder" model="ir.actions.act_window">
932 <field name="name">Backorders</field>
933 <field name="res_model">stock.picking</field>
934 <field name="type">ir.actions.act_window</field>
935 <field name="view_type">form</field>
936 <field name="view_mode">tree,form,calendar</field>
937 <field name="domain"></field>
938 <field name="context">{
939 'search_default_picking_type_id': [active_id],
940 'default_picking_type_id': active_id,
941 'contact_display': 'partner_address',
942 'search_default_backorder': 1,
943 'search_default_confirmed': 1,
946 <field name="search_view_id" ref="view_picking_internal_search"/>
949 <record id="action_picking_tree" model="ir.actions.act_window">
950 <field name="name">Transfers</field>
951 <field name="res_model">stock.picking</field>
952 <field name="type">ir.actions.act_window</field>
953 <field name="view_type">form</field>
954 <field name="view_mode">tree,form,calendar</field>
955 <field name="domain"></field>
956 <field name="context">{
957 'search_default_picking_type_id': [active_id],
958 'default_picking_type_id': active_id,
959 'contact_display': 'partner_address',
962 <field name="search_view_id" ref="view_picking_internal_search"/>
963 <field name="help" type="html">
964 <p class="oe_view_nocontent_create">
965 Click to create a stock operation.
967 Most operations are prepared automatically by OpenERP according
968 to your preconfigured logistics rules, but you can also record
969 manual stock movements.
974 <record id="view_move_graph" model="ir.ui.view">
975 <field name="name">stock.move.graph</field>
976 <field name="model">stock.move</field>
977 <field name="arch" type="xml">
978 <graph string="Stock Moves Analysis" type="pivot">
979 <field name="product_id" type="row"/>
980 <field name="location_dest_id" groups="stock.group_locations" type="row"/>
981 <field name="product_uom_qty" type="measure"/>
986 <record id="view_move_tree" model="ir.ui.view">
987 <field name="name">stock.move.tree</field>
988 <field name="model">stock.move</field>
989 <field eval="8" name="priority"/>
990 <field name="arch" type="xml">
991 <tree colors="grey:state == 'cancel';red:(state not in ('cancel','done')) and date > current_date" string="Moves">
993 <field name="picking_id" string="Reference"/>
994 <field name="origin"/>
995 <field name="picking_type_id"/>
996 <field name="create_date" invisible="1" groups="base.group_no_one"/>
997 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
998 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
999 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1000 <field name="product_uos" groups="product.group_uos"/>
1001 <button name="%(stock.move_scrap)d"
1002 string="Scrap Products" type="action"
1003 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1004 states="draft,waiting,confirmed,assigned"/>
1005 <field name="location_id" groups="stock.group_locations"/>
1006 <field name="location_dest_id" groups="stock.group_locations"/>
1007 <field name="date" groups="base.group_no_one"/>
1008 <field name="date_expected"/>
1009 <field name="state"/>
1010 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward" help="Done"/>
1015 <record id="view_move_picking_tree" model="ir.ui.view">
1016 <field name="name">stock.move.tree</field>
1017 <field name="model">stock.move</field>
1018 <field eval="4" name="priority"/>
1019 <field name="arch" type="xml">
1020 <tree colors="grey:scrapped == True" string="Stock Moves">
1021 <field name="product_id"/>
1022 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
1023 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1024 <field name="product_uos" groups="product.group_uos"/>
1025 <field name="location_id" groups="stock.group_locations" invisible="1"/>
1026 <field name="picking_id" invisible="1" />
1027 <field name="create_date" invisible="1" />
1028 <field name="date_expected" invisible="1" />
1029 <button name="%(stock.move_scrap)d"
1030 string="Scrap Products" type="action"
1031 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1032 states="draft,waiting,confirmed,assigned"
1033 groups="base.group_user"/>
1034 <field name="scrapped" invisible="1"/>
1035 <field name="availability" invisible="1"/>
1036 <field name="reserved_availability" invisible="1"/>
1037 <field name="location_dest_id" groups="stock.group_locations"/>
1038 <field name="remaining_qty" invisible="1"/>
1039 <field name="string_availability_info"/>
1040 <field name="state"/>
1045 <record id="view_move_form" model="ir.ui.view">
1046 <field name="name">stock.move.form</field>
1047 <field name="model">stock.move</field>
1048 <field eval="1" name="priority"/>
1049 <field name="arch" type="xml">
1050 <form string="Stock Moves">
1052 <button name="action_confirm" states="draft" string="Process Later" type="object" class="oe_highlight"/>
1053 <button name="action_done" states="draft,assigned,confirmed" string="Process Entirely" type="object" class="oe_highlight"/>
1054 <button name="force_assign" states="confirmed" string="Set Available" type="object" class="oe_highlight"/>
1055 <button name="action_cancel" states="draft,assigned,confirmed" string="Cancel Move" type="object"/>
1056 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
1060 <group name="main_grp" colspan="4">
1061 <group name="main_grp_col1">
1062 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1063 <label for="product_uom_qty"/>
1065 <field name="product_uom_qty"
1066 on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"
1068 <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
1069 <button name="%(stock.move_scrap)d"
1070 string="Scrap" type="action"
1071 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1072 states="draft,waiting,confirmed,assigned" colspan="1"/>
1074 <field name="name"/>
1075 <label for="product_uos_qty" groups="product.group_uos"/>
1076 <div groups="product.group_uos">
1077 <field name="product_uos_qty"
1078 on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)"
1080 <field name="product_uos" class="oe_inline"/>
1083 <group name="main_grp_col2">
1084 <field name="picking_type_id"/>
1085 <field name="priority"/>
1086 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1087 <field name="date_expected" on_change="onchange_date(date,date_expected)" attrs="{'invisible': [('state', '=', 'done')]}"/>
1088 <field name="date" attrs="{'invisible': [('state', '!=', 'done')]}"/>
1091 <group name="origin_grp" string="Origin">
1092 <field name="origin"/>
1093 <field name="location_id" groups="stock.group_locations"/>
1094 <field name="picking_id" domain="[('picking_type_id','=',picking_type_id)]"/>
1095 <field name="create_date" groups="base.group_no_one"/>
1096 <field name="procure_method" attrs="{'readonly': [('state', '!=', 'draft')]}" groups="stock.group_adv_location"/>
1097 <field name="group_id"/>
1099 <group name="destination_grp" string="Destination" groups="stock.group_locations">
1100 <field name="location_dest_id" />
1101 <field name="partner_id" context="{'contact_display':'partner'}" />
1103 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1104 <field name="reserved_quant_ids"/>
1112 <record id="view_move_picking_form" model="ir.ui.view">
1113 <field name="name">stock.move.form</field>
1114 <field name="model">stock.move</field>
1115 <field eval="20" name="priority"/>
1116 <field name="arch" type="xml">
1117 <form string="Stock Moves">
1119 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_user"/>
1120 <button name="action_confirm" states="draft" string="Confirm" type="object" groups="base.group_user"/>
1121 <button name="do_unreserve" states="assigned" string="Cancel Availability" type="object" groups="base.group_user"/>
1122 <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done"/>
1126 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.partner_id)"/>
1127 <field name="procure_method" groups="stock.group_adv_location"/>
1128 <field name="picking_type_id" invisible="1"/>
1129 <label for="product_uom_qty"/>
1131 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1132 <field name="product_uom" string="Unit Of Measure" groups="product.group_uom" class="oe_inline"/>
1133 <button name="%(stock.move_scrap)d"
1134 string="Scrap" type="action"
1135 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1136 states="draft,waiting,confirmed,assigned"
1137 groups="base.group_user"/>
1139 <label for="product_uos_qty" groups="product.group_uos"/>
1140 <div groups="product.group_uos">
1141 <field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" class="oe_inline"/>
1142 <field name="product_uos" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1144 <field name="name"/>
1145 <field name="product_packaging" groups="product.group_stock_packaging" domain="[('product_id','=',product_id)]"/>
1148 <field name="create_date" invisible="1"/>
1149 <field name="date"/>
1150 <field name="date_expected" on_change="onchange_date(date,date_expected)"/>
1152 <group string="Locations" groups="stock.group_locations">
1153 <field name="location_id" domain="[('usage','<>','view')]"/>
1154 <field name="location_dest_id" domain="[('usage','=','internal')]"/>
1156 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1157 <field name="reserved_quant_ids"/>
1164 <record id="view_move_search" model="ir.ui.view">
1165 <field name="name">stock.move.search</field>
1166 <field name="model">stock.move</field>
1167 <field eval="3" name="priority"/>
1168 <field name="arch" type="xml">
1169 <search string="Stock Moves">
1170 <field name="origin" filter_domain="['|', '|', ('origin', 'ilike', self), ('name', 'ilike', self), ('picking_id', 'ilike', self)]" string="Reference"/>
1171 <field name="date" groups="base.group_no_one"/>
1173 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1174 <filter icon="terp-stock" string="To Do" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1175 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1177 <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"/>
1178 <field name="product_id"/>
1179 <field name="name" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1180 <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','child_of',self)]"/>
1181 <group expand="0" string="Group By">
1182 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1183 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1184 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}" groups="stock.group_locations"/>
1185 <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"/>
1186 <filter icon="terp-stock_effects-object-colorize" string="Status" domain="[]" context="{'group_by':'state'}"/>
1187 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}" groups="base.group_no_one"/>
1188 <filter string="Scheduled" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date_expected'}"/>
1194 <record id="action_move_form2" model="ir.actions.act_window">
1195 <field name="name">Stock Moves</field>
1196 <field name="res_model">stock.move</field>
1197 <field name="type">ir.actions.act_window</field>
1198 <field name="view_type">form</field>
1199 <field name="view_id" ref="view_move_tree"/>
1200 <field name="search_view_id" ref="view_move_search"/>
1201 <field name="context">{}</field>
1202 <field name="help" type="html">
1203 <p class="oe_view_nocontent_create">
1204 Click to create a stock movement.
1206 This menu gives you the full traceability of inventory
1207 operations on a specific product. You can filter on the product
1208 to see all the past or future movements for the product.
1213 <record model="ir.actions.act_window.view" id="action_stock_move_tree_all">
1214 <field name="sequence" eval="1"/>
1215 <field name="view_mode">tree</field>
1216 <field name="view_id" ref="view_move_tree"/>
1217 <field name="act_window_id" ref="action_move_form2"/>
1220 <record model="ir.actions.act_window.view" id="action_stock_move_form_all">
1221 <field name="sequence" eval="3"/>
1222 <field name="view_mode">form</field>
1223 <field name="view_id" ref="view_move_form"/>
1224 <field name="act_window_id" ref="action_move_form2"/>
1227 <record model="ir.actions.act_window.view" id="action_stock_move_graph_all">
1228 <field name="sequence" eval="3"/>
1229 <field name="view_mode">graph</field>
1230 <field name="view_id" ref="view_move_graph"/>
1231 <field name="act_window_id" ref="action_move_form2"/>
1234 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="3" groups="stock.group_locations"/>
1237 Reception Picking (By Stock Move)
1238 From stock_partial_move_view
1240 <record id="view_move_tree_reception_picking" model="ir.ui.view">
1241 <field name="name">stock.move.tree2</field>
1242 <field name="model">stock.move</field>
1243 <field name="priority" eval="6"/>
1244 <field name="arch" type="xml">
1245 <tree colors="grey:state == 'cancel'" string="Moves">
1246 <field name="date" widget="date"/>
1247 <field name="picking_id" string="Reference" invisible="1"/>
1248 <field name="origin"/>
1249 <field name="partner_id" string="Supplier"/>
1250 <field name="product_id"/>
1251 <field name="product_uom_qty"/>
1252 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1253 <field name="location_id" invisible="1"/>
1254 <field name="location_dest_id" invisible="1"/>
1255 <field name="create_date" invisible="1"/>
1256 <field name="date_expected" invisible="1"/>
1257 <button name="%(stock.move_scrap)d"
1258 string="Scrap Products" type="action"
1259 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1260 states="draft,waiting,confirmed,assigned"/>
1261 <field name="state"/>
1262 <button name="action_done" states="draft,assigned,confirmed"
1263 icon="gtk-go-forward" type="object"
1264 class="oe_highlight" help="Done"/>
1270 <record id="view_move_tree_reception_picking_board" model="ir.ui.view">
1271 <field name="name">stock.move.tree3</field>
1272 <field name="model">stock.move</field>
1273 <field eval="6" name="priority"/>
1274 <field name="arch" type="xml">
1275 <tree string="Moves">
1276 <field name="picking_id" string="Reference"/>
1277 <field name="product_id"/>
1278 <field name="product_uom_qty"/>
1279 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1280 <field name="date" groups="base.group_no_one"/>
1285 <record id="action_reception_picking_move" model="ir.actions.act_window">
1286 <field name="name">Incoming Products</field>
1287 <field name="res_model">stock.move</field>
1288 <field name="type">ir.actions.act_window</field>
1289 <field name="view_type">form</field>
1290 <field name="view_mode">tree,form</field>
1291 <field name="domain" eval="['|','&',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.picking_type_id.code','=','outgoing')]"/>
1292 <field name="view_id" ref="view_move_tree_reception_picking"/>
1293 <field name="context">{'product_receive': True, 'search_default_future': True}</field>
1294 <field name="help" type="html">
1295 <p class="oe_view_nocontent_create">
1296 Click to register a product reception.
1298 Here you can receive individual products, no matter what
1299 purchase order or picking order they come from. You will find
1300 the list of all products you are waiting for. Once you receive
1301 an order, you can filter based on the name of the supplier or
1302 the purchase order reference. Then you can confirm all products
1303 received using the buttons on the right of each line.
1308 <!-- Stock incoterms -->
1309 <record id="view_incoterms_tree" model="ir.ui.view">
1310 <field name="name">stock.incoterms.tree</field>
1311 <field name="model">stock.incoterms</field>
1312 <field name="arch" type="xml">
1313 <tree string="Incoterms">
1314 <field name="code"/>
1315 <field colspan="4" name="name"/>
1319 <record id="stock_incoterms_form" model="ir.ui.view">
1320 <field name="name">stock.incoterms.form</field>
1321 <field name="model">stock.incoterms</field>
1322 <field name="arch" type="xml">
1323 <form string="Incoterms">
1325 <field name="name"/>
1326 <field name="code"/>
1327 <field name="active"/>
1332 <record id="action_incoterms_tree" model="ir.actions.act_window">
1333 <field name="name">Incoterms</field>
1334 <field name="res_model">stock.incoterms</field>
1335 <field name="type">ir.actions.act_window</field>
1336 <field name="view_type">form</field>
1337 <field name="view_mode">tree,form</field>
1340 <menuitem action="action_incoterms_tree" id="menu_action_incoterm_open" parent="menu_warehouse_config" sequence="1"/>
1343 <record id="view_pickingtype_filter" model="ir.ui.view">
1344 <field name="name">stock.picking.type.filter</field>
1345 <field name="model">stock.picking.type</field>
1346 <field name="arch" type="xml">
1347 <search string="Picking Type">
1348 <field name="name"/>
1349 <field name="sequence_id"/>
1350 <field name="warehouse_id"/>
1354 <record model="ir.ui.view" id="view_picking_type_tree">
1355 <field name="name">Picking types</field>
1356 <field name="model">stock.picking.type</field>
1357 <field name="arch" type="xml">
1358 <tree string="Picking Types">
1359 <field name="sequence" widget="handle"/>
1360 <field name="name"/>
1361 <field name="warehouse_id"/>
1362 <field name="sequence_id"/>
1366 <record model="ir.ui.view" id="view_picking_type_form">
1367 <field name="name">Picking Types</field>
1368 <field name="model">stock.picking.type</field>
1369 <field name="arch" type="xml">
1370 <form string="Picking Types">
1374 <field name="name"/>
1375 <field name="sequence_id"/>
1376 <field name="warehouse_id"/>
1379 <field name="code" on_change="onchange_picking_code(code)"/>
1380 <field name="return_picking_type_id"/>
1383 <separator string="Locations"/>
1385 <field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}"/>
1386 <field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}"/>
1394 <record id="stock_picking_type_kanban" model="ir.ui.view">
1395 <field name="name">stock.picking.type.kanban</field>
1396 <field name="model">stock.picking.type</field>
1397 <field name="arch" type="xml">
1398 <kanban class="oe_background_grey" create="0">
1399 <field name="complete_name"/>
1400 <field name="color"/>
1401 <field name="count_picking_ready"/>
1402 <field name="count_picking_draft"/>
1403 <field name="count_picking_waiting"/>
1404 <field name="count_picking_late"/>
1405 <field name="count_picking_backorders"/>
1407 <t t-name="kanban-box">
1408 <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_stock_picking_type">
1409 <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="stock.group_stock_manager">
1410 <span class="oe_e">í</span>
1411 <ul class="oe_dropdown_menu">
1412 <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
1413 <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
1414 <t t-if="widget.view.is_action_enabled('edit')"><li><ul class="oe_kanban_colorpicker" data-field="color"/></li></t>
1417 <div class="oe_kanban_content">
1418 <h4 class="oe_center"><field name="complete_name"/></h4>
1419 <div class="oe_right">
1420 <a name="open_barcode_interface" type="object">
1421 <img src="/stock/static/src/img/scan.png"
1422 alt="Click to launch the barcode interface"
1423 class="oe_stock_scan_image" title="Click to launch the barcode interface"/>
1426 <div class="oe_items_list oe_kanban_ellipsis">
1428 <a name="%(action_picking_tree_ready)d" type="action">
1429 <field name="count_picking_ready"/> Ready
1431 <a name="%(action_picking_tree_done)d" type="action" class="oe_sparkline_bar_link">
1432 <field name="last_done_picking" widget="sparkline_bar" options="{'type': 'tristate', 'colorMap': {'0': 'orange', '-1': 'red', '1': 'green'}}">Last 10 Done Operations</field>
1435 <div t-if="record.count_picking_waiting.raw_value > 0">
1436 <a name="%(action_picking_tree_waiting)d" type="action">
1437 <field name="count_picking_waiting"/> Waiting Availability
1441 <a name="%(action_picking_tree)d" type="action">All Operations</a>
1444 <div class="oe_picking_type_gauge">
1445 <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>
1446 <field name="rate_picking_backorders" widget="gauge" style="width:150px; height: 110px;">Backorders (%%)</field>
1447 <div class="oe_gauge_labels">
1448 <div class="oe_gauge_label_column">
1449 <a name="%(action_picking_tree_late)d" type="action">
1450 <field name="count_picking_late"/> Late
1453 <div class="oe_gauge_label_column">
1454 <a name="%(action_picking_tree_backorder)d" type="action">
1455 <field name="count_picking_backorders"/> Backorders
1469 <record id="action_picking_type_form" model="ir.actions.act_window">
1470 <field name="name">All Operations</field>
1471 <field name="res_model">stock.picking.type</field>
1472 <field name="type">ir.actions.act_window</field>
1473 <field name="view_type">form</field>
1474 <field name="view_mode">kanban,form</field>
1475 <field name="help" type="html">
1476 <p class="oe_view_nocontent_create">
1477 Click to create a new picking type.
1479 The picking type system allows you to assign each stock
1480 operation a specific type which will alter its views accordingly.
1481 On the picking type you could e.g. specify if packing is needed by default,
1482 if it should show the customer.
1487 <record id="action_picking_type_list" model="ir.actions.act_window">
1488 <field name="name">All Operations</field>
1489 <field name="res_model">stock.picking.type</field>
1490 <field name="type">ir.actions.act_window</field>
1491 <field name="view_type">form</field>
1492 <field name="view_mode">list,form</field>
1496 action="action_picking_type_form"
1497 id="menu_action_picking_type_form"
1498 parent="menu_stock_warehouse_mgmt" sequence="1"/>
1501 id="menu_pickingtype"
1502 name="Types of Operation"
1503 parent="stock.menu_stock_configuration"
1504 action="action_picking_type_list" />
1507 <!-- Order Point -->
1508 <record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
1509 <field name="name">stock.warehouse.orderpoint.tree</field>
1510 <field name="model">stock.warehouse.orderpoint</field>
1511 <field name="arch" type="xml">
1512 <tree string="Reordering Rules">
1513 <field name="name"/>
1514 <field name="warehouse_id" groups="stock.group_locations"/>
1515 <field name="location_id" groups="stock.group_locations"/>
1516 <field name="product_id"/>
1517 <field name="product_uom" groups="product.group_uom"/>
1518 <field name="product_min_qty"/>
1519 <field name="product_max_qty"/>
1524 <record model="ir.ui.view" id="warehouse_orderpoint_search">
1525 <field name="name">stock.warehouse.orderpoint.search</field>
1526 <field name="model">stock.warehouse.orderpoint</field>
1527 <field name="arch" type="xml">
1528 <search string="Reordering Rules Search">
1529 <field name="name" string="Reordering Rules"/>
1530 <field name="warehouse_id"/>
1531 <field name="location_id" groups="stock.group_locations"/>
1532 <field name="company_id" groups="base.group_multi_company"/>
1533 <field name="product_id"/>
1534 <group expand="0" string="Group By">
1535 <filter string="Warehouse" icon="terp-go-home" domain="[]" context="{'group_by':'warehouse_id'}"/>
1536 <filter string="Location" icon="terp-go-home" domain="[]" context="{'group_by':'location_id'}"/>
1542 <record id="view_warehouse_orderpoint_form" model="ir.ui.view">
1543 <field name="name">stock.warehouse.orderpoint.form</field>
1544 <field name="model">stock.warehouse.orderpoint</field>
1545 <field name="arch" type="xml">
1546 <form string="Reordering Rules">
1548 <div class="oe_right oe_button_box">
1549 <button name="action_view_proc_to_process" type="object" string="Procurement Orders to Process"/>
1553 <field name="name" />
1554 <field name="product_id" on_change="onchange_product_id(product_id)"/>
1557 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
1558 <field name="product_uom" groups="product.group_uom"/>
1559 <field name="location_id" groups="stock.group_locations"/>
1560 <field name="group_id" groups="stock.group_adv_location"/>
1561 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1565 <group string="Rules">
1566 <field name="product_min_qty" />
1567 <field name="product_max_qty" />
1568 <field name="qty_multiple" string="Quantity Multiple"/>
1570 <group string="Misc">
1571 <field name="active" />
1579 <record id="action_orderpoint_form" model="ir.actions.act_window">
1580 <field name="name">Reordering Rules</field>
1581 <field name="res_model">stock.warehouse.orderpoint</field>
1582 <field name="type">ir.actions.act_window</field>
1583 <field name="view_type">form</field>
1584 <field name="view_id" ref="view_warehouse_orderpoint_tree"/>
1585 <field name="search_view_id" ref="warehouse_orderpoint_search" />
1586 <field name="help" type="html">
1587 <p class="oe_view_nocontent_create">
1588 Click to add a reordering rule.
1589 </p><p>You can define your minimum stock rules, so that OpenERP 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, OpenERP will generate a procurement request to increase the stock up to the maximum quantity.</p>
1594 context="{'search_default_warehouse_id': active_id, 'default_warehouse_id': active_id}"
1595 id="act_stock_warehouse_2_stock_warehouse_orderpoint"
1596 name="Reordering Rules"
1597 res_model="stock.warehouse.orderpoint"
1598 src_model="stock.warehouse"
1599 groups="stock.group_stock_user"/>
1601 <!-- Procurements -->
1603 <record id="view_procurement_form_stock_inherit" model="ir.ui.view">
1604 <field name="name">procurement.order.form.stock.inherit</field>
1605 <field name="model">procurement.order</field>
1606 <field name="inherit_id" ref="procurement.procurement_form_view"/>
1607 <field name="arch" type="xml">
1608 <xpath expr="//group[@name='scheduling']" position="before">
1610 <field name="warehouse_id" on_change="change_warehouse_id(warehouse_id, context)"/>
1611 <field name="location_id" domain="[('usage', '=', 'internal')]"/>
1612 <field name="route_ids" widget="many2many_tags"/>
1615 <xpath expr="//div[@name='button_box']" position="inside">
1616 <button name="do_view_pickings" string="Group's Pickings" type="object"/>
1618 <xpath expr="//field[@name='rule_id']" position="replace">
1619 <field name="rule_id" domain="['|', ('location_id', '=', False), ('location_id', '=', location_id)]"/>
1620 <field name="partner_dest_id"/>
1624 <record id="view_procurement_tree_stock_inherit" model="ir.ui.view">
1625 <field name="name">procurement.order.tree.stock.inherit</field>
1626 <field name="model">procurement.order</field>
1627 <field name="inherit_id" ref="procurement.procurement_tree_view"/>
1628 <field name="arch" type="xml">
1629 <xpath expr="//field[@name='origin']" position="before">
1630 <field name="location_id"/>
1634 <record id="view_procurement_rule_tree_stock_inherit" model="ir.ui.view">
1635 <field name="name">procurement.rule.tree.stock.inherit</field>
1636 <field name="model">procurement.rule</field>
1637 <field name="inherit_id" ref="procurement.view_procurement_rule_tree"/>
1638 <field name="arch" type="xml">
1639 <xpath expr="//field[@name='action']" position="after">
1640 <field name="picking_type_id"/>
1645 <record id="view_procurement_rule_form_stock_inherit" model="ir.ui.view">
1646 <field name="name">procurement.rule.form.stock.inherit</field>
1647 <field name="model">procurement.rule</field>
1648 <field name="inherit_id" ref="procurement.view_procurement_rule_form"/>
1649 <field name="arch" type="xml">
1650 <xpath expr="//field[@name='action']" position="before">
1651 <field name="location_id"/>
1652 <field name="warehouse_id" groups="base.group_no_one"/>
1653 <field name="route_id" groups="base.group_no_one"/>
1655 <xpath expr="//field[@name='action']" position="after">
1656 <field name="picking_type_id" attrs="{'required': [('action', '!=', 'manufacture')]}"/>
1658 <xpath expr="//field[@name='group_id']" position="after">
1659 <field name="propagate"/>
1660 <field name="propagate_warehouse_id"/>
1662 <xpath expr="//group[@name='propagation_group']" position="before">
1663 <group attrs="{'invisible': [('action', '!=', 'move')]}" string="Moving Options">
1664 <field name="procure_method" groups="stock.group_adv_location"/>
1665 <field name="location_src_id" attrs="{'required': [('action', '=', 'move')]}"/>
1666 <field name="partner_address_id" groups="stock.group_adv_location" context="{'show_address': 1}" options="{'always_reload': 1}"/>
1667 <label for="delay" string="Delay" groups="stock.group_adv_location"/>
1668 <div groups="stock.group_adv_location">
1669 <field name="delay" class="oe_inline"/>days
1676 <record model="ir.actions.act_window" id="procrules">
1677 <field name="context">{}</field>
1678 <field name="name">Pull Rules</field>
1679 <field name="res_model">procurement.rule</field>
1682 <record id="quant_search_view" model="ir.ui.view">
1683 <field name="name">stock.quant.search</field>
1684 <field name="model">stock.quant</field>
1685 <field eval="10" name="priority"/>
1686 <field name="arch" type="xml">
1687 <search string="Quants">
1688 <field name="product_id"/>
1689 <field name="location_id"/>
1690 <field name="package_id" groups="stock.group_tracking_lot"/>
1691 <field name="lot_id" groups="stock.group_production_lot"/>
1692 <field name="owner_id" groups="stock.group_tracking_owner"/>
1693 <group expand='0' string='Filters'>
1694 <filter name='internal_loc' string="Internal Locations" domain="[('location_id.usage','=', 'internal')]"/>
1696 <group expand='0' string='Group by...'>
1697 <filter name="productgroup" string='Product' context="{'group_by' : 'product_id'}"/>
1698 <filter string='Owner' context="{'group_by' : 'owner_id'}" groups="stock.group_tracking_owner"/>
1699 <filter string='Lot' context="{'group_by' : 'lot_id'}" groups="stock.group_production_lot"/>
1700 <filter name="locationgroup" string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1701 <filter string='Package' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'package_id'}" groups="stock.group_tracking_lot"/>
1702 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_type_id'}" groups="stock.group_tracking_lot"/>
1703 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1709 <record model="ir.actions.act_window" id="quantsact">
1710 <field name="name">Quants</field>
1711 <field name="res_model">stock.quant</field>
1712 <field name="view_type">form</field>
1713 <field name="view_mode">tree,form,graph</field>
1714 <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>
1717 <record model="ir.ui.view" id="view_stock_quant_form">
1718 <field name="name">stock.quant.form</field>
1719 <field name="model">stock.quant</field>
1720 <field eval="10" name="priority"/>
1721 <field name="arch" type="xml">
1722 <form string="Quants">
1723 <div class="oe_right oe_button_box">
1724 <button name="action_view_quant_history" type="object" string="Quant History"/>
1727 <field name="product_id"/>
1729 <field name="lot_id" groups="stock.group_production_lot"/>
1730 <field name="package_id" groups="stock.group_tracking_lot"/>
1731 <field name="location_id"/>
1732 <field name="in_date"/>
1733 <field name="reservation_id"/>
1734 <field name="propagated_from_id"/>
1735 <field name="owner_id" groups="stock.group_tracking_owner"/>
1736 <field name="inventory_value"/>
1743 <record model="ir.ui.view" id="view_stock_quant_tree">
1744 <field name="name">stock.quant.tree</field>
1745 <field name="model">stock.quant</field>
1746 <field eval="10" name="priority"/>
1747 <field name="arch" type="xml">
1748 <tree string="Quants" create="0">
1749 <field name="product_id"/>
1751 <field name="location_id"/>
1752 <field name="owner_id" groups="stock.group_tracking_owner"/>
1753 <field name="lot_id" groups="stock.group_production_lot"/>
1754 <field name="package_id" groups="stock.group_tracking_lot"/>
1755 <field name="packaging_type_id" invisible="1"/>
1756 <field name="in_date"/>
1757 <field name="inventory_value"/>
1758 <field name="reservation_id" invisible='1'/>
1759 <field name="propagated_from_id" invisible='1'/>
1760 <field name='company_id' groups="base.group_multi_company"/>
1765 <record model="ir.ui.view" id="view_stock_quant_graph_value">
1766 <field name="name">stock.quant.graph</field>
1767 <field name="model">stock.quant</field>
1768 <field eval="12" name="priority"/>
1769 <field name="arch" type="xml">
1770 <graph string="Quants">
1771 <field name="product_id"/>
1773 <field name="location_id"/>
1778 <!-- Procurements are located in Warehouse menu hierarchy, MRP users should come to Stock application to use it. -->
1779 <menuitem id="menu_stock_sched" name="Schedulers" parent="stock.menu_stock_root" sequence="4" groups="stock.group_stock_manager"/>
1780 <menuitem action="action_procurement_compute" id="menu_procurement_compute" parent="menu_stock_sched" groups="base.group_no_one"/>
1781 <menuitem action="procurement.action_compute_schedulers" id="menu_stock_proc_schedulers" parent="menu_stock_sched" sequence="20" groups="stock.group_stock_manager"/>
1782 <menuitem action="procurement.procurement_exceptions" id="menu_stock_procurement_action" parent="menu_stock_sched" sequence="50" groups="stock.group_stock_manager"/>
1783 <menuitem id="menu_stock_procurement" name="Automatic Procurements" parent="stock.menu_stock_configuration" sequence="5"/>
1784 <menuitem action="action_orderpoint_form" id="menu_stock_order_points" parent="stock.menu_stock_configuration" sequence="10"/>
1785 <menuitem id="stock.next_id_61" name="Warehouse" sequence="15" parent="base.menu_reporting" groups="group_stock_manager"/>
1786 <menuitem id="menu_quants" name="Quants" parent="menu_traceability" sequence="20" action="quantsact" groups="base.group_no_one"/>
1787 <menuitem id="menu_procurement_rules" name="Procurement Rules" parent="stock.menu_stock_configuration" action="procrules" groups="base.group_no_one"/>
1788 <menuitem id="menu_pickingtype" name="Types of Operation" parent="stock.menu_stock_configuration" action="action_picking_type_list"/>
1791 <record model="ir.actions.act_window" id="product_open_orderpoint">
1792 <field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
1793 <field name="name">Reordering Rules</field>
1794 <field name="res_model">stock.warehouse.orderpoint</field>
1796 <record model="ir.actions.act_window" id="product_open_quants">
1797 <field name="context">{'search_default_internal_loc': 1, 'search_default_product_id': active_id, 'search_default_locationgroup':1}</field>
1798 <field name="name">Current Stock</field>
1799 <field name="res_model">stock.quant</field>
1802 <record model="ir.ui.view" id="view_quant_package_form">
1803 <field name="name">stock.quant.package.form</field>
1804 <field name="model">stock.quant.package</field>
1805 <field eval="10" name="priority"/>
1806 <field name="arch" type="xml">
1807 <form string="Package">
1809 <div class="oe_right oe_button_box">
1810 <button name="unpack" string="Unpack" type="object"/>
1812 <div class="oe_title">
1813 <label for="name" string="Package Reference" class="oe_edit_only"/>
1814 <h1><field name="name" class="oe_inline"/></h1>
1818 <field name="ul_id"/>
1819 <field name="packaging_id"/>
1820 <field name='company_id' groups="base.group_multi_company"/>
1821 <field name='owner_id' groups="stock.group_tracking_owner"/>
1824 <field name="location_id"/>
1825 <field name="parent_id"/>
1829 <page string="Content">
1830 <separator string="Bulk Content" />
1831 <field name="quant_ids">
1832 <tree string="Quants">
1833 <field name="product_id"/>
1835 <field name="location_id"/>
1836 <field name="in_date"/>
1840 <div class="oe_right oe_button_box" style="margin-top: 10px">
1841 <button name="get_content_package" type="object" string="View Contained Packages content" icon="gtk-execute" attrs="{'invisible': [('children_ids','=',[])]}"/>
1843 <separator string="Contained Packages"/>
1844 <field name="children_ids">
1845 <tree string="Contained Packages">
1846 <field name="complete_name"/>
1847 <field name="ul_id"/>
1848 <field name="packaging_id"/>
1849 <field name="location_id"/>
1860 <record model="ir.ui.view" id="view_quant_package_tree">
1861 <field name="name">stock.quant.package.tree</field>
1862 <field name="model">stock.quant.package</field>
1863 <field eval="10" name="priority"/>
1864 <field name="arch" type="xml">
1865 <tree string="Package">
1866 <field name="complete_name"/>
1867 <field name="ul_id"/>
1868 <field name="packaging_id"/>
1869 <field name="location_id"/>
1870 <field name="company_id"/>
1874 <record id="quant_package_search_view" model="ir.ui.view">
1875 <field name="name">stock.quant.package.search</field>
1876 <field name="model">stock.quant.package</field>
1877 <field eval="10" name="priority"/>
1878 <field name="arch" type="xml">
1879 <search string="Package">
1880 <field name="name" string="Package Name"/>
1881 <field name="location_id"/>
1882 <field name="ul_id"/>
1883 <field name="packaging_id"/>
1884 <group expand='0' string='Group by...'>
1885 <filter string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1886 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_id'}"/>
1887 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1892 <record model="ir.actions.act_window" id="action_package_view">
1893 <field name="context">{}</field>
1894 <field name="name">Packages</field>
1895 <field name="res_model">stock.quant.package</field>
1896 <field name="help" type="html">
1897 <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.
1901 <menuitem id="menu_package" name="Packages" parent="menu_stock_product" action="action_package_view" groups="stock.group_tracking_lot"/>
1905 <record id="stock_location_route_tree" model="ir.ui.view">
1906 <field name="name">stock.location.route.tree</field>
1907 <field name="model">stock.location.route</field>
1908 <field name="arch" type="xml">
1909 <tree string="Routes">
1910 <field name="sequence" widget="handle" />
1911 <field name="name"/>
1916 <record id="stock_location_route_form_view" model="ir.ui.view">
1917 <field name="name">stock.location.route.form</field>
1918 <field name="model">stock.location.route</field>
1919 <field eval="7" name="priority" />
1920 <field name="arch" type="xml">
1921 <form string="Route">
1923 <div class="oe_title">
1924 <label for="name" class="oe_edit_only"/>
1925 <h1><field name="name"/></h1>
1929 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1930 <field name="active" groups="stock.group_adv_location" />
1933 <field name="sequence" string="Sequence" groups="base.group_no_one"/>
1936 <separator string="Applicable On"/>
1937 <p class="oe_grey">Select the places where this route can be selected</p>
1940 <field name="product_categ_selectable" string="Product Categories"/>
1941 <field name="product_selectable" string="Products"/>
1944 <field name="warehouse_selectable" string="Warehouses"/>
1947 <group string="Push Rules" colspan="4" >
1948 <field name="push_ids" colspan="4" nolabel="1"/>
1950 <group string="Pull Rules" colspan="4" >
1951 <field name="pull_ids" colspan="4" nolabel="1"/>
1958 <record id="action_routes_form" model="ir.actions.act_window">
1959 <field name="name">Routes</field>
1960 <field name="res_model">stock.location.route</field>
1961 <field name="type">ir.actions.act_window</field>
1962 <field name="view_type">form</field>
1963 <field name="view_mode">tree,form</field>
1964 <field name="view_id" ref="stock_location_route_tree" />
1965 <field name="help" type="html">
1966 <p class="oe_view_nocontent_create">
1967 Click to add a route.
1969 <p>You can define here the main routes that run through
1970 your warehouses and that define the flows of your products. These
1971 routes can be assigned to a product, a product category or be fixed
1972 on procurement or sales order. </p>
1976 <menuitem action="action_routes_form" id="menu_stock_routes"
1977 parent="stock.menu_stock_configuration" sequence="11" />
1979 <record id="do_view_pickings" model="ir.actions.act_window">
1980 <field name="name">Pickings for Groups</field>
1981 <field name="res_model">stock.picking</field>
1982 <field name="view_type">form</field>
1983 <field name="view_mode">tree,form</field>
1984 <field name="domain">[('group_id','=',active_id)]</field>
1986 <record id="procurement_group_form_view_herited" model="ir.ui.view">
1987 <field name="name">procurement.group.form.herited</field>
1988 <field name="model">procurement.group</field>
1989 <field name="inherit_id" ref="procurement.procurement_group_form_view"/>
1990 <field name="arch" type="xml">
1991 <xpath expr="//div[@name='button_box']" position="inside">
1992 <button name="%(do_view_pickings)d" string="Pickings" type="action"/>