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_normal_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_variant_action" id="menu_product_variant_config_stock"
27 parent="stock.menu_product_in_config_stock" groups="product.group_product_variant" sequence="2"/>
29 action="product.product_template_action" id="menu_product_template_config_stock"
30 parent="stock.menu_product_in_config_stock" groups="product.group_product_variant" 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" version="7.0">
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" version="7.0">
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">Quants</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" version="7.0">
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" version="7.0">
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">
459 <field name="method"/>
464 <record id="stock_location_path_tree" model="ir.ui.view">
465 <field name="name">stock.location.path.tree</field>
466 <field name="model">stock.location.path</field>
467 <field name="arch" type="xml">
468 <tree string="Location Paths">
469 <field name="location_from_id" />
470 <field name="location_dest_id" />
471 <field name="name" />
476 <record id="stock_location_path_form" model="ir.ui.view">
477 <field name="name">stock.location.path.form</field>
478 <field name="model">stock.location.path</field>
479 <field name="arch" type="xml">
480 <form string="Location Paths" version="7.0">
484 <field name="location_from_id"/>
485 <field name="location_dest_id"/>
488 <field name="company_id" groups="base.group_multi_company" />
489 <field name="picking_type_id"/>
491 <label for="delay" string="Delay"/>
493 <field name="delay" class="oe_inline"/>days
501 <record id="product_category_form_view_inherit" model="ir.ui.view">
502 <field name="name">product.category.form</field>
503 <field name="model">product.category</field>
504 <field name="inherit_id" ref="product.product_category_form_view" />
505 <field name="arch" type="xml">
506 <xpath expr="//group[@name='parent']" position="inside">
507 <group string="Logistics" colspan="2">
508 <field name="route_ids" widget="many2many_tags"/>
509 <div class="oe_inline" colspan="2">
510 <p attrs="{'invisible':[('parent_id','=',False)]}">
511 The following routes will apply to the products in this category taking into account parent categories:
512 <field name="total_route_ids" nolabel="1" widget="many2many_tags"/>
515 <field name="removal_strategy_id" options="{'no_create': True}"/>
522 <record id="action_location_form" model="ir.actions.act_window">
523 <field name="name">Locations</field>
524 <field name="res_model">stock.location</field>
525 <field name="type">ir.actions.act_window</field>
526 <field name="view_type">form</field>
527 <field name="view_id" ref="view_location_tree2"/>
528 <field name="search_view_id" ref="view_location_search"/>
529 <field name="context">{'search_default_in_location':1}</field>
530 <field name="help" type="html">
531 <p class="oe_view_nocontent_create">
532 Click to add a location.
534 Define your locations to reflect your warehouse structure and
535 organization. OpenERP is able to manage physical locations
536 (warehouses, shelves, bin, etc), partner locations (customers,
537 suppliers) and virtual locations which are the counterpart of
538 the stock operations like the manufacturing orders
539 consumptions, inventories, etc.
541 Every stock operation in OpenERP moves the products from one
542 location to another one. For instance, if you receive products
543 from a supplier, OpenERP will move products from the Supplier
544 location to the Stock location. Each report can be performed on
545 physical, partner or virtual locations.
549 <menuitem action="action_location_form" id="menu_action_location_form" groups="stock.group_locations"
550 parent="menu_stock_configuration" sequence="5"/>
553 <record id="act_product_stock_move_open" model="ir.actions.act_window">
554 <field name="context">{'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}</field>
555 <field name="name">Moves</field>
556 <field name="res_model">stock.move</field>
559 <record id="view_warehouse" model="ir.ui.view">
560 <field name="name">stock.warehouse</field>
561 <field name="model">stock.warehouse</field>
562 <field name="arch" type="xml">
563 <form string="Warehouse" version="7.0">
565 <div class="oe_right oe_button_box">
566 <button name="view_all_routes_for_wh"
569 class="oe_stat_button"
572 <label for="name" class="oe_edit_only"/>
573 <h1><field name="name"/></h1>
577 <field name="lot_stock_id" groups="stock.group_locations" string="Inventory Location" invisible="1"/>
580 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
581 <field name="partner_id"/>
583 <notebook colspan="4" groups="stock.group_adv_location">
584 <page string="Warehouse Configuration" colspan="4">
586 <field name="reception_steps" widget='radio'/>
587 <field name="delivery_steps" widget='radio'/>
588 <field name="default_resupply_wh_id" widget='selection' on_change="onchange_filter_default_resupply_wh_id(default_resupply_wh_id, resupply_wh_ids)"/>
589 <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)"/>
592 <page string="Technical Information" groups='base.group_no_one'>
594 <group string="Locations">
595 <field name="wh_input_stock_loc_id" readonly="1"/>
596 <field name="wh_qc_stock_loc_id" readonly="1"/>
597 <field name="wh_pack_stock_loc_id" readonly="1"/>
598 <field name="wh_output_stock_loc_id" readonly="1"/>
600 <group string="Picking Types">
601 <field name="in_type_id" readonly="1"/>
602 <field name="int_type_id" readonly="1"/>
603 <field name="pick_type_id" readonly="1"/>
604 <field name="pack_type_id" readonly="1"/>
605 <field name="out_type_id" readonly="1"/>
615 <record id="view_warehouse_tree" model="ir.ui.view">
616 <field name="name">stock.warehouse.tree</field>
617 <field name="model">stock.warehouse</field>
618 <field name="arch" type="xml">
619 <tree string="Warehouse">
621 <field name="lot_stock_id" groups="stock.group_locations"/>
622 <field name="partner_id"/>
626 <record id="action_warehouse_form" model="ir.actions.act_window">
627 <field name="name">Warehouses</field>
628 <field name="res_model">stock.warehouse</field>
629 <field name="type">ir.actions.act_window</field>
630 <field name="view_type">form</field>
631 <field name="view_id" ref="view_warehouse_tree"/>
632 <field name="help" type="html">
633 <p class="oe_view_nocontent_create">
634 Click to define a new warehouse.
638 <menuitem action="action_warehouse_form" id="menu_action_warehouse_form" groups="stock.group_locations"
639 parent="menu_stock_configuration" sequence="1"/>
643 Defaults and Internal Pickings
646 <record model="ir.ui.view" id="stock_picking_calendar">
647 <field name="name">stock.picking.calendar</field>
648 <field name="model">stock.picking</field>
649 <field name="priority" eval="2"/>
650 <field name="arch" type="xml">
651 <calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="partner_id">
652 <field name="origin"/>
653 <field name="picking_type_id"/>
654 <field name="partner_id"/>
659 <record id="vpicktree" model="ir.ui.view">
660 <field name="name">stock.picking.tree</field>
661 <field name="model">stock.picking</field>
662 <field name="arch" type="xml">
663 <tree colors="blue:state == 'draft';grey:state == 'cancel';red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
665 <field name="location_dest_id"/>
667 <field name="min_date" invisible="1"/>
668 <field name="origin"/>
669 <field name="group_id" invisible="1"/>
670 <field name="backorder_id"/>
671 <field name="state"/>
672 <field name="priority" invisible="1"/>
673 <field name="picking_type_id" invisible="1"/>
678 <record id="view_picking_form" model="ir.ui.view">
679 <field name="name">stock.picking.form</field>
680 <field name="model">stock.picking</field>
681 <field eval="12" name="priority"/>
682 <field name="arch" type="xml">
683 <form string="Transfer" version="7.0">
685 <button name="action_confirm" states="draft" string="Mark as Todo" type="object" class="oe_highlight" groups="base.group_user"/>
686 <button name="action_assign" states="confirmed,partially_available" string="Check Availability" type="object" class="oe_highlight" groups="base.group_user"/>
687 <button name="force_assign" states="confirmed,waiting,partially_available" string="Force Availability" type="object" groups="base.group_user"/>
688 <button name="do_transfer" states="assigned" string="Transfer" groups="stock.group_stock_user" type="object" class="oe_highlight" attrs="{'invisible': ['|', ('pack_operation_exist', '=', True)]}"/>
689 <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'))]}"/>
690 <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'))]}"/>
691 <button name="do_print_picking" string="Print Picking List" groups="stock.group_stock_user" type="object" attrs="{'invisible': ['|', ('picking_type_code', '=', 'outgoing'), ('state', '!=', 'assigned')]}"/>
692 <button name="%(act_stock_return_picking)d" string="Reverse Transfer" states="done" type="action" groups="base.group_user"/>
693 <button name="action_cancel" states="assigned,confirmed,partially_available,draft" string="Cancel Transfer" groups="base.group_user" type="object"/>
694 <button name="do_unreserve" string="Unreserve" groups="base.group_user" type="object" attrs="{'invisible': [('quant_reserved_exist', '=', False)]}"/>
695 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,partially_available,assigned,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
698 <div class="oe_right oe_button_box">
701 <field name="name" class="oe_inline" attrs="{'invisible': [('name','=','/')]}" readonly="1"/>
705 <field name="partner_id"/>
706 <field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
710 <field name="min_date"/>
711 <field name="origin" placeholder="e.g. PO0032" class="oe_inline"/>
712 <label for="owner_id" groups="stock.group_tracking_owner"/>
713 <div groups="stock.group_tracking_owner">
714 <field name="owner_id"/>
715 <button name="action_assign_owner" string="Assign Owner" type="object" attrs="{'invisible': ['|',('pack_operation_exist', '=', False),('state', 'not in', ('draft','assigned','confirmed'))]}"
716 class="oe_link oe_edit_only"/>
721 <page string="Products">
722 <separator string="Stock Moves" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
724 <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}"/>
727 <separator string="Quantities Done" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
730 <field name="pack_operation_exist" invisible="1"/>
731 <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"/>
732 <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"/>
733 <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"/>
736 <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}">
737 <tree editable="top">
738 <field name="location_id"/>
739 <field name="product_id" on_change='product_id_change(product_id, product_uom_id, product_qty, context)'/>
740 <field name="product_uom_id" groups="product.group_uom" on_change='on_change_tests(product_id, product_uom_id, product_qty, context)'/>
741 <field name="lot_id" domain="[('product_id','=?', product_id)]" context="{'product_id': product_id}" groups="stock.group_production_lot"/>
742 <field name="package_id" groups="stock.group_tracking_lot"/>
743 <field name="owner_id" groups="stock.group_tracking_owner"/>
744 <field name="product_qty" attrs="{'required': [('product_id', '!=', False)]}" on_change='on_change_tests(product_id, product_uom_id, product_qty, context)'/>
745 <field name="location_dest_id"/>
746 <field name="result_package_id" groups="stock.group_tracking_lot"/>
750 <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}"/>
751 <field name="pack_operation_exist" invisible="1"/>
752 <field name="note" placeholder="Add an internal note..." class="oe_inline"/>
754 <page string="Additional Info">
755 <group string="General Informations">
757 <field name="move_type"/>
758 <field name="picking_type_id"/>
759 <field name="picking_type_code" invisible="1"/>
760 <field name="quant_reserved_exist" invisible="1"/>
761 <field name="location_id" invisible="1"/>
762 <field name="location_dest_id" invisible="1"/>
765 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
766 <field name="date_done" groups="base.group_no_one"/>
767 <field name="group_id"/>
768 <field name="priority"/>
774 <div class="oe_chatter">
775 <field name="message_follower_ids" widget="mail_followers"/>
776 <field name="message_ids" widget="mail_thread"/>
782 <record id="view_picking_internal_search" model="ir.ui.view">
783 <field name="name">stock.picking.internal.search</field>
784 <field name="model">stock.picking</field>
785 <field name="arch" type="xml">
786 <search string="Picking Lists">
787 <field name="name" string="Picking List" filter_domain="['|',('name','ilike', self),('origin','ilike',self)]"/>
788 <filter icon="terp-check" name="draft" string="Draft" domain="[('state','=','draft')]" help="Draft Moves"/>
789 <filter icon="terp-check" name="available" string="Ready" domain="[('state','in',('assigned', 'partially_available'))]" help="Assigned Moves"/>
790 <filter icon="terp-check" name="waiting" string="Waiting Availability" domain="[('state','=', 'confirmed')]" help="Waiting Moves"/>
791 <filter icon="terp-camera_test" name="confirmed" string="Confirmed" domain="[('state','in', ('confirmed', 'waiting', 'assigned'))]" help="Confirmed Moves"/>
792 <filter icon="terp-dialog-close" name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
794 <filter name="late" string="Late" domain="[('min_date','<', time.strftime('%%Y-%%m-%%d'))]" help="Pickings that are late on scheduled time"/>
796 <filter name="backorder" string="Backorders" domain="[('backorder_id','<>', False)]" help="Remaining parts of picking partially processed"/>
797 <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
798 <field name="product_id"/>
799 <field name="picking_type_id"/>
800 <field name="group_id"/>
801 <group expand="0" string="Group By...">
802 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
803 <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
804 <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
805 <filter string="Origin" domain="[]" context="{'group_by':'origin'}"/>
806 <filter string="Picking Type" domain="[]" context="{'group_by':'picking_type_id'}"/>
807 <filter string="Procurement Group" domain="[]" context="{'group_by':'group_id'}"/>
813 <record id="action_picking_tree_all" model="ir.actions.act_window">
814 <field name="name">Stock Operations</field>
815 <field name="res_model">stock.picking</field>
816 <field name="type">ir.actions.act_window</field>
817 <field name="view_type">form</field>
818 <field name="view_mode">tree,form,calendar</field>
819 <field name="domain"></field>
820 <field name="context">{
821 'contact_display': 'partner_address',
824 <field name="search_view_id" ref="view_picking_internal_search"/>
827 <record id="action_picking_tree_done" model="ir.actions.act_window">
828 <field name="name">Done Transfers</field>
829 <field name="res_model">stock.picking</field>
830 <field name="type">ir.actions.act_window</field>
831 <field name="view_type">form</field>
832 <field name="view_mode">tree,form,calendar</field>
833 <field name="domain"></field>
834 <field name="context">{
835 'search_default_picking_type_id': [active_id],
836 'default_picking_type_id': active_id,
837 'contact_display': 'partner_address',
838 'search_default_done': 1,
841 <field name="search_view_id" ref="view_picking_internal_search"/>
844 <record id="action_picking_tree_ready" model="ir.actions.act_window">
845 <field name="name">Ready 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_available': 1,
858 <field name="search_view_id" ref="view_picking_internal_search"/>
861 <record id="action_picking_tree_done_grouped" model="ir.actions.act_window">
862 <field name="name">Done Transfers by Date</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_done': 1,
873 'group_by': ['date'],
876 <field name="search_view_id" ref="view_picking_internal_search"/>
879 <record id="action_picking_tree_waiting" model="ir.actions.act_window">
880 <field name="name">Waiting Availability Transfers</field>
881 <field name="res_model">stock.picking</field>
882 <field name="type">ir.actions.act_window</field>
883 <field name="view_type">form</field>
884 <field name="view_mode">tree,form,calendar</field>
885 <field name="domain"></field>
886 <field name="context">{
887 'search_default_picking_type_id': [active_id],
888 'default_picking_type_id': active_id,
889 'contact_display': 'partner_address',
890 'search_default_waiting': 1,
893 <field name="search_view_id" ref="view_picking_internal_search"/>
896 <record id="action_picking_tree_late" model="ir.actions.act_window">
897 <field name="name">Late 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_late': 1,
908 'search_default_confirmed': 1,
911 <field name="search_view_id" ref="view_picking_internal_search"/>
914 <record id="action_picking_tree_backorder" model="ir.actions.act_window">
915 <field name="name">Backorders</field>
916 <field name="res_model">stock.picking</field>
917 <field name="type">ir.actions.act_window</field>
918 <field name="view_type">form</field>
919 <field name="view_mode">tree,form,calendar</field>
920 <field name="domain"></field>
921 <field name="context">{
922 'search_default_picking_type_id': [active_id],
923 'default_picking_type_id': active_id,
924 'contact_display': 'partner_address',
925 'search_default_backorder': 1,
926 'search_default_confirmed': 1,
929 <field name="search_view_id" ref="view_picking_internal_search"/>
932 <record id="action_picking_tree" model="ir.actions.act_window">
933 <field name="name">Transfers</field>
934 <field name="res_model">stock.picking</field>
935 <field name="type">ir.actions.act_window</field>
936 <field name="view_type">form</field>
937 <field name="view_mode">tree,form,calendar</field>
938 <field name="domain"></field>
939 <field name="context">{
940 'search_default_picking_type_id': [active_id],
941 'default_picking_type_id': active_id,
942 'contact_display': 'partner_address',
945 <field name="search_view_id" ref="view_picking_internal_search"/>
946 <field name="help" type="html">
947 <p class="oe_view_nocontent_create">
948 Click to create a stock operation.
950 Most operations are prepared automatically by OpenERP according
951 to your preconfigured logistics rules, but you can also record
952 manual stock movements.
957 <record id="view_move_graph" model="ir.ui.view">
958 <field name="name">stock.move.graph</field>
959 <field name="model">stock.move</field>
960 <field name="arch" type="xml">
961 <graph string="Stock Moves Analysis" type="pivot">
962 <field name="product_id" type="row"/>
963 <field name="location_dest_id" groups="stock.group_locations" type="row"/>
964 <field name="product_uom_qty" type="measure"/>
969 <record id="view_move_tree" model="ir.ui.view">
970 <field name="name">stock.move.tree</field>
971 <field name="model">stock.move</field>
972 <field eval="8" name="priority"/>
973 <field name="arch" type="xml">
974 <tree colors="grey:state == 'cancel';red:(state not in ('cancel','done')) and date > current_date" string="Moves">
976 <field name="picking_id" string="Reference"/>
977 <field name="origin"/>
978 <field name="picking_type_id"/>
979 <field name="create_date" invisible="1" groups="base.group_no_one"/>
980 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
981 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
982 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
983 <field name="product_uos" groups="product.group_uos"/>
984 <button name="%(stock.move_scrap)d"
985 string="Scrap Products" type="action"
986 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
987 states="draft,waiting,confirmed,assigned"/>
988 <field name="location_id" groups="stock.group_locations"/>
989 <field name="location_dest_id" groups="stock.group_locations"/>
990 <field name="date" groups="base.group_no_one"/>
991 <field name="date_expected"/>
992 <field name="state"/>
993 <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward" help="Done"/>
998 <record id="view_move_picking_tree" model="ir.ui.view">
999 <field name="name">stock.move.tree</field>
1000 <field name="model">stock.move</field>
1001 <field eval="4" name="priority"/>
1002 <field name="arch" type="xml">
1003 <tree colors="grey:scrapped == True" string="Stock Moves">
1004 <field name="product_id"/>
1005 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"/>
1006 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1007 <field name="product_uos" groups="product.group_uos"/>
1008 <field name="location_id" groups="stock.group_locations" invisible="1"/>
1009 <field name="picking_id" invisible="1" />
1010 <field name="create_date" invisible="1" />
1011 <field name="date_expected" invisible="1" />
1012 <button name="%(stock.move_scrap)d"
1013 string="Scrap Products" type="action"
1014 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1015 states="draft,waiting,confirmed,assigned"
1016 groups="base.group_user"/>
1017 <field name="scrapped" invisible="1"/>
1018 <field name="availability" invisible="1"/>
1019 <field name="reserved_availability" invisible="1"/>
1020 <field name="location_dest_id" groups="stock.group_locations"/>
1021 <field name="remaining_qty" invisible="1"/>
1022 <field name="string_availability_info"/>
1023 <field name="state"/>
1028 <record id="view_move_form" model="ir.ui.view">
1029 <field name="name">stock.move.form</field>
1030 <field name="model">stock.move</field>
1031 <field eval="1" name="priority"/>
1032 <field name="arch" type="xml">
1033 <form string="Stock Moves" version="7.0">
1035 <button name="action_confirm" states="draft" string="Process Later" type="object" class="oe_highlight"/>
1036 <button name="action_done" states="draft,assigned,confirmed" string="Process Entirely" type="object" class="oe_highlight"/>
1037 <button name="force_assign" states="confirmed" string="Set Available" type="object" class="oe_highlight"/>
1038 <button name="action_cancel" states="draft,assigned,confirmed" string="Cancel Move" type="object"/>
1039 <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
1043 <group name="main_grp" colspan="4">
1044 <group name="main_grp_col1">
1045 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, False)"/>
1046 <label for="product_uom_qty"/>
1048 <field name="product_uom_qty"
1049 on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)"
1051 <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
1052 <button name="%(stock.move_scrap)d"
1053 string="Scrap" type="action"
1054 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1055 states="draft,waiting,confirmed,assigned" colspan="1"/>
1057 <field name="name"/>
1058 <label for="product_uos_qty" groups="product.group_uos"/>
1059 <div groups="product.group_uos">
1060 <field name="product_uos_qty"
1061 on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)"
1063 <field name="product_uos" class="oe_inline"/>
1066 <group name="main_grp_col2">
1067 <field name="picking_type_id"/>
1068 <field name="picking_priority"/>
1069 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1070 <field name="date_expected" on_change="onchange_date(date,date_expected)" attrs="{'invisible': [('state', '=', 'done')]}"/>
1071 <field name="date" attrs="{'invisible': [('state', '!=', 'done')]}"/>
1074 <group name="origin_grp" string="Origin">
1075 <field name="origin"/>
1076 <field name="location_id" groups="stock.group_locations"/>
1077 <field name="picking_id" domain="[('picking_type_id','=',picking_type_id)]"/>
1078 <field name="create_date" groups="base.group_no_one"/>
1079 <field name="procure_method" attrs="{'readonly': [('state', '!=', 'draft')]}" groups="stock.group_adv_location"/>
1080 <field name="group_id"/>
1082 <group name="destination_grp" string="Destination" groups="stock.group_locations">
1083 <field name="location_dest_id" />
1084 <field name="partner_id" context="{'contact_display':'partner'}" />
1086 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1087 <field name="reserved_quant_ids"/>
1095 <record id="view_move_picking_form" model="ir.ui.view">
1096 <field name="name">stock.move.form</field>
1097 <field name="model">stock.move</field>
1098 <field eval="20" name="priority"/>
1099 <field name="arch" type="xml">
1100 <form string="Stock Moves" version="7.0">
1102 <button name="force_assign" states="confirmed" string="Force Availability" type="object" groups="base.group_user"/>
1103 <button name="action_confirm" states="draft" string="Confirm" type="object" groups="base.group_user"/>
1104 <button name="do_unreserve" states="assigned" string="Cancel Availability" type="object" groups="base.group_user"/>
1105 <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done"/>
1109 <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.partner_id)"/>
1110 <field name="procure_method" groups="stock.group_adv_location"/>
1111 <field name="picking_type_id" invisible="1"/>
1112 <label for="product_uom_qty"/>
1114 <field name="product_uom_qty" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1115 <field name="product_uom" string="Unit Of Measure" groups="product.group_uom" class="oe_inline"/>
1116 <button name="%(stock.move_scrap)d"
1117 string="Scrap" type="action"
1118 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1119 states="draft,waiting,confirmed,assigned"
1120 groups="base.group_user"/>
1122 <label for="product_uos_qty" groups="product.group_uos"/>
1123 <div groups="product.group_uos">
1124 <field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" class="oe_inline"/>
1125 <field name="product_uos" on_change="onchange_quantity(product_id, product_uom_qty, product_uom, product_uos)" class="oe_inline"/>
1127 <field name="name"/>
1128 <field name="product_packaging" groups="product.group_stock_packaging" domain="[('product_id','=',product_id)]"/>
1131 <field name="create_date" invisible="1"/>
1132 <field name="date"/>
1133 <field name="date_expected" on_change="onchange_date(date,date_expected)"/>
1135 <group string="Locations" groups="stock.group_locations">
1136 <field name="location_id" domain="[('usage','<>','view')]"/>
1137 <field name="location_dest_id" domain="[('usage','=','internal')]"/>
1139 <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
1140 <field name="reserved_quant_ids"/>
1147 <record id="view_move_search" model="ir.ui.view">
1148 <field name="name">stock.move.search</field>
1149 <field name="model">stock.move</field>
1150 <field eval="3" name="priority"/>
1151 <field name="arch" type="xml">
1152 <search string="Stock Moves">
1153 <field name="origin" filter_domain="['|', '|', ('origin', 'ilike', self), ('name', 'ilike', self), ('picking_id', 'ilike', self)]" string="Reference"/>
1154 <field name="date" groups="base.group_no_one"/>
1156 <filter icon="terp-camera_test" string="Ready" name="ready" domain="[('state','=','assigned')]" help="Stock moves that are Available (Ready to process)"/>
1157 <filter icon="terp-stock" string="To Do" name="future" domain="[('state','in',('assigned','confirmed','waiting'))]" help="Stock moves that are Confirmed, Available or Waiting"/>
1158 <filter icon="terp-dialog-close" string="Done" name="done" domain="[('state','=','done')]" help="Stock moves that have been processed"/>
1160 <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"/>
1161 <field name="product_id"/>
1162 <field name="name" string="Location" filter_domain="['|',('location_id','ilike',self),('location_dest_id','ilike',self)]"/>
1163 <field name="partner_id" string="Partner" filter_domain="[('picking_id.partner_id','child_of',self)]"/>
1164 <group expand="0" string="Group By...">
1165 <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
1166 <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'picking_id'}"/>
1167 <filter string="Source" name="groupby_location_id" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'location_id'}" groups="stock.group_locations"/>
1168 <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"/>
1169 <filter icon="terp-stock_effects-object-colorize" string="Status" domain="[]" context="{'group_by':'state'}"/>
1170 <filter string="Creation" name="groupby_create_date" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}" groups="base.group_no_one"/>
1171 <filter string="Scheduled" name="groupby_date" icon="terp-go-month" domain="[]" context="{'group_by':'date_expected'}"/>
1177 <record id="action_move_form2" model="ir.actions.act_window">
1178 <field name="name">Stock Moves</field>
1179 <field name="res_model">stock.move</field>
1180 <field name="type">ir.actions.act_window</field>
1181 <field name="view_type">form</field>
1182 <field name="view_id" ref="view_move_tree"/>
1183 <field name="search_view_id" ref="view_move_search"/>
1184 <field name="context">{}</field>
1185 <field name="help" type="html">
1186 <p class="oe_view_nocontent_create">
1187 Click to create a stock movement.
1189 This menu gives you the full traceability of inventory
1190 operations on a specific product. You can filter on the product
1191 to see all the past or future movements for the product.
1196 <record model="ir.actions.act_window.view" id="action_stock_move_tree_all">
1197 <field name="sequence" eval="1"/>
1198 <field name="view_mode">tree</field>
1199 <field name="view_id" ref="view_move_tree"/>
1200 <field name="act_window_id" ref="action_move_form2"/>
1203 <record model="ir.actions.act_window.view" id="action_stock_move_form_all">
1204 <field name="sequence" eval="3"/>
1205 <field name="view_mode">form</field>
1206 <field name="view_id" ref="view_move_form"/>
1207 <field name="act_window_id" ref="action_move_form2"/>
1210 <record model="ir.actions.act_window.view" id="action_stock_move_graph_all">
1211 <field name="sequence" eval="3"/>
1212 <field name="view_mode">graph</field>
1213 <field name="view_id" ref="view_move_graph"/>
1214 <field name="act_window_id" ref="action_move_form2"/>
1217 <menuitem action="action_move_form2" id="menu_action_move_form2" parent="menu_traceability" sequence="3" groups="stock.group_locations"/>
1220 Reception Picking (By Stock Move)
1221 From stock_partial_move_view
1223 <record id="view_move_tree_reception_picking" model="ir.ui.view">
1224 <field name="name">stock.move.tree2</field>
1225 <field name="model">stock.move</field>
1226 <field name="priority" eval="6"/>
1227 <field name="arch" type="xml">
1228 <tree colors="grey:state == 'cancel'" string="Moves">
1229 <field name="date" widget="date"/>
1230 <field name="picking_id" string="Reference" invisible="1"/>
1231 <field name="origin"/>
1232 <field name="partner_id" string="Supplier"/>
1233 <field name="product_id"/>
1234 <field name="product_uom_qty"/>
1235 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1236 <field name="location_id" invisible="1"/>
1237 <field name="location_dest_id" invisible="1"/>
1238 <field name="create_date" invisible="1"/>
1239 <field name="date_expected" invisible="1"/>
1240 <button name="%(stock.move_scrap)d"
1241 string="Scrap Products" type="action"
1242 icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
1243 states="draft,waiting,confirmed,assigned"/>
1244 <field name="state"/>
1245 <button name="action_done" states="draft,assigned,confirmed"
1246 icon="gtk-go-forward" type="object"
1247 class="oe_highlight" help="Done"/>
1253 <record id="view_move_tree_reception_picking_board" model="ir.ui.view">
1254 <field name="name">stock.move.tree3</field>
1255 <field name="model">stock.move</field>
1256 <field eval="6" name="priority"/>
1257 <field name="arch" type="xml">
1258 <tree string="Moves">
1259 <field name="picking_id" string="Reference"/>
1260 <field name="product_id"/>
1261 <field name="product_uom_qty"/>
1262 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
1263 <field name="date" groups="base.group_no_one"/>
1268 <record id="action_reception_picking_move" model="ir.actions.act_window">
1269 <field name="name">Incoming Products</field>
1270 <field name="res_model">stock.move</field>
1271 <field name="type">ir.actions.act_window</field>
1272 <field name="view_type">form</field>
1273 <field name="view_mode">tree,form</field>
1274 <field name="domain" eval="['|','&',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.picking_type_id.code','=','outgoing')]"/>
1275 <field name="view_id" ref="view_move_tree_reception_picking"/>
1276 <field name="context">{'product_receive': True, 'search_default_future': True}</field>
1277 <field name="help" type="html">
1278 <p class="oe_view_nocontent_create">
1279 Click to register a product reception.
1281 Here you can receive individual products, no matter what
1282 purchase order or picking order they come from. You will find
1283 the list of all products you are waiting for. Once you receive
1284 an order, you can filter based on the name of the supplier or
1285 the purchase order reference. Then you can confirm all products
1286 received using the buttons on the right of each line.
1291 <!-- Stock incoterms -->
1292 <record id="view_incoterms_tree" model="ir.ui.view">
1293 <field name="name">stock.incoterms.tree</field>
1294 <field name="model">stock.incoterms</field>
1295 <field name="arch" type="xml">
1296 <tree string="Incoterms">
1297 <field name="code"/>
1298 <field colspan="4" name="name"/>
1302 <record id="stock_incoterms_form" model="ir.ui.view">
1303 <field name="name">stock.incoterms.form</field>
1304 <field name="model">stock.incoterms</field>
1305 <field name="arch" type="xml">
1306 <form string="Incoterms" version="7.0">
1308 <field name="name"/>
1309 <field name="code"/>
1310 <field name="active"/>
1315 <record id="action_incoterms_tree" model="ir.actions.act_window">
1316 <field name="name">Incoterms</field>
1317 <field name="res_model">stock.incoterms</field>
1318 <field name="type">ir.actions.act_window</field>
1319 <field name="view_type">form</field>
1320 <field name="view_mode">tree,form</field>
1323 <menuitem action="action_incoterms_tree" id="menu_action_incoterm_open" parent="menu_warehouse_config" sequence="1"/>
1326 <record id="view_pickingtype_filter" model="ir.ui.view">
1327 <field name="name">stock.picking.type.filter</field>
1328 <field name="model">stock.picking.type</field>
1329 <field name="arch" type="xml">
1330 <search string="Picking Type">
1331 <field name="name"/>
1332 <field name="sequence_id"/>
1333 <field name="warehouse_id"/>
1337 <record model="ir.ui.view" id="view_picking_type_tree">
1338 <field name="name">Picking types</field>
1339 <field name="model">stock.picking.type</field>
1340 <field name="arch" type="xml">
1341 <tree string="Picking Types">
1342 <field name="name"/>
1343 <field name="warehouse_id"/>
1344 <field name="sequence_id"/>
1348 <record model="ir.ui.view" id="view_picking_type_form">
1349 <field name="name">Picking Types</field>
1350 <field name="model">stock.picking.type</field>
1351 <field name="arch" type="xml">
1352 <form string="Picking Types" version="7.0">
1356 <field name="name"/>
1357 <field name="sequence_id"/>
1358 <field name="warehouse_id"/>
1361 <field name="code" on_change="onchange_picking_code(code)"/>
1362 <field name="return_picking_type_id"/>
1365 <separator string="Locations"/>
1367 <field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}"/>
1368 <field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}"/>
1376 <record id="stock_picking_type_kanban" model="ir.ui.view">
1377 <field name="name">stock.picking.type.kanban</field>
1378 <field name="model">stock.picking.type</field>
1379 <field name="arch" type="xml">
1380 <kanban version="7.0" class="oe_background_grey" create="0">
1381 <field name="complete_name"/>
1382 <field name="color"/>
1383 <field name="count_picking_ready"/>
1384 <field name="count_picking_draft"/>
1385 <field name="count_picking_waiting"/>
1386 <field name="count_picking_late"/>
1387 <field name="count_picking_backorders"/>
1389 <t t-name="kanban-box">
1390 <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_stock_picking_type">
1391 <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="stock.group_stock_manager">
1392 <span class="oe_e">í</span>
1393 <ul class="oe_dropdown_menu">
1394 <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
1395 <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
1396 <t t-if="widget.view.is_action_enabled('edit')"><li><ul class="oe_kanban_colorpicker" data-field="color"/></li></t>
1399 <div class="oe_kanban_content">
1400 <h4 class="oe_center"><field name="complete_name"/></h4>
1401 <div class="oe_right">
1402 <a name="open_barcode_interface" type="object">
1403 <img src="/stock/static/src/img/scan.png"
1404 alt="Click to launch the barcode interface"
1405 class="oe_stock_scan_image" title="Click to launch the barcode interface"/>
1408 <div class="oe_items_list oe_kanban_ellipsis">
1410 <a name="%(action_picking_tree_ready)d" type="action">
1411 <field name="count_picking_ready"/> Ready
1413 <a name="%(action_picking_tree_done)d" type="action" class="oe_sparkline_bar_link">
1414 <field name="last_done_picking" widget="sparkline_bar" options="{'type': 'tristate', 'colorMap': {'0': 'orange', '-1': 'red', '1': 'green'}}">Last 10 Done Operations</field>
1417 <div t-if="record.count_picking_waiting.raw_value > 0">
1418 <a name="%(action_picking_tree_waiting)d" type="action">
1419 <field name="count_picking_waiting"/> Waiting Availability
1423 <a name="%(action_picking_tree)d" type="action">All Operations</a>
1426 <div class="oe_picking_type_gauge">
1427 <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>
1428 <field name="rate_picking_backorders" widget="gauge" style="width:150px; height: 110px;">Backorders (%%)</field>
1429 <div class="oe_gauge_labels">
1430 <div class="oe_gauge_label_column">
1431 <a name="%(action_picking_tree_late)d" type="action">
1432 <field name="count_picking_late"/> Late
1435 <div class="oe_gauge_label_column">
1436 <a name="%(action_picking_tree_backorder)d" type="action">
1437 <field name="count_picking_backorders"/> Backorders
1451 <record id="action_picking_type_form" model="ir.actions.act_window">
1452 <field name="name">All Operations</field>
1453 <field name="res_model">stock.picking.type</field>
1454 <field name="type">ir.actions.act_window</field>
1455 <field name="view_type">form</field>
1456 <field name="view_mode">kanban,form</field>
1457 <field name="help" type="html">
1458 <p class="oe_view_nocontent_create">
1459 Click to create a new picking type.
1461 The picking type system allows you to assign each stock
1462 operation a specific type which will alter its views accordingly.
1463 On the picking type you could e.g. specify if packing is needed by default,
1464 if it should show the customer.
1469 <record id="action_picking_type_list" 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">list,form</field>
1478 action="action_picking_type_form"
1479 id="menu_action_picking_type_form"
1480 parent="menu_stock_warehouse_mgmt" sequence="1"/>
1483 id="menu_pickingtype"
1484 name="Types of Operation"
1485 parent="stock.menu_stock_configuration"
1486 action="action_picking_type_list" />
1489 <!-- Order Point -->
1490 <record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
1491 <field name="name">stock.warehouse.orderpoint.tree</field>
1492 <field name="model">stock.warehouse.orderpoint</field>
1493 <field name="arch" type="xml">
1494 <tree string="Reordering Rules">
1495 <field name="name"/>
1496 <field name="warehouse_id" groups="stock.group_locations"/>
1497 <field name="location_id" groups="stock.group_locations"/>
1498 <field name="product_id"/>
1499 <field name="product_uom" groups="product.group_uom"/>
1500 <field name="product_min_qty"/>
1501 <field name="product_max_qty"/>
1506 <record model="ir.ui.view" id="warehouse_orderpoint_search">
1507 <field name="name">stock.warehouse.orderpoint.search</field>
1508 <field name="model">stock.warehouse.orderpoint</field>
1509 <field name="arch" type="xml">
1510 <search string="Reordering Rules Search">
1511 <field name="name" string="Reordering Rules"/>
1512 <field name="warehouse_id"/>
1513 <field name="location_id" groups="stock.group_locations"/>
1514 <field name="company_id" groups="base.group_multi_company"/>
1515 <field name="product_id"/>
1516 <group expand="0" string="Group By...">
1517 <filter string="Warehouse" icon="terp-go-home" domain="[]" context="{'group_by':'warehouse_id'}"/>
1518 <filter string="Location" icon="terp-go-home" domain="[]" context="{'group_by':'location_id'}"/>
1524 <record id="view_warehouse_orderpoint_form" model="ir.ui.view">
1525 <field name="name">stock.warehouse.orderpoint.form</field>
1526 <field name="model">stock.warehouse.orderpoint</field>
1527 <field name="arch" type="xml">
1528 <form string="Reordering Rules" version="7.0">
1530 <div class="oe_right oe_button_box">
1531 <button name="action_view_proc_to_process" type="object" string="Procurement Orders to Process"/>
1535 <field name="name" />
1536 <field name="product_id" on_change="onchange_product_id(product_id)"/>
1539 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
1540 <field name="product_uom" groups="product.group_uom"/>
1541 <field name="location_id" groups="stock.group_locations"/>
1542 <field name="group_id" groups="stock.group_adv_location"/>
1543 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
1547 <group string="Rules">
1548 <field name="product_min_qty" />
1549 <field name="product_max_qty" />
1550 <field name="qty_multiple" string="Quantity Multiple"/>
1552 <group string="Misc">
1553 <field name="active" />
1561 <record id="action_orderpoint_form" model="ir.actions.act_window">
1562 <field name="name">Reordering Rules</field>
1563 <field name="res_model">stock.warehouse.orderpoint</field>
1564 <field name="type">ir.actions.act_window</field>
1565 <field name="view_type">form</field>
1566 <field name="view_id" ref="view_warehouse_orderpoint_tree"/>
1567 <field name="search_view_id" ref="warehouse_orderpoint_search" />
1568 <field name="help" type="html">
1569 <p class="oe_view_nocontent_create">
1570 Click to add a reordering rule.
1571 </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>
1576 context="{'search_default_warehouse_id': active_id, 'default_warehouse_id': active_id}"
1577 id="act_stock_warehouse_2_stock_warehouse_orderpoint"
1578 name="Reordering Rules"
1579 res_model="stock.warehouse.orderpoint"
1580 src_model="stock.warehouse"
1581 groups="stock.group_stock_user"/>
1583 <!-- Procurements -->
1585 <record id="view_procurement_form_stock_inherit" model="ir.ui.view">
1586 <field name="name">procurement.order.form.stock.inherit</field>
1587 <field name="model">procurement.order</field>
1588 <field name="inherit_id" ref="procurement.procurement_form_view"/>
1589 <field name="arch" type="xml">
1590 <xpath expr="//group[@name='scheduling']" position="before">
1592 <field name="warehouse_id" on_change="change_warehouse_id(warehouse_id, context)"/>
1593 <field name="location_id" domain="[('usage', '=', 'internal')]"/>
1594 <field name="route_ids" widget="many2many_tags"/>
1597 <xpath expr="//div[@name='button_box']" position="inside">
1598 <button name="do_view_pickings" string="Group's Pickings" type="object"/>
1600 <xpath expr="//field[@name='rule_id']" position="replace">
1601 <field name="rule_id" domain="['|', ('location_id', '=', False), ('location_id', '=', location_id)]"/>
1602 <field name="partner_dest_id"/>
1606 <record id="view_procurement_tree_stock_inherit" model="ir.ui.view">
1607 <field name="name">procurement.order.tree.stock.inherit</field>
1608 <field name="model">procurement.order</field>
1609 <field name="inherit_id" ref="procurement.procurement_tree_view"/>
1610 <field name="arch" type="xml">
1611 <xpath expr="//field[@name='origin']" position="before">
1612 <field name="location_id"/>
1616 <record id="view_procurement_rule_tree_stock_inherit" model="ir.ui.view">
1617 <field name="name">procurement.rule.tree.stock.inherit</field>
1618 <field name="model">procurement.rule</field>
1619 <field name="inherit_id" ref="procurement.view_procurement_rule_tree"/>
1620 <field name="arch" type="xml">
1621 <xpath expr="//field[@name='action']" position="after">
1622 <field name="picking_type_id"/>
1627 <record id="view_procurement_rule_form_stock_inherit" model="ir.ui.view">
1628 <field name="name">procurement.rule.form.stock.inherit</field>
1629 <field name="model">procurement.rule</field>
1630 <field name="inherit_id" ref="procurement.view_procurement_rule_form"/>
1631 <field name="arch" type="xml">
1632 <xpath expr="//field[@name='action']" position="before">
1633 <field name="location_id"/>
1634 <field name="warehouse_id" groups="base.group_no_one"/>
1635 <field name="route_id" groups="base.group_no_one"/>
1637 <xpath expr="//field[@name='action']" position="after">
1638 <field name="picking_type_id" attrs="{'required': [('action', '!=', 'manufacture')]}"/>
1640 <xpath expr="//field[@name='group_id']" position="after">
1641 <field name="propagate"/>
1642 <field name="propagate_warehouse_id"/>
1644 <xpath expr="//group[@name='propagation_group']" position="before">
1645 <group attrs="{'invisible': [('action', '!=', 'move')]}" string="Moving Options">
1646 <field name="procure_method" groups="stock.group_adv_location"/>
1647 <field name="location_src_id" attrs="{'required': [('action', '=', 'move')]}"/>
1648 <field name="partner_address_id" groups="stock.group_adv_location" context="{'show_address': 1}" options="{'always_reload': 1}"/>
1649 <label for="delay" string="Delay" groups="stock.group_adv_location"/>
1650 <div groups="stock.group_adv_location">
1651 <field name="delay" class="oe_inline"/>days
1658 <record model="ir.actions.act_window" id="procrules">
1659 <field name="context">{}</field>
1660 <field name="name">Pull Rules</field>
1661 <field name="res_model">procurement.rule</field>
1664 <record id="quant_search_view" model="ir.ui.view">
1665 <field name="name">stock.quant.search</field>
1666 <field name="model">stock.quant</field>
1667 <field eval="10" name="priority"/>
1668 <field name="arch" type="xml">
1669 <search string="Quants">
1670 <field name="product_id"/>
1671 <field name="location_id"/>
1672 <field name="package_id" groups="stock.group_tracking_lot"/>
1673 <field name="lot_id" groups="stock.group_production_lot"/>
1674 <field name="owner_id" groups="stock.group_tracking_owner"/>
1675 <group expand='0' string='Filters'>
1676 <filter name='internal_loc' string="Internal Locations" domain="[('location_id.usage','=', 'internal')]"/>
1678 <group expand='0' string='Group by...'>
1679 <filter name="productgroup" string='Product' context="{'group_by' : 'product_id'}"/>
1680 <filter string='Owner' context="{'group_by' : 'owner_id'}" groups="stock.group_tracking_owner"/>
1681 <filter string='Lot' context="{'group_by' : 'lot_id'}" groups="stock.group_production_lot"/>
1682 <filter name="locationgroup" string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1683 <filter string='Package' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'package_id'}" groups="stock.group_tracking_lot"/>
1684 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_type_id'}" groups="stock.group_tracking_lot"/>
1685 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1691 <record model="ir.actions.act_window" id="quantsact">
1692 <field name="name">Quants</field>
1693 <field name="res_model">stock.quant</field>
1694 <field name="view_type">form</field>
1695 <field name="view_mode">tree,form,graph</field>
1696 <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>
1699 <record model="ir.ui.view" id="view_stock_quant_form">
1700 <field name="name">stock.quant.form</field>
1701 <field name="model">stock.quant</field>
1702 <field eval="10" name="priority"/>
1703 <field name="arch" type="xml">
1704 <form string="Quants" version="7.0">
1705 <div class="oe_right oe_button_box">
1706 <button name="action_view_quant_history" type="object" string="Quant History"/>
1709 <field name="product_id"/>
1711 <field name="lot_id" groups="stock.group_production_lot"/>
1712 <field name="package_id" groups="stock.group_tracking_lot"/>
1713 <field name="location_id"/>
1714 <field name="in_date"/>
1715 <field name="reservation_id"/>
1716 <field name="propagated_from_id"/>
1717 <field name="owner_id" groups="stock.group_tracking_owner"/>
1718 <field name="inventory_value"/>
1725 <record model="ir.ui.view" id="view_stock_quant_tree">
1726 <field name="name">stock.quant.tree</field>
1727 <field name="model">stock.quant</field>
1728 <field eval="10" name="priority"/>
1729 <field name="arch" type="xml">
1730 <tree string="Quants" create="0">
1731 <field name="product_id"/>
1733 <field name="location_id"/>
1734 <field name="owner_id" groups="stock.group_tracking_owner"/>
1735 <field name="lot_id" groups="stock.group_production_lot"/>
1736 <field name="package_id" groups="stock.group_tracking_lot"/>
1737 <field name="packaging_type_id" invisible="1"/>
1738 <field name="in_date"/>
1739 <field name="inventory_value"/>
1740 <field name="reservation_id" invisible='1'/>
1741 <field name="propagated_from_id" invisible='1'/>
1742 <field name='company_id' groups="base.group_multi_company"/>
1747 <record model="ir.ui.view" id="view_stock_quant_graph_value">
1748 <field name="name">stock.quant.graph</field>
1749 <field name="model">stock.quant</field>
1750 <field eval="12" name="priority"/>
1751 <field name="arch" type="xml">
1752 <graph string="Quants">
1753 <field name="product_id"/>
1755 <field name="location_id"/>
1760 <!-- Procurements are located in Warehouse menu hierarchy, MRP users should come to Stock application to use it. -->
1761 <menuitem id="menu_stock_sched" name="Schedulers" parent="stock.menu_stock_root" sequence="4" groups="stock.group_stock_manager"/>
1762 <menuitem action="action_procurement_compute" id="menu_procurement_compute" parent="menu_stock_sched" groups="base.group_no_one"/>
1763 <menuitem action="procurement.action_compute_schedulers" id="menu_stock_proc_schedulers" parent="menu_stock_sched" sequence="20" groups="stock.group_stock_manager"/>
1764 <menuitem action="procurement.procurement_exceptions" id="menu_stock_procurement_action" parent="menu_stock_sched" sequence="50" groups="stock.group_stock_manager"/>
1765 <menuitem id="menu_stock_procurement" name="Automatic Procurements" parent="stock.menu_stock_configuration" sequence="5"/>
1766 <menuitem action="action_orderpoint_form" id="menu_stock_order_points" parent="stock.menu_stock_configuration" sequence="10"/>
1767 <menuitem id="stock.next_id_61" name="Warehouse" sequence="15" parent="base.menu_reporting" groups="group_stock_manager"/>
1768 <menuitem id="menu_quants" name="Quants" parent="menu_traceability" sequence="20" action="quantsact" groups="base.group_no_one"/>
1769 <menuitem id="menu_procurement_rules" name="Procurement Rules" parent="stock.menu_stock_configuration" action="procrules" groups="base.group_no_one"/>
1770 <menuitem id="menu_pickingtype" name="Types of Operation" parent="stock.menu_stock_configuration" action="action_picking_type_list"/>
1773 <record model="ir.actions.act_window" id="product_open_orderpoint">
1774 <field name="context">{'default_product_id': active_id, 'search_default_product_id': active_id}</field>
1775 <field name="name">Reordering Rules</field>
1776 <field name="res_model">stock.warehouse.orderpoint</field>
1778 <record model="ir.actions.act_window" id="product_open_quants">
1779 <field name="context">{'search_default_internal_loc': 1, 'search_default_product_id': active_id, 'search_default_locationgroup':1}</field>
1780 <field name="name">Quants</field>
1781 <field name="res_model">stock.quant</field>
1785 <record model="ir.ui.view" id="product_template_form_view_procurement">
1786 <field name="name">product.template.procurement</field>
1787 <field name="model">product.product</field>
1788 <field name="inherit_id" ref="product.product_template_form_view"/>
1789 <field name="arch" type="xml">
1790 <xpath expr="//field[@name='standard_price']" position="after" >
1791 <group name="procurement_help" col="1" groups="base.group_user">
1792 <field name="route_ids" widget="many2many_tags"/>
1797 <record id="product_search_form_view_procurment" model="ir.ui.view">
1798 <field name="name">product.search.procurment.form</field>
1799 <field name="model">product.product</field>
1800 <field name="inherit_id" ref="product.product_search_form_view"/>
1801 <field name="arch" type="xml">
1802 <filter name="consumable" position="before">
1803 <filter string="Products" icon="terp-accessories-archiver" domain="[('type','=','product')]" help="Stockable products"/>
1808 <record id="view_normal_procurement_locations_form" model="ir.ui.view">
1809 <field name="name">product.normal.procurement.locations.inherit</field>
1810 <field name="model">product.product</field>
1811 <field name="inherit_id" ref="product.product_normal_form_view"/>
1812 <field name="arch" type="xml">
1814 <xpath expr="//group[@name='procurement_uom']" position="after" >
1816 <group string="Supply Chain Information" attrs="{'invisible': [('type', '=', 'service')]}">
1817 <field name="route_ids" widget="many2many_checkboxes"/>
1822 <xpath expr="//div[@name='buttons']" position="inside">
1823 <button class="oe_stat_button"
1824 name="%(product_open_quants)d"
1825 icon="fa-building-o"
1826 type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_locations">
1829 <button string="Moves" class="oe_stat_button" name= "%(act_product_stock_move_open)d" type="action"
1830 attrs="{'invisible':[('type', '=', 'service')]}"
1832 groups="stock.group_stock_user"/>
1833 <button class="oe_inline oe_stat_button" name="%(product_open_orderpoint)d" type="action"
1834 attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-refresh" string="Reordering Rules"/>
1837 <xpath expr="//group[@string='Sale Conditions']" position="inside">
1838 <label for="sale_delay"/>
1840 <field name="sale_delay" class="oe_inline"/> days
1844 <xpath expr="//group[@name='status']" position="after" version="7.0">
1845 <group name="store" string="Storage Location" attrs="{'invisible':[('type','=','service')]}">
1846 <field name="loc_rack"/>
1847 <field name="loc_row"/>
1848 <field name="loc_case"/>
1852 <xpath expr="//group[@name='Weights']" position="before">
1853 <group name="store" groups="stock.group_locations" string="Counter-Part Locations Properties">
1854 <field name="property_stock_procurement" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','procurement')]"/>
1855 <field name="property_stock_production" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','production')]"/>
1856 <field name="property_stock_inventory" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','inventory')]"/>
1863 <record model="ir.ui.view" id="product_form_view_procurement_button">
1864 <field name="name">product.product.procurement</field>
1865 <field name="model">product.product</field>
1866 <field name="inherit_id" ref="view_normal_procurement_locations_form"/>
1867 <field name="arch" type="xml">
1868 <group name="status" position="before" version="7.0">
1869 <group string="Stock and Expected Variations" attrs="{'invisible': [('type', '=', 'service')]}" groups="base.group_user">
1870 <label for="qty_available"/>
1872 <field name="qty_available" class="oe_inline"/>
1873 <button name="%(action_view_change_product_quantity)d" string="⇒ Update"
1877 <label for="incoming_qty"/>
1879 <field name="incoming_qty" class="oe_inline"/>
1880 <button string="⇒ Request Procurement" name="%(act_make_procurement)d" type="action" class="oe_link"/>
1882 <field name="outgoing_qty" class="oe_inline"/>
1883 <field name="virtual_available" class="oe_inline"/>
1885 <group name="lot" groups="stock.group_tracking_lot,stock.group_production_lot" string="Lots">
1886 <field name="track_all" groups="stock.group_production_lot"/>
1887 <field name="track_incoming" groups="stock.group_production_lot" attrs="{'invisible': [('track_all', '=', True)]}"/>
1888 <field name="track_outgoing" groups="stock.group_production_lot" attrs="{'invisible': [('track_all', '=', True)]}"/>
1894 <record model="ir.ui.view" id="view_quant_package_form">
1895 <field name="name">stock.quant.package.form</field>
1896 <field name="model">stock.quant.package</field>
1897 <field eval="10" name="priority"/>
1898 <field name="arch" type="xml">
1899 <form string="Package" version="7.0">
1901 <div class="oe_right oe_button_box">
1902 <button name="unpack" string="Unpack" type="object"/>
1904 <div class="oe_title">
1905 <label for="name" string="Package Reference" class="oe_edit_only"/>
1906 <h1><field name="name" class="oe_inline"/></h1>
1910 <field name="ul_id"/>
1911 <field name="packaging_id"/>
1912 <field name='company_id' groups="base.group_multi_company"/>
1913 <field name='owner_id' groups="stock.group_tracking_owner"/>
1916 <field name="location_id"/>
1917 <field name="parent_id"/>
1921 <page string="Content">
1922 <separator string="Bulk Content" />
1923 <field name="quant_ids">
1924 <tree string="Quants">
1925 <field name="product_id"/>
1927 <field name="location_id"/>
1928 <field name="in_date"/>
1932 <div class="oe_right oe_button_box" style="margin-top: 10px">
1933 <button name="get_content_package" type="object" string="View Contained Packages content" icon="gtk-execute" attrs="{'invisible': [('children_ids','=',[])]}"/>
1935 <separator string="Contained Packages"/>
1936 <field name="children_ids">
1937 <tree string="Contained Packages">
1938 <field name="complete_name"/>
1939 <field name="ul_id"/>
1940 <field name="packaging_id"/>
1941 <field name="location_id"/>
1952 <record model="ir.ui.view" id="view_quant_package_tree">
1953 <field name="name">stock.quant.package.tree</field>
1954 <field name="model">stock.quant.package</field>
1955 <field eval="10" name="priority"/>
1956 <field name="arch" type="xml">
1957 <tree string="Package">
1958 <field name="complete_name"/>
1959 <field name="ul_id"/>
1960 <field name="packaging_id"/>
1961 <field name="location_id"/>
1962 <field name="company_id"/>
1966 <record id="quant_package_search_view" model="ir.ui.view">
1967 <field name="name">stock.quant.package.search</field>
1968 <field name="model">stock.quant.package</field>
1969 <field eval="10" name="priority"/>
1970 <field name="arch" type="xml">
1971 <search string="Package">
1972 <field name="name" string="Package Name"/>
1973 <field name="location_id"/>
1974 <field name="ul_id"/>
1975 <field name="packaging_id"/>
1976 <group expand='0' string='Group by...'>
1977 <filter string='Location' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'location_id'}"/>
1978 <filter string='Packaging' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'packaging_id'}"/>
1979 <filter string='Company' icon="terp-go-home" domain="[]" context="{'group_by' : 'company_id'}" groups="base.group_multi_company"/>
1984 <record model="ir.actions.act_window" id="action_package_view">
1985 <field name="context">{}</field>
1986 <field name="name">Packages</field>
1987 <field name="res_model">stock.quant.package</field>
1988 <field name="help" type="html">
1989 <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.
1993 <menuitem id="menu_package" name="Packages" parent="menu_stock_product" action="action_package_view" groups="stock.group_tracking_lot"/>
1997 <record id="stock_location_route_tree" model="ir.ui.view">
1998 <field name="name">stock.location.route.tree</field>
1999 <field name="model">stock.location.route</field>
2000 <field name="arch" type="xml">
2001 <tree string="Routes">
2002 <field name="sequence" widget="handle" />
2003 <field name="name"/>
2008 <record id="stock_location_route_form_view" model="ir.ui.view">
2009 <field name="name">stock.location.route.form</field>
2010 <field name="model">stock.location.route</field>
2011 <field eval="7" name="priority" />
2012 <field name="arch" type="xml">
2013 <form string="Route" version="7.0">
2015 <div class="oe_title">
2016 <label for="name" class="oe_edit_only"/>
2017 <h1><field name="name"/></h1>
2021 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
2022 <field name="active" groups="stock.group_adv_location" />
2025 <field name="sequence" string="Sequence" groups="base.group_no_one"/>
2028 <separator string="Applicable On"/>
2029 <p class="oe_grey">Select the places where this route can be selected</p>
2032 <field name="product_categ_selectable" string="Product Categories"/>
2033 <field name="product_selectable" string="Products"/>
2036 <field name="warehouse_selectable" string="Warehouses"/>
2039 <group string="Push Rules" colspan="4" >
2040 <field name="push_ids" colspan="4" nolabel="1"/>
2042 <group string="Pull Rules" colspan="4" >
2043 <field name="pull_ids" colspan="4" nolabel="1"/>
2050 <record id="action_routes_form" model="ir.actions.act_window">
2051 <field name="name">Routes</field>
2052 <field name="res_model">stock.location.route</field>
2053 <field name="type">ir.actions.act_window</field>
2054 <field name="view_type">form</field>
2055 <field name="view_mode">tree,form</field>
2056 <field name="view_id" ref="stock_location_route_tree" />
2057 <field name="help" type="html">
2058 <p class="oe_view_nocontent_create">
2059 Click to add a route.
2061 <p>You can define here the main routes that run through
2062 your warehouses and that define the flows of your products. These
2063 routes can be assigned to a product, a product category or be fixed
2064 on procurement or sales order. </p>
2068 <menuitem action="action_routes_form" id="menu_stock_routes"
2069 parent="stock.menu_stock_configuration" sequence="11" />
2071 <record id="view_product_procurement_rule_form" model="ir.ui.view">
2072 <field name="name">product.template.procurement.rule.inherit</field>
2073 <field name="model">product.product</field>
2074 <field name="inherit_id" ref="product.product_normal_form_view"/>
2075 <field name="arch" type="xml">
2076 <xpath expr="//div[@name='buttons']" position="inside">
2077 <button name="action_view_routes"
2078 class="oe_stat_button"
2079 icon="fa-arrows-alt"
2086 <record id="do_view_pickings" model="ir.actions.act_window">
2087 <field name="name">Pickings for Groups</field>
2088 <field name="res_model">stock.picking</field>
2089 <field name="view_type">form</field>
2090 <field name="view_mode">tree,form</field>
2091 <field name="domain">[('group_id','=',active_id)]</field>
2093 <record id="procurement_group_form_view_herited" model="ir.ui.view">
2094 <field name="name">procurement.group.form.herited</field>
2095 <field name="model">procurement.group</field>
2096 <field name="inherit_id" ref="procurement.procurement_group_form_view"/>
2097 <field name="arch" type="xml">
2098 <xpath expr="//div[@name='button_box']" position="inside">
2099 <button name="%(do_view_pickings)d" string="Pickings" type="action"/>