2008-07-01 15:58:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2010-02-05 13:49:07 +00:00
<menuitem icon= "terp-stock" id= "menu_stock_root" name= "Warehouse" sequence= "2" />
2010-01-11 07:07:34 +00:00
<menuitem id= "menu_stock_warehouse_mgmt" name= "Warehouse Management" parent= "menu_stock_root" sequence= "1" />
2010-05-10 10:59:04 +00:00
<menuitem id= "menu_stock_product" name= "Product" parent= "menu_stock_root" sequence= "4" />
2010-03-16 18:02:06 +00:00
<menuitem action= "product.product_normal_action" id= "menu_stock_products_menu" parent= "menu_stock_product" sequence= "1" />
2010-01-11 07:07:34 +00:00
<menuitem id= "menu_stock_configuration" name= "Configuration" parent= "menu_stock_root" sequence= "6" />
2010-05-10 10:59:04 +00:00
<menuitem id= "menu_stock_inventory_control" name= "Inventory Control" parent= "menu_stock_root" sequence= "3" />
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "stock_inventory_line_tree" model= "ir.ui.view" >
<field name= "name" > stock.inventory.line.tree</field>
<field name= "model" > stock.inventory.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Stock Inventory Lines" >
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" />
2010-04-16 09:16:25 +00:00
<field name= "prod_lot_id" groups= "base.group_extended" />
2010-03-16 18:02:06 +00:00
<button name= "%(stock.action_view_stock_inventory_line_split)d"
2010-04-16 09:16:25 +00:00
string="Split inventory lines" groups="base.group_extended"
2010-04-09 00:03:39 +00:00
type="action" icon="gtk-justify-fill"/>
2010-01-17 07:39:14 +00:00
<field name= "location_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_inventory_line_form" model= "ir.ui.view" >
<field name= "name" > stock.inventory.line.form</field>
<field name= "model" > stock.inventory.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Stock Inventory Lines" >
2008-12-04 18:10:00 +00:00
<field context= "location=location_id,uom=product_uom" name= "product_id" on_change= "on_change_product_id(location_id,product_id,product_uom)" select= "1" domain= "[('type','<>','service')]" />
2008-07-01 15:58:58 +00:00
<field name= "product_qty" />
2008-09-07 23:24:39 +00:00
<field name= "product_uom" />
2010-04-16 09:16:25 +00:00
<field name= "prod_lot_id" groups= "base.group_extended" />
2010-04-09 00:03:39 +00:00
<field colspan= "4" domain= "[('usage','=','internal')]" name= "location_id" select= "1" />
2010-03-16 18:02:06 +00:00
<button name= "%(stock.action_view_stock_inventory_line_split)d"
2010-04-16 09:16:25 +00:00
string="Split inventory lines" groups="base.group_extended"
2010-03-16 18:02:06 +00:00
type="action" icon="gtk-justify-fill"/>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-09-16 10:37:53 +00:00
2010-02-17 16:23:42 +00:00
<record id= "view_inventory_filter" model= "ir.ui.view" >
<field name= "name" > stock.inventory.filter</field>
<field name= "model" > stock.inventory</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Inventory" >
<group col= "10" colspan= "4" >
2010-04-29 08:08:26 +00:00
<field name= "name" />
<field name= "date" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-02-17 16:23:42 +00:00
</group>
2010-05-10 05:46:20 +00:00
<newline />
2010-05-13 13:29:23 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "4" groups= "base.group_extended" >
2010-05-10 05:46:20 +00:00
<filter string= "State" icon= "terp-sale" domain= "[]" context= "{'group_by':'state'}" />
<filter string= "Date" icon= "terp-sale" domain= "[]" context= "{'group_by':'date'}" />
</group>
2010-02-17 16:23:42 +00:00
</search>
2010-03-10 09:42:47 +00:00
2010-02-17 16:23:42 +00:00
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_inventory_tree" model= "ir.ui.view" >
<field name= "name" > stock.inventory.tree</field>
<field name= "model" > stock.inventory</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree string= "Lot Inventory" colors= "grey:state in ('cancel')" >
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "date" />
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
2010-03-10 09:42:47 +00:00
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_inventory_form" model= "ir.ui.view" >
<field name= "name" > stock.inventory.form</field>
<field name= "model" > stock.inventory</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Lot Inventory" >
2010-04-29 08:08:26 +00:00
<field name= "name" />
<field name= "date" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-08-25 22:20:48 +00:00
<notebook colspan= "4" >
<page string= "General Informations" >
2010-01-17 07:39:14 +00:00
<field colspan= "4" name= "inventory_line_id" nolabel= "1" widget= "one2many_list" >
<tree string= "Inventory Lines" editable= "bottom" >
2010-04-29 08:08:26 +00:00
<field context= "location=location_id,uom=product_uom" name= "product_id" on_change= "on_change_product_id(location_id,product_id,product_uom)" domain= "[('type','<>','service')]" />
2010-01-17 07:39:14 +00:00
<field name= "product_qty" />
2010-01-19 08:57:59 +00:00
<field name= "product_uom" />
2010-04-16 09:16:25 +00:00
<field name= "prod_lot_id" groups= "base.group_extended" />
2010-04-29 08:08:26 +00:00
<field colspan= "4" domain= "[('usage','=','internal')]" name= "location_id" />
2010-03-16 18:02:06 +00:00
<field name= "state" invisible= "1" />
<button name= "%(stock.action_view_stock_inventory_line_split)d"
2010-04-16 09:16:25 +00:00
string="Split inventory lines" groups="base.group_extended"
2010-03-16 18:02:06 +00:00
type="action" icon="gtk-justify-fill" states="draft"/>
2010-01-17 07:39:14 +00:00
</tree>
<form string= "Inventory Lines" >
2010-04-29 08:08:26 +00:00
<field colspan= "4" context= "location=location_id,uom=product_uom" name= "product_id" on_change= "on_change_product_id(location_id,product_id,product_uom)" domain= "[('type','<>','service')]" />
2010-01-17 07:39:14 +00:00
<field name= "product_qty" />
<field name= "product_uom" />
2010-04-29 08:08:26 +00:00
<field domain= "[('usage','=','internal')]" name= "location_id" />
2010-04-16 09:16:25 +00:00
<field name= "prod_lot_id" groups= "base.group_extended" />
2010-01-19 09:39:53 +00:00
<group colspan= "2" col= "3" >
2010-03-16 18:02:06 +00:00
<button name= "%(stock.action_view_stock_inventory_line_split)d"
2010-04-16 09:16:25 +00:00
string="Split inventory lines" groups="base.group_extended"
2010-03-16 18:02:06 +00:00
type="action" icon="gtk-justify-fill"/>
</group>
2010-01-17 07:39:14 +00:00
</form>
</field>
2010-04-15 08:55:49 +00:00
</page> <page string= "Posted Inventory" groups= "base.group_extended" >
2008-08-25 22:20:48 +00:00
<field colspan= "4" name= "move_ids" nolabel= "1" />
</page>
2008-06-29 08:26:07 +00:00
</notebook>
2010-04-29 08:08:26 +00:00
<field name= "state" />
2009-09-24 10:46:21 +00:00
<group col= "4" colspan= "2" >
<button name= "action_done" states= "draft" string= "Confirm Inventory" type= "object" icon= "gtk-apply" />
<button name= "action_cancel" states= "cancel" string= "Set to Draft" type= "object" icon= "gtk-cancel" />
<button name= "action_cancel_inventary" states= "draft" string= "Cancel Inventory" type= "object" icon= "gtk-cancel" />
2008-09-16 10:37:53 +00:00
</group>
2010-03-10 09:42:47 +00:00
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_inventory_form" model= "ir.actions.act_window" >
2008-12-18 17:57:56 +00:00
<field name= "name" > Periodical Inventory</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > stock.inventory</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_inventory_tree" />
2009-11-23 13:47:57 +00:00
<field name= "context" > {'full':'1'}</field>
2010-02-17 16:23:42 +00:00
<field name= "search_view_id" ref= "view_inventory_filter" />
2008-06-29 08:26:07 +00:00
</record>
2010-02-25 22:04:35 +00:00
<menuitem action= "action_inventory_form" id= "menu_action_inventory_form" parent= "menu_stock_inventory_control" sequence= "30" />
2008-09-16 10:37:53 +00:00
2008-09-17 07:49:51 +00:00
<record id= "action_inventory_form_draft" model= "ir.actions.act_window" >
2008-12-18 17:57:56 +00:00
<field name= "name" > Draft Periodical Inventories</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
2008-09-17 07:49:51 +00:00
<field name= "res_model" > stock.inventory</field>
2008-07-01 15:58:58 +00:00
<field name= "view_type" > form</field>
2008-09-17 07:49:51 +00:00
<field name= "domain" > [('state','=','draft')]</field>
2009-11-23 13:47:57 +00:00
<field name= "filter" eval= "True" />
2008-06-29 08:26:07 +00:00
</record>
2009-11-23 05:29:17 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_tracking_form" model= "ir.ui.view" >
<field name= "name" > stock.tracking.form</field>
<field name= "model" > stock.tracking</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Tracking/Serial" >
<field name= "name" select= "1" />
<field name= "serial" select= "1" />
<field name= "date" select= "1" />
2010-03-10 09:42:47 +00:00
<field name= "active" select= "1" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_tracking_tree" model= "ir.ui.view" >
<field name= "name" > stock.tracking.tree</field>
<field name= "model" > stock.tracking</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Tracking/Serial" >
<field name= "name" />
<field name= "serial" />
<field name= "date" />
<field name= "active" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_tracking_form" model= "ir.actions.act_window" >
<field name= "name" > Tracking Lots</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > stock.tracking</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_tracking_tree" />
</record>
2010-05-10 10:59:04 +00:00
<menuitem id= "menu_traceability" name= "Traceability" parent= "menu_stock_root" sequence= "2" />
2010-04-18 15:32:44 +00:00
<menuitem action= "action_tracking_form" id= "menu_action_tracking_form"
groups="base.group_extended"
parent="menu_traceability"/>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "lot_line_tree" model= "ir.ui.view" >
<field name= "name" > stock.tracking.tree</field>
<field name= "model" > stock.tracking</field>
<field name= "type" > tree</field>
<field name= "field_parent" > child_ids</field>
<field name= "arch" type= "xml" >
2009-12-23 11:43:11 +00:00
<tree colors= "grey:not active" string= "Tracking Number" >
2010-05-20 14:17:02 +00:00
<field name= "name" />
<field name= "serial" />
<field name= "date" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_production_lot_revision_form" model= "ir.ui.view" >
<field name= "name" > stock.production.lot.revision.form</field>
<field name= "model" > stock.production.lot.revision</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Production Lot Revisions" >
<field colspan= "4" name= "name" />
<field colspan= "2" name= "indice" />
<field colspan= "2" name= "date" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "author_id" readonly= "1" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "description" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_production_lot_revision_tree" model= "ir.ui.view" >
<field name= "name" > stock.production.lot.revision.tree</field>
<field name= "model" > stock.production.lot.revision</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Production Lot Revisions" >
<field name= "indice" />
<field name= "author_id" />
<field name= "date" />
<field name= "name" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_production_lot_form" model= "ir.ui.view" >
<field name= "name" > stock.production.lot.form</field>
<field name= "model" > stock.production.lot</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Production Lot" >
2010-02-23 16:05:50 +00:00
<notebook colspan= "4" >
<page string= "Production Lot" >
2010-04-29 08:08:26 +00:00
<field name= "name" />
2010-04-16 09:16:25 +00:00
<field name= "ref" />
2010-04-29 08:08:26 +00:00
<field name= "prefix" />
<field name= "product_id" />
2010-02-23 16:05:50 +00:00
<field name= "stock_available" />
2010-04-16 09:16:25 +00:00
<field name= "date" />
2010-02-23 16:05:50 +00:00
<field colspan= "4" name= "revisions" nolabel= "1" />
</page>
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_production_lot_tree" model= "ir.ui.view" >
<field name= "name" > stock.production.lot.tree</field>
<field name= "model" > stock.production.lot</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Production Lot" >
2010-02-23 16:05:50 +00:00
<field name= "prefix" />
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "ref" />
2008-09-16 10:37:53 +00:00
<field name= "product_id" />
<field name= "stock_available" />
2010-02-23 16:05:50 +00:00
<field name= "date" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-02-23 16:05:50 +00:00
<record model= "ir.ui.view" id= "search_product_lot_filter" >
<field name= "name" > Production Lots Filter</field>
<field name= "model" > stock.production.lot</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Product Lots Filter" >
<group col= "10" colspan= "4" >
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "available" string= "Available" domain= "[('stock_available', '>', 0)]" help= "Available Product Lots" />
2010-02-23 16:05:50 +00:00
<separator orientation= "vertical" />
2010-04-29 08:08:26 +00:00
<field name= "prefix" />
<field name= "name" />
<field name= "ref" />
<field name= "product_id" />
<field name= "date" />
2010-02-23 16:05:50 +00:00
</group>
2010-03-10 13:20:40 +00:00
<newline />
2010-02-23 16:05:50 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
<filter string= "Product" icon= "terp-stock" domain= "[]" context= "{'group_by':'product_id'}" />
</group>
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_production_lot_form" model= "ir.actions.act_window" >
<field name= "name" > Production Lots</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > stock.production.lot</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_production_lot_tree" />
2010-02-23 16:05:50 +00:00
<field name= "search_view_id" ref= "search_product_lot_filter" />
2010-04-15 12:45:21 +00:00
<field name= "context" > {'full':'1',"search_default_available":1}</field>
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem action= "action_production_lot_form" id= "menu_action_production_lot_form" parent= "menu_traceability" groups= "base.group_extended" />
2008-09-16 10:37:53 +00:00
2008-06-29 08:26:07 +00:00
#
# Lot composition (history)
#
2008-07-01 15:58:58 +00:00
<record id= "stock_move_tree" model= "ir.ui.view" >
2009-11-06 11:21:45 +00:00
<field name= "name" > Stock Moves</field>
2008-07-01 15:58:58 +00:00
<field name= "model" > stock.move</field>
<field name= "type" > tree</field>
<field name= "field_parent" > move_history_ids</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Moves" >
2010-05-20 14:17:02 +00:00
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" string= "UOM" />
<field name= "prodlot_id" groups= "base.group_extended" />
2010-04-16 09:16:25 +00:00
<field name= "product_packaging" domain= "[('product_id','=',product_id)]" groups= "base.group_extended" />
2008-11-21 11:57:06 +00:00
<field name= "picking_id" />
2010-05-20 14:17:02 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date" />
<field name= "date_planned" string= "Date" />
<field name= "date_expected" string= "Date Expected" />
2008-07-01 15:58:58 +00:00
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "stock_move_tree2" model= "ir.ui.view" >
2009-11-06 11:21:45 +00:00
<field name= "name" > Stock Moves</field>
2008-07-01 15:58:58 +00:00
<field name= "model" > stock.move</field>
<field name= "type" > tree</field>
<field name= "field_parent" > move_history_ids2</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Moves" >
2010-05-20 14:17:02 +00:00
<field name= "product_id" />
<field name= "product_qty" />
<field name= "product_uom" string= "UOM" />
<field name= "prodlot_id" groups= "base.group_extended" />
2010-04-16 09:16:25 +00:00
<field name= "product_packaging" domain= "[('product_id','=',product_id)]" groups= "base.group_extended" />
2008-11-21 11:57:06 +00:00
<field name= "picking_id" />
2010-05-20 14:17:02 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date" />
<field name= "date_planned" string= "Date" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2008-07-01 15:58:58 +00:00
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-09-16 10:37:53 +00:00
2010-03-26 13:04:16 +00:00
<!-- wizard
2008-10-24 13:02:17 +00:00
id="action_lot4"
model="stock.production.lot"
2008-11-22 02:29:43 +00:00
name="stock.traceability.lot.downstream"
2010-03-26 13:04:16 +00:00
string="Downstream traceability"/-->
2008-09-16 10:37:53 +00:00
2010-03-26 13:04:16 +00:00
<!-- wizard
2008-11-21 11:57:06 +00:00
id="action4"
model="stock.tracking"
2008-11-22 02:29:43 +00:00
name="stock.traceability.upstream"
2010-03-26 13:04:16 +00:00
string="Upstream traceability"/-->
2008-11-21 11:57:06 +00:00
2010-03-26 13:04:16 +00:00
<!-- wizard
2008-11-21 11:57:06 +00:00
id="action2"
model="stock.tracking"
2008-11-22 02:29:43 +00:00
name="stock.traceability.downstream"
2010-03-26 13:04:16 +00:00
string="Downstream traceability"/-->
2008-09-16 10:37:53 +00:00
2010-03-26 13:04:16 +00:00
<!-- record id="action3" model="ir.actions.act_window">
2008-07-01 15:58:58 +00:00
<field name= "name" > Downstream traceability</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > stock.move</field>
<field name= "domain" > [('id','in',active_ids)]</field>
<field name= "view_type" > tree</field>
2008-12-02 10:17:42 +00:00
<field eval= "stock_move_tree2" name= "view_id" />
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "ir_move_traceability_upstream" model= "ir.values" >
<field eval= "'tree_but_action'" name= "key2" />
<field eval= "'stock.move'" name= "model" />
<field name= "name" > Downstream traceability</field>
<field eval= "'ir.actions.act_window,'+str(action3)" name= "value" />
<field eval= "True" name= "object" />
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "action5" model= "ir.actions.act_window" >
<field name= "name" > Upstream traceability</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > stock.move</field>
<field name= "domain" > [('id','in',active_ids)]</field>
<field name= "view_type" > tree</field>
2008-12-02 10:17:42 +00:00
<field eval= "stock_move_tree" name= "view_id" />
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "ir_move_traceability_downstream" model= "ir.values" >
<field eval= "'tree_but_action'" name= "key2" />
<field eval= "'stock.move'" name= "model" />
<field name= "name" > Upstream traceability</field>
<field eval= "'ir.actions.act_window,'+str(action5)" name= "value" />
<field eval= "True" name= "object" />
2010-03-26 13:04:16 +00:00
</record-->
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_location_form" model= "ir.ui.view" >
<field name= "name" > stock.location.form</field>
<field name= "model" > stock.location</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Stock location" >
2010-04-29 08:08:26 +00:00
<field name= "name" />
2010-04-16 09:16:25 +00:00
<field name= "active" groups= "base.group_extended" />
<newline />
2010-04-29 08:08:26 +00:00
<field name= "usage" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
<field name= "account_id" groups= "base.group_extended" />
2008-08-25 22:20:48 +00:00
<field name= "location_id" />
2009-07-22 15:19:41 +00:00
<field name= "address_id" context= "{'contact_display':'partner'}" />
2010-05-10 05:46:20 +00:00
<field name= "icon" groups= "base.group_extended" />
2010-05-05 12:05:32 +00:00
<field name= "scrap_location" />
2008-09-16 10:37:53 +00:00
<newline />
2010-04-16 09:16:25 +00:00
<group col= "2" colspan= "2" groups= "base.group_extended" >
2008-08-25 22:20:48 +00:00
<separator string= "Chained Locations" colspan= "2" />
<field name= "chained_location_type" />
<field name= "chained_location_id" />
<field name= "chained_auto_packing" />
<field name= "chained_delay" />
</group>
<group col= "2" colspan= "2" >
2009-12-22 08:27:58 +00:00
<separator string= "Localization" colspan= "2" />
2008-08-25 22:20:48 +00:00
<field name= "posx" />
<field name= "posy" />
<field name= "posz" />
</group>
<separator string= "Additional Information" colspan= "4" />
<field colspan= "4" name= "comment" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2010-04-09 00:03:39 +00:00
2010-04-18 15:32:44 +00:00
<record id= "view_location_search" model= "ir.ui.view" >
<field name= "name" > stock.location.search</field>
<field name= "model" > stock.location</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Stock Locations" >
<filter icon= "terp-stock" name= "in_location"
string="Internal" domain="[('location_id.usage', '=', 'internal')]" help="Internal Locations" />
<filter icon= "terp-stock" name= "customer"
string="Customer" domain="[('location_id.usage', '=', 'customer')]" help="Customer Locations" />
<filter icon= "terp-stock" name= "supplier"
string="Supplier" domain="[('location_id.usage', '=', 'supplier')]" help="Supplier Locations" />
<separator orientation= "vertical" />
<field name= "name" />
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_location_tree2" model= "ir.ui.view" >
<field name= "name" > stock.location.tree</field>
<field name= "model" > stock.location</field>
<field name= "type" > tree</field>
2010-02-19 16:01:17 +00:00
<field name= "priority" eval= "2" />
2008-07-01 15:58:58 +00:00
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree string= "Stock location" colors= "blue:usage=='view';darkred:usage=='internal'" >
2008-09-17 07:49:51 +00:00
<field name= "complete_name" />
2008-07-01 15:58:58 +00:00
<field name= "usage" />
2008-09-17 09:10:14 +00:00
<field name= "stock_real" invisible= "'product_id' not in context" />
<field name= "stock_virtual" invisible= "'product_id' not in context" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_location_form" model= "ir.actions.act_window" >
<field name= "name" > Locations</field>
<field name= "res_model" > stock.location</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_location_tree2" />
2010-04-18 15:32:44 +00:00
<field name= "context" > {'full':1, 'search_default_in_location':1}</field>
2008-07-01 15:58:58 +00:00
</record>
2010-02-25 22:04:35 +00:00
<menuitem action= "action_location_form" id= "menu_action_location_form" parent= "menu_stock_configuration" />
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_location_tree" model= "ir.ui.view" >
<field name= "name" > stock.location.tree</field>
<field name= "model" > stock.location</field>
<field name= "type" > tree</field>
<field name= "field_parent" > child_ids</field>
<field name= "arch" type= "xml" >
2008-09-16 10:37:53 +00:00
<tree toolbar= "1" >
<field icon= "icon" name= "name" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_location_tree" model= "ir.actions.act_window" >
2010-02-25 22:04:35 +00:00
<field name= "name" > Location Structure</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > stock.location</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "domain" > [('location_id','=',False)]</field>
<field name= "view_type" > tree</field>
<field name= "view_id" ref= "view_location_tree" />
2008-06-29 08:26:07 +00:00
</record>
2010-05-10 05:46:20 +00:00
<menuitem action= "action_location_tree" id= "menu_action_location_tree" parent= "menu_stock_inventory_control" groups= "base.group_extended" sequence= "20" />
2009-11-23 13:47:57 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_warehouse" model= "ir.ui.view" >
<field name= "name" > stock.warehouse</field>
<field name= "model" > stock.warehouse</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Warehouse" >
<field colspan= "4" name= "name" select= "1" />
<field name= "lot_input_id" />
<field name= "lot_stock_id" />
<field name= "lot_output_id" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" select= "1" groups= "base.group_multi_company" widget= "selection" />
2008-06-29 08:26:07 +00:00
<newline />
2009-07-22 15:19:41 +00:00
<field name= "partner_address_id" context= "{'contact_display':'partner'}" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_warehouse_tree" model= "ir.ui.view" >
<field name= "name" > stock.warehouse.tree</field>
<field name= "model" > stock.warehouse</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Warehouse" >
<field name= "name" />
<field name= "lot_input_id" />
<field name= "lot_stock_id" />
<field name= "lot_output_id" />
2009-07-22 15:19:41 +00:00
<field name= "partner_address_id" context= "{'contact_display':'partner'}" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_warehouse_form" model= "ir.actions.act_window" >
<field name= "name" > Warehouses</field>
<field name= "res_model" > stock.warehouse</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_warehouse_tree" />
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<menuitem action= "action_warehouse_form" id= "menu_action_warehouse_form" parent= "menu_stock_configuration" />
2008-09-16 10:37:53 +00:00
2008-08-27 05:44:58 +00:00
<record id= "stock_picking_move_wizard_form" model= "ir.ui.view" >
<field name= "name" > stock.picking.move.wizard.form</field>
<field name= "model" > stock.picking.move.wizard</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-11-25 09:31:44 +00:00
<form string= "Entry Lines" >
2009-07-22 15:19:41 +00:00
<field name= "address_id" invisible= "True" context= "{'contact_display':'partner'}" />
2008-08-27 05:44:58 +00:00
<field name= "picking_id" invisible= "True" />
2008-09-20 19:06:25 +00:00
<field domain= "[('picking_id','<>',picking_id),('state','in',['confirmed','assigned']),('picking_id.address_id','=',address_id)]" name= "move_ids" nolabel= "1" /> <newline />
2008-08-27 05:44:58 +00:00
<group colspan= "4" >
2009-09-24 10:46:21 +00:00
<button special= "cancel" string= "Cancel" icon= "gtk-cancel" />
<button name= "action_move" string= "Add" type= "object" icon= "gtk-add" />
2008-08-27 05:44:58 +00:00
</group>
</form>
</field>
</record>
<record id= "act_stock_picking_move_wizard" model= "ir.actions.act_window" >
<field name= "name" > Fill From Unreceived Products</field>
<field name= "res_model" > stock.picking.move.wizard</field>
<field name= "src_model" > stock.picking</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "auto_refresh" eval= "1" />
<field name= "target" > new</field>
<field name= "context" > {'action_id': active_id}</field>
2010-03-10 09:42:47 +00:00
</record>
2010-02-01 12:50:00 +00:00
2008-09-09 13:57:16 +00:00
<record model= "ir.ui.view" id= "stock_picking_calendar" >
<field name= "name" > stock.picking.calendar</field>
<field name= "model" > stock.picking</field>
<field name= "type" > calendar</field>
<field name= "priority" eval= "2" />
<field name= "arch" type= "xml" >
2008-09-16 13:32:27 +00:00
<calendar string= "Calendar View" date_start= "min_date" date_stop= "max_date" color= "address_id" >
2008-11-26 10:42:39 +00:00
<field name= "origin" />
2008-09-09 13:57:16 +00:00
<field name= "type" />
2008-09-16 10:37:53 +00:00
<field name= "address_id" />
2008-09-09 13:57:16 +00:00
</calendar>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "vpicktree" model= "ir.ui.view" >
<field name= "name" > stock.picking.tree</field>
<field name= "model" > stock.picking</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string= "Picking list" >
2008-09-08 06:53:31 +00:00
<field name= "name" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" />
2010-02-24 17:12:18 +00:00
<field name= "origin" />
2008-09-16 10:37:53 +00:00
<field name= "date" />
<field name= "min_date" />
<field name= "state" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Validate" type= "action" icon= "gtk-go-forward" help= "Validate Picking" />
2010-02-24 17:12:18 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" help= "Cancel" confirm= "This operation will cancel the picking. Do you want to continue?" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_picking_form" model= "ir.ui.view" >
<field name= "name" > stock.picking.form</field>
<field name= "model" > stock.picking</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-11-25 09:31:44 +00:00
<form string= "Picking list" >
2008-09-16 10:37:53 +00:00
<group colspan= "4" col= "6" >
2010-05-13 05:46:45 +00:00
2010-05-13 09:04:47 +00:00
<field name= "name" readonly= "1" />
<!-- <field name="address_id" context="{'contact_display' : 'partner'}" groups="base.group_extended"/> -->
2010-04-16 09:16:25 +00:00
<field name= "origin" />
2010-05-13 05:46:45 +00:00
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" readonly= "1" />
<field name= "date" />
2010-05-13 09:04:47 +00:00
<field name= "min_date" />
2008-09-16 10:37:53 +00:00
<field name= "type" />
2010-04-29 08:08:26 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-03-16 18:02:06 +00:00
</group>
2008-11-06 21:24:51 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General Information" >
2008-09-07 23:24:39 +00:00
<field colspan= "4" name= "move_lines" nolabel= "1" widget= "one2many_list" default_get= "{'move_line':move_lines, 'address_out_id': address_id}" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Stock Moves" >
2010-02-23 05:34:00 +00:00
<field name= "name" string= "Move Name" />
<field name= "product_id" />
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" string= "UOM" />
2010-04-29 08:08:26 +00:00
<field name= "picking_id" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" groups= "base.group_extended" />
2010-02-23 05:34:00 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date_planned" />
2010-05-20 14:17:02 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-03-10 09:42:47 +00:00
<field name= "state" />
2010-02-23 05:34:00 +00:00
<button
2010-03-16 18:02:06 +00:00
name="%(stock.track_line)d"
string="Split in production lots"
type="action" icon="gtk-justify-fill"
states="draft,waiting,confirmed,assigned" />
2010-03-23 06:04:00 +00:00
<button name= "%(stock.move_scrap)d"
2010-04-09 00:03:39 +00:00
string="Scrap Products" type="action"
icon="gtk-convert" context="{'scrap': True}"
states="draft,waiting,confirmed,assigned" />
2010-02-23 05:34:00 +00:00
</tree>
2008-07-01 15:58:58 +00:00
<form string= "Stock Moves" >
2010-03-16 18:02:06 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<separator colspan= "4" string= "Move Information" />
2010-04-29 08:08:26 +00:00
<field name= "location_id" domain= "[('usage','=','internal')]" />
<field name= "location_dest_id" domain= "[('usage','=','internal')]" />
2010-05-12 06:35:40 +00:00
<field colspan= "4" context= "location=location_id" name= "product_id" on_change= "onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)" select= "1" />
2010-04-29 08:08:26 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" />
2010-03-16 18:02:06 +00:00
<field groups= "product.group_uos" name= "product_uos" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field groups= "product.group_uos" name= "product_uos_qty" />
2010-04-29 08:08:26 +00:00
<field colspan= "4" invisible= "1" name= "name" />
2010-03-16 18:02:06 +00:00
<field invisible= "1" name= "date" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-04-29 08:08:26 +00:00
<field name= "address_id" context= "{'contact_display':'partner'}" />
2010-05-12 07:15:26 +00:00
<field groups= "base.group_extended" name= "product_packaging" domain= "[('product_id','=',product_id)]" />
2010-04-16 09:16:25 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-03-16 18:02:06 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
2010-04-16 09:16:25 +00:00
<field groups= "base.group_extended" name= "tracking_id" />
2010-03-16 18:02:06 +00:00
<newline />
<label />
<button name= "%(track_line)d" string= "Split in production lots" type= "action" icon= "gtk-justify-fill" />
2010-02-23 05:34:00 +00:00
<button name= "%(move_scrap)d" string= "Scrap Move Line" type= "action" icon= "gtk-justify-fill" />
2010-03-16 18:02:06 +00:00
<separator colspan= "4" string= "Move State" />
2010-04-29 08:08:26 +00:00
<field name= "state" />
2010-05-11 11:15:34 +00:00
<group colspan= "2" >
2010-03-16 18:02:06 +00:00
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
<button name= "cancel_assign" states= "assigned" string= "Cancel Availability" type= "object" icon= "gtk-no" />
<button name= "action_cancel" states= "assigned" string= "Cancel" type= "object" icon= "gtk-cancel" />
</group>
</page>
2010-04-15 08:55:49 +00:00
<page string= "Return Picking History" groups= "base.group_extended" >
2010-03-16 18:02:06 +00:00
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
2008-09-17 11:54:26 +00:00
<group col= "10" colspan= "4" >
2008-07-01 15:58:58 +00:00
<field name= "state" readonly= "1" />
2009-09-24 10:46:21 +00:00
<button name= "draft_force_assign" states= "draft" string= "Confirm (Do Not Process Now)" type= "object" icon= "gtk-apply" />
<button name= "draft_validate" states= "draft" string= "Process Now" type= "object" icon= "gtk-media-play" />
<button name= "action_assign" states= "confirmed" string= "Check Availability" type= "object" icon= "gtk-find" />
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Validate" type= "action" icon= "gtk-apply" />
2009-09-24 10:46:21 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "note" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
2009-12-22 08:27:58 +00:00
<page string= "Other info" groups= "base.group_extended" >
2010-04-16 09:16:25 +00:00
<field name= "active" />
2008-07-01 15:58:58 +00:00
<field name= "auto_picking" />
2010-04-16 09:16:25 +00:00
<field name= "invoice_state" />
<field name= "date_done" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "move_type" />
2008-06-29 08:26:07 +00:00
</page>
2010-04-09 00:03:39 +00:00
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-12-23 11:43:11 +00:00
2009-12-01 13:42:58 +00:00
<record id= "view_stock_picking_filter" model= "ir.ui.view" >
<field name= "name" > stock.picking.list.select</field>
<field name= "model" > stock.picking</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Stock Picking" >
2010-02-17 16:23:42 +00:00
<group col= "10" colspan= "4" >
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "available" string= "Available" domain= "[('state','=','assigned')]" help= "Available Pickings" />
2009-12-01 13:42:58 +00:00
<filter icon= "terp-stock" string= "Confirmed" domain= "[('state','=','confirmed')]" help= "Confirmed Pickings" />
<separator orientation= "vertical" />
2010-02-17 16:23:42 +00:00
<filter icon= "terp-stock" string= "Back Order" domain= "[('backorder_id', '!=', False)]" help= "Has Back Order" />
<separator orientation= "vertical" />
2010-04-29 08:08:26 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "name" />
<field name= "address_id" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-02-17 16:23:42 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-02-16 09:54:45 +00:00
<filter string= "Partner" icon= "terp-stock" domain= "[]" context= "{'group_by':'address_id'}" />
<filter string= "State" icon= "terp-stock" domain= "[]" context= "{'group_by':'state'}" />
2010-02-17 15:16:52 +00:00
<filter string= "Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
</group>
</search>
2009-12-01 13:42:58 +00:00
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_picking_delivery_tree" model= "ir.ui.view" >
<field name= "name" > stock.picking.delivery.tree</field>
<field name= "model" > stock.picking</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string= "Picking list" >
2008-09-08 06:53:31 +00:00
<field name= "name" />
2010-05-26 07:23:22 +00:00
<field name= "address_id" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" />
2010-02-24 17:12:18 +00:00
<field name= "origin" />
2010-04-29 08:08:26 +00:00
<field name= "date" />
<field name= "min_date" />
<field name= "state" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Validate" type= "action" icon= "gtk-go-forward" help= "Validate Delivery" />
2010-02-24 17:12:18 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" help= "Cancel" confirm= "This operation will cancel the delivery. Do you want to continue?" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_picking_delivery_form" model= "ir.ui.view" >
<field name= "name" > stock.picking.delivery.form</field>
<field name= "model" > stock.picking</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-11-25 09:31:44 +00:00
<form string= "Picking list" >
2008-09-16 10:37:53 +00:00
<group col= "6" colspan= "4" >
2010-04-29 08:08:26 +00:00
<field name= "name" readonly= "1" />
<field name= "address_id" />
2010-04-16 09:16:25 +00:00
<field name= "origin" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" readonly= "1" />
2010-02-17 16:23:42 +00:00
<field name= "date" />
2010-04-29 08:08:26 +00:00
<field name= "min_date" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-03-16 18:02:06 +00:00
</group>
2008-09-16 10:37:53 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General Information" >
2008-09-07 23:24:39 +00:00
<field colspan= "4" name= "move_lines" nolabel= "1" widget= "one2many_list" default_get= "{'move_line':move_lines, 'address_out_id': address_id}" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Stock Moves" >
2010-02-23 05:34:00 +00:00
<field name= "name" string= "Move Name" />
<field name= "product_id" />
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" string= "UOM" />
2010-04-29 08:08:26 +00:00
<field name= "picking_id" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" groups= "base.group_extended" />
2010-02-23 05:34:00 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-03-10 09:42:47 +00:00
<field name= "state" />
2010-02-23 05:34:00 +00:00
<button
2010-03-16 18:02:06 +00:00
name="%(stock.track_line)d"
string="Split in production lots"
type="action" icon="gtk-justify-fill"
2010-04-15 08:55:49 +00:00
groups="base.group_extended"
2010-03-16 18:02:06 +00:00
states="draft,waiting,confirmed,assigned" />
2010-03-23 06:04:00 +00:00
<button name= "%(stock.move_scrap)d"
2010-04-09 00:03:39 +00:00
string="Scrap Products" type="action"
icon="gtk-convert" context="{'scrap': True}"
states="draft,waiting,confirmed,assigned" />
2010-02-23 05:34:00 +00:00
</tree>
2008-07-01 15:58:58 +00:00
<form string= "Stock Moves" >
2010-03-16 18:02:06 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<separator colspan= "4" string= "Move Information" />
2010-04-29 08:08:26 +00:00
<field name= "location_id" domain= "[('usage','=','internal')]" />
<field name= "location_dest_id" domain= "[('usage','<>','view')]" />
2010-05-20 06:17:27 +00:00
<field colspan= "4" context= "location=location_id" name= "product_id" on_change= "onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)" />
2010-04-29 08:08:26 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" />
2010-03-16 18:02:06 +00:00
<field groups= "product.group_uos" name= "product_uos" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field groups= "product.group_uos" name= "product_uos_qty" />
2010-04-29 08:08:26 +00:00
<field colspan= "4" invisible= "1" name= "name" />
2010-03-16 18:02:06 +00:00
<field invisible= "1" name= "date" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-05-20 06:17:27 +00:00
<field groups= "base.group_extended" name= "product_packaging" domain= "[('product_id','=',product_id)]" />
2010-04-16 09:16:25 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-03-16 18:02:06 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
2010-04-29 08:08:26 +00:00
<field groups= "base.group_extended" name= "tracking_id" />
2010-03-16 18:02:06 +00:00
<separator colspan= "4" string= "Move State" />
2010-04-29 08:08:26 +00:00
<field name= "state" />
2010-05-11 11:15:34 +00:00
<group colspan= "2" >
2010-03-16 18:02:06 +00:00
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
<button name= "cancel_assign" states= "assigned" string= "Cancel Availability" type= "object" icon= "gtk-find" />
<button name= "action_cancel" states= "assigned" string= "Cancel" type= "object" icon= "gtk-cancel" />
</group>
</page>
<page string= "Return Picking History" >
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
2008-09-17 11:54:26 +00:00
<group col= "10" colspan= "4" >
2008-07-01 15:58:58 +00:00
<field name= "state" readonly= "1" />
2009-09-24 10:46:21 +00:00
<button name= "draft_force_assign" states= "draft" string= "Process Later" type= "object" icon= "gtk-ok" />
<button name= "draft_validate" states= "draft" string= "Process Now" type= "object" icon= "gtk-media-play" />
<button name= "action_assign" states= "confirmed" string= "Check Availability" type= "object" icon= "gtk-find" />
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Products Sent" type= "action" icon= "gtk-go-forward" />
2009-09-24 10:46:21 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "note" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
2009-12-22 08:27:58 +00:00
<page string= "Other info" groups= "base.group_extended" >
2008-07-01 15:58:58 +00:00
<field name= "auto_picking" />
2010-04-16 09:16:25 +00:00
<field name= "active" />
2008-06-29 08:26:07 +00:00
<newline />
2010-04-29 08:08:26 +00:00
<field name= "date" />
2010-04-16 09:16:25 +00:00
<field name= "date_done" />
2008-09-24 09:18:06 +00:00
<field name= "move_type" />
2008-06-29 08:26:07 +00:00
</page>
2010-04-09 00:03:39 +00:00
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-09-16 10:37:53 +00:00
2009-09-24 10:46:21 +00:00
<record id= "view_stock_delivery_filter" model= "ir.ui.view" >
<field name= "name" > stock.view_stock_delivery_filter.list.select</field>
<field name= "model" > stock.picking</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Stock Delivery" >
2009-12-12 13:43:06 +00:00
<group col= "10" colspan= "4" >
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "available" string= "Available" domain= "[('state','=','assigned')]" help= "Assigned Orders" />
2010-02-17 16:23:42 +00:00
<filter icon= "terp-stock" string= "Confirmed" domain= "[('state','=','confirmed')]" help= "Confirmed Orders" />
<separator orientation= "vertical" />
<filter icon= "terp-stock" string= "Back Order" domain= "[('backorder_id','!=',False)]" help= "Back Order" />
2009-09-24 10:46:21 +00:00
<separator orientation= "vertical" />
2010-04-29 08:08:26 +00:00
<field name= "name" />
<field name= "address_id" />
<field name= "origin" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-02-17 16:23:42 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "10" >
2010-02-16 09:54:45 +00:00
<filter string= "Partner" icon= "terp-stock" domain= "[]" context= "{'group_by':'address_id'}" />
<filter string= "State" icon= "terp-stock" domain= "[]" context= "{'group_by':'state'}" />
2010-02-17 15:16:52 +00:00
<filter string= "Order Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
</group>
</search>
2009-09-24 10:46:21 +00:00
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_picking_tree_delivery" model= "ir.actions.act_window" >
<field name= "name" > Delivery Orders</field>
<field name= "res_model" > stock.picking</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
2008-09-09 13:57:16 +00:00
<field name= "view_mode" > tree,form,calendar</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('type','=','delivery')]</field>
2010-04-15 12:45:21 +00:00
<field name= "context" > {'contact_display': 'partner',"search_default_available":1}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_stock_delivery_filter" />
2008-07-01 15:58:58 +00:00
</record>
<record id= "action_picking_tree_delivery_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "view_picking_delivery_tree" />
<field name= "act_window_id" ref= "action_picking_tree_delivery" />
</record>
<record id= "action_picking_tree_delivery_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "view_picking_delivery_form" />
<field name= "act_window_id" ref= "action_picking_tree_delivery" />
</record>
2008-09-20 19:06:25 +00:00
<record id= "action_picking_tree_delivery_view2_calendar" model= "ir.actions.act_window.view" >
<field eval= "3" name= "sequence" />
<field name= "view_mode" > calendar</field>
<field name= "act_window_id" ref= "action_picking_tree_delivery" />
</record>
2010-01-11 07:07:34 +00:00
<menuitem action= "action_picking_tree_delivery" groups= "base.group_extended" id= "menu_action_picking_tree_delivery" parent= "menu_stock_warehouse_mgmt" sequence= "20" />
2008-09-16 10:37:53 +00:00
2008-06-29 08:26:07 +00:00
#
# Sending Products
#
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_picking_out_tree" model= "ir.ui.view" >
<field name= "name" > stock.picking.out.tree</field>
<field name= "model" > stock.picking</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date" string= "Picking list" >
2008-09-08 06:53:31 +00:00
<field name= "name" />
2008-09-16 10:37:53 +00:00
<field name= "address_id" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" />
2010-02-24 17:12:18 +00:00
<field name= "origin" />
2008-09-16 10:37:53 +00:00
<field name= "date" />
<field name= "min_date" />
2008-09-23 21:19:02 +00:00
<field name= "invoice_state" />
2008-09-08 06:53:31 +00:00
<field name= "state" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Validate" type= "action" icon= "gtk-go-forward" help= "Validate Picking" />
2010-02-24 17:12:18 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" help= "Cancel" confirm= "This operation will cancel the picking. Do you want to continue?" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_picking_out_form" model= "ir.ui.view" >
<field name= "name" > stock.picking.out.form</field>
<field name= "model" > stock.picking</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-11-25 09:31:44 +00:00
<form string= "Picking list" >
2008-09-16 10:37:53 +00:00
<group col= "6" colspan= "4" >
2010-04-16 09:16:25 +00:00
<field name= "address_id" />
<field name= "min_date" />
2010-04-29 08:08:26 +00:00
<field name= "name" readonly= "1" />
2008-10-24 13:02:17 +00:00
<field name= "invoice_state" />
2010-04-16 09:16:25 +00:00
<field name= "backorder_id" readonly= "1" />
<field name= "origin" readonly= "1" />
2010-04-29 08:08:26 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-03-16 18:02:06 +00:00
</group>
2008-08-25 22:20:48 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General Information" >
2008-09-07 23:24:39 +00:00
<field colspan= "4" name= "move_lines" nolabel= "1" widget= "one2many_list" default_get= "{'move_line':move_lines, 'address_out_id': address_id}" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Stock Moves" >
2010-02-23 05:34:00 +00:00
<field name= "name" string= "Move Name" />
<field name= "product_id" />
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" string= "UOM" />
2010-04-29 08:08:26 +00:00
<field name= "picking_id" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" groups= "base.group_extended" />
2010-02-23 05:34:00 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-03-10 09:42:47 +00:00
<field name= "state" />
2010-02-23 05:34:00 +00:00
<button
2010-03-16 18:02:06 +00:00
name="%(stock.track_line)d"
string="Split in production lots"
type="action" icon="gtk-justify-fill"
states="draft,waiting,confirmed,assigned" />
<button
name="%(stock.move_scrap)d"
2010-05-04 11:14:19 +00:00
string="Scrap Products" type="action"
2010-03-16 18:02:06 +00:00
icon="gtk-convert"
states="draft,waiting,confirmed,assigned" />
2010-02-23 05:34:00 +00:00
</tree>
2008-07-01 15:58:58 +00:00
<form string= "Stock Moves" >
2010-03-16 18:02:06 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<separator colspan= "4" string= "Move Information" />
2010-04-29 08:08:26 +00:00
<field name= "location_id" domain= "[('usage','=','internal')]" />
<field name= "location_dest_id" domain= "[('usage','<>','view')]" />
2010-05-20 06:17:27 +00:00
<field colspan= "4" context= "location=location_id" name= "product_id" on_change= "onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)" />
2010-04-29 08:08:26 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" />
2010-03-16 18:02:06 +00:00
<field groups= "product.group_uos" name= "product_uos" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field groups= "product.group_uos" name= "product_uos_qty" />
2010-04-29 08:08:26 +00:00
<field colspan= "4" invisible= "1" name= "name" />
2010-03-16 18:02:06 +00:00
<field invisible= "1" name= "date" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" string= "Date Expected" />
2010-05-12 07:15:26 +00:00
<field groups= "base.group_extended" name= "product_packaging" domain= "[('product_id','=',product_id)]" />
2010-04-29 08:08:26 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-03-16 18:02:06 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
2010-04-29 08:08:26 +00:00
<field groups= "base.group_extended" name= "tracking_id" />
2010-03-16 18:02:06 +00:00
<label />
<button name= "%(track_line)d" string= "Split in production lots" type= "action" icon= "gtk-justify-fill" />
<separator colspan= "4" string= "Move State" />
2010-04-29 08:08:26 +00:00
<field name= "state" />
2010-05-11 11:15:34 +00:00
<group colspan= "2" >
2010-03-16 18:02:06 +00:00
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
<button name= "cancel_assign" states= "assigned" string= "Cancel Availability" type= "object" icon= "gtk-no" />
<button name= "action_cancel" states= "assigned" string= "Cancel" type= "object" icon= "gtk-cancel" />
</group>
</page>
<page string= "Return Picking History" >
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
</form>
2008-06-29 08:26:07 +00:00
</field>
2008-09-17 11:54:26 +00:00
<group col= "10" colspan= "4" >
2008-07-01 15:58:58 +00:00
<field name= "state" readonly= "1" />
2009-09-24 10:46:21 +00:00
<button name= "draft_force_assign" states= "draft" string= "Process Later" type= "object" icon= "gtk-ok" />
<button name= "draft_validate" states= "draft" string= "Process Now" type= "object" icon= "gtk-yes" />
<button name= "action_assign" states= "confirmed" string= "Check Availability" type= "object" groups= "base.group_extended" icon= "gtk-apply" />
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "gtk-jump-to" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Picking Done" type= "action" icon= "gtk-execute" />
2009-09-24 10:46:21 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "note" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
2009-12-22 08:27:58 +00:00
<page string= "Other info" groups= "base.group_extended" >
2010-04-16 09:16:25 +00:00
<field name= "active" />
2008-07-01 15:58:58 +00:00
<field name= "auto_picking" />
2008-06-29 08:26:07 +00:00
<newline />
2010-04-16 09:16:25 +00:00
<field name= "date" />
<field name= "date_done" />
2008-09-24 09:18:06 +00:00
<field name= "move_type" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2009-12-23 11:43:11 +00:00
2010-03-16 18:02:06 +00:00
<record id= "view_picking_out_search" model= "ir.ui.view" >
2009-12-12 13:43:06 +00:00
<field name= "name" > stock.picking.out.search</field>
<field name= "model" > stock.picking</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Picking list" >
2010-03-16 18:02:06 +00:00
<group col= "8" colspan= "4" >
2009-12-12 13:43:06 +00:00
<filter icon= "terp-stock" string= "Available" domain= "[('state','=','assigned')]" help= "Assigned Outgoing Orders" />
<filter icon= "terp-stock" string= "Confirmed" domain= "[('state','=','confirmed')]" help= "Confirmed Outgoing Orders" />
<separator orientation= "vertical" />
2010-05-13 05:46:45 +00:00
2010-05-13 09:04:47 +00:00
<field name= "name" />
<field name= "address_id" />
<!-- <field name="company_id" widget="selection"/> -->
2010-05-13 05:46:45 +00:00
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-03-11 14:24:49 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-02-16 09:54:45 +00:00
<filter string= "Partner" icon= "terp-stock" domain= "[]" context= "{'group_by':'address_id'}" />
<filter string= "State" icon= "terp-stock" domain= "[]" context= "{'group_by':'state'}" />
2010-05-10 05:46:20 +00:00
<filter string= "Order Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
<filter string= "Expected Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'min_date'}" />
2010-03-16 18:02:06 +00:00
</group>
2009-12-12 13:43:06 +00:00
</search>
</field>
</record>
2009-12-23 11:43:11 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_picking_tree" model= "ir.actions.act_window" >
2008-10-29 16:48:02 +00:00
<field name= "name" > Outgoing Products</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > stock.picking</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
2008-09-09 13:57:16 +00:00
<field name= "view_mode" > tree,form,calendar</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('type','=','out')]</field>
<field name= "context" > {'contact_display': 'partner'}</field>
2009-12-12 13:43:06 +00:00
<field name= "search_view_id" ref= "view_picking_out_search" />
2008-07-01 15:58:58 +00:00
</record>
<record id= "action_picking_tree_out_view1_waiting" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "view_picking_out_tree" />
<field name= "act_window_id" ref= "action_picking_tree" />
</record>
<record id= "action_picking_tree_out_view2_waiting" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "view_picking_out_form" />
<field name= "act_window_id" ref= "action_picking_tree" />
</record>
2008-09-20 19:06:25 +00:00
<record id= "action_picking_tree_out_view2_waiting_cal" model= "ir.actions.act_window.view" >
<field eval= "3" name= "sequence" />
<field name= "view_mode" > calendar</field>
<field name= "act_window_id" ref= "action_picking_tree" />
</record>
2010-03-26 09:25:02 +00:00
<menuitem action= "action_picking_tree" id= "menu_action_picking_tree" parent= "menu_stock_warehouse_mgmt" sequence= "5" />
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_picking_in_tree" model= "ir.ui.view" >
<field name= "name" > stock.picking.in.tree</field>
<field name= "model" > stock.picking</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "blue:state in ('draft');grey:state in ('done');red:state not in ('cancel', 'done') and date < current_date" string= "Picking list" >
2008-09-23 20:56:51 +00:00
<field name= "name" />
2008-09-23 21:19:02 +00:00
<field name= "address_id" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" />
2010-02-17 15:16:52 +00:00
<field name= "origin" />
2008-09-16 10:37:53 +00:00
<field name= "date" />
<field name= "min_date" />
2010-05-10 05:46:20 +00:00
<field name= "invoice_state" groups= "base.group_extended" />
2008-09-16 10:37:53 +00:00
<field name= "state" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Validate" type= "action" icon= "gtk-ok" help= "Receive products" />
2010-02-24 17:12:18 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" help= "Cancel" confirm= "This operation will cancel the shipment. Do you want to continue?" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_picking_in_form" model= "ir.ui.view" >
<field name= "name" > stock.picking.in.form</field>
<field name= "model" > stock.picking</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-11-25 09:31:44 +00:00
<form string= "Input Picking List" >
2008-09-08 06:53:31 +00:00
<group colspan= "4" col= "6" >
2010-05-13 05:46:45 +00:00
2010-05-13 09:04:47 +00:00
<field name= "name" readonly= "1" />
2010-05-10 05:46:20 +00:00
<field name= "address_id" on_change= "onchange_partner_in(address_id)" context= "{'contact_display':'partner'}" />
2010-04-16 09:16:25 +00:00
<field name= "origin" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" readonly= "1" groups= "base.group_extended" />
2010-02-17 15:16:52 +00:00
<field name= "date" />
2010-05-10 05:46:20 +00:00
<field name= "type" />
2010-04-16 09:16:25 +00:00
<field name= "min_date" readonly= "1" />
<field name= "invoice_state" string= "Invoice Control" />
2010-04-29 08:08:26 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-03-16 18:02:06 +00:00
</group>
2008-08-25 22:20:48 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General Information" >
2008-09-07 23:24:39 +00:00
<field colspan= "4" name= "move_lines" nolabel= "1" widget= "one2many_list" default_get= "{'move_line':move_lines, 'address_in_id': address_id}" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Stock Moves" >
2008-07-01 15:58:58 +00:00
<field name= "product_id" />
<field name= "product_qty" />
2010-05-10 05:46:20 +00:00
<field name= "product_uom" string= "Product Unit of Measure" />
2008-09-16 10:37:53 +00:00
<field name= "location_dest_id" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" groups= "base.group_extended" />
2008-09-16 10:37:53 +00:00
<field name= "state" />
2010-02-23 05:34:00 +00:00
<button
2010-03-16 18:02:06 +00:00
name="%(stock.track_line)d"
string="Split in production lots"
type="action" icon="gtk-justify-fill"
states="draft,waiting,confirmed,assigned" />
2010-03-23 06:04:00 +00:00
<button name= "%(stock.move_scrap)d"
2010-04-09 00:03:39 +00:00
string="Scrap Products" type="action"
icon="gtk-convert" context="{'scrap': True}"
states="draft,waiting,confirmed,assigned" />
2010-03-10 09:42:47 +00:00
</tree>
2008-07-01 15:58:58 +00:00
<form string= "Stock Moves" >
2010-03-16 18:02:06 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<separator colspan= "4" string= "Move Information" />
2010-04-29 08:08:26 +00:00
<field name= "location_id" domain= "[('usage','<>','view')]" />
<field domain= "[('usage','=','internal')]" name= "location_dest_id" />
2010-05-20 06:17:27 +00:00
<field colspan= "4" context= "location=location_id" name= "product_id" on_change= "onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)" />
2010-04-29 08:08:26 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field name= "product_uom" />
2010-03-16 18:02:06 +00:00
<field groups= "product.group_uos" name= "product_uos" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
<field groups= "product.group_uos" name= "product_uos_qty" />
2010-04-29 08:08:26 +00:00
<field colspan= "4" invisible= "1" name= "name" />
2010-03-16 18:02:06 +00:00
<field groups= "base.group_extended" name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" groups= "base.group_extended" string= "Date Expected" />
2010-03-16 18:02:06 +00:00
<newline />
<newline />
2010-05-12 07:15:26 +00:00
<field groups= "base.group_extended" name= "product_packaging" domain= "[('product_id','=',product_id)]" />
2010-03-16 18:02:06 +00:00
<newline />
2010-04-29 08:08:26 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-03-16 18:02:06 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
2010-04-29 08:08:26 +00:00
<field groups= "base.group_extended" name= "tracking_id" />
2010-03-16 18:02:06 +00:00
<newline />
<label />
<button groups= "base.group_extended" name= "%(track_line)d" string= "Split in production lots" type= "action" icon= "gtk-justify-fill" />
<separator colspan= "4" string= "Move State" />
2010-04-29 08:08:26 +00:00
<field name= "state" />
2010-05-11 11:15:34 +00:00
<group colspan= "2" >
2010-03-16 18:02:06 +00:00
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" icon= "" />
<button name= "cancel_assign" states= "assigned" string= "Cancel Availability" type= "object" icon= "" />
<button name= "action_cancel" states= "assigned" string= "Cancel" type= "object" icon= "" />
</group>
</page>
<page string= "Return Picking History" >
2010-02-23 16:05:50 +00:00
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
2008-06-29 08:26:07 +00:00
</form>
</field>
2008-07-01 15:58:58 +00:00
<group col= "7" colspan= "4" >
<label colspan= "5" />
2010-02-17 15:16:52 +00:00
<button name= "%(act_stock_picking_move_wizard)d" string= "Unreceived Products" type= "action" states= "draft" icon= "gtk-redo" />
2008-06-29 08:26:07 +00:00
</group>
2008-09-17 11:54:26 +00:00
<group col= "10" colspan= "4" >
2008-07-01 15:58:58 +00:00
<field name= "state" readonly= "1" />
2009-09-24 10:46:21 +00:00
<button name= "draft_force_assign" states= "draft" string= "Process Later" type= "object" icon= "gtk-ok" />
<button name= "draft_validate" states= "draft" string= "Process Now" type= "object" icon= "gtk-media-play" />
<button name= "action_assign" states= "confirmed" string= "Check Availability" type= "object" icon= "gtk-find" />
<button name= "force_assign" states= "confirmed" string= "Force Availability" type= "object" groups= "base.group_extended" icon= "gtk-jump-to" />
2010-03-26 09:25:02 +00:00
<button name= "%(action_partial_picking)d" states= "assigned" string= "Products Received" type= "action" icon= "gtk-ok" />
2009-09-24 10:46:21 +00:00
<button name= "button_cancel" states= "assigned,confirmed,draft" string= "Cancel" icon= "gtk-cancel" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "note" nolabel= "1" />
2010-04-09 00:32:46 +00:00
</page>
2008-06-29 08:26:07 +00:00
</notebook>
</form>
</field>
</record>
2009-12-23 11:43:11 +00:00
2010-02-17 15:16:52 +00:00
<record id= "view_picking_in_search" model= "ir.ui.view" >
2009-12-12 13:43:06 +00:00
<field name= "name" > stock.picking.in.search</field>
<field name= "model" > stock.picking</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Input Picking List" >
2010-02-17 15:16:52 +00:00
<group col= "8" colspan= "4" >
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "available" string= "Available" domain= "[('state','=','assigned')]" help= "Assigned Incoming Orders" />
2010-05-10 05:46:20 +00:00
<separator orientation= "vertical" />
<filter icon= "terp-stock" string= "Back Order" domain= "[('backorder_id', '!=', False)]" help= "Has Back Order" groups= "base.group_extended" />
2009-12-12 13:43:06 +00:00
<separator orientation= "vertical" />
2010-04-29 08:08:26 +00:00
<field name= "name" />
<field name= "address_id" />
2010-05-28 05:18:58 +00:00
<field name= "origin" />
2010-04-29 08:08:26 +00:00
<field name= "company_id" widget= "selection" groups= "base.group_multi_company" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-02-17 15:16:52 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-05-26 07:23:22 +00:00
<filter icon= "terp-stock" name= "state" string= "State" domain= "[]" context= "{'group_by':'state'}" />
2010-05-10 05:46:20 +00:00
<separator orientation= "vertical" />
2010-02-16 09:54:45 +00:00
<filter string= "Partner" icon= "terp-stock" domain= "[]" context= "{'group_by':'address_id'}" />
2010-05-10 05:46:20 +00:00
<separator orientation= "vertical" />
<filter string= "Order Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
<filter string= "Expected Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'min_date'}" />
2010-02-17 15:16:52 +00:00
</group>
2009-12-12 13:43:06 +00:00
</search>
</field>
</record>
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_picking_tree4" model= "ir.actions.act_window" >
2010-04-08 23:10:41 +00:00
<field name= "name" > Incoming Shipments</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > stock.picking</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
2008-09-09 13:57:16 +00:00
<field name= "view_mode" > tree,form,calendar</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('type','=','in')]</field>
2010-04-15 12:45:21 +00:00
<field name= "context" > {'contact_display': 'partner',"search_default_available":1}</field>
2009-12-12 13:43:06 +00:00
<field name= "search_view_id" ref= "view_picking_in_search" />
2008-07-01 15:58:58 +00:00
</record>
<record id= "action_invoice_tree5_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "view_picking_in_tree" />
<field name= "act_window_id" ref= "action_picking_tree4" />
</record>
<record id= "action_invoice_tree5_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "view_picking_in_form" />
<field name= "act_window_id" ref= "action_picking_tree4" />
</record>
2008-09-20 19:06:25 +00:00
<record id= "action_invoice_tree5_view2_cal" model= "ir.actions.act_window.view" >
<field eval= "3" name= "sequence" />
<field name= "view_mode" > calendar</field>
<field name= "act_window_id" ref= "action_picking_tree4" />
</record>
2010-01-11 07:07:34 +00:00
<menuitem action= "action_picking_tree4" id= "menu_action_picking_tree4" parent= "menu_stock_warehouse_mgmt" sequence= "1" />
2008-09-16 10:37:53 +00:00
2010-02-17 16:23:42 +00:00
<record id= "view_picking_internal_search" model= "ir.ui.view" >
2009-12-12 13:43:06 +00:00
<field name= "name" > stock.picking.internal.search</field>
<field name= "model" > stock.picking</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Internal Picking List" >
2010-02-17 16:23:42 +00:00
<group col= "8" colspan= "4" >
2009-12-12 13:43:06 +00:00
<filter icon= "terp-stock" string= "Available" domain= "[('state','=','assigned')]" help= "Assigned Internal Moves" />
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "confirmed" string= "Confirmed" domain= "[('state','=','confirmed')]" help= "Confirmed Internal Moves" />
2009-12-12 13:43:06 +00:00
<separator orientation= "vertical" />
2010-04-29 08:08:26 +00:00
<field name= "name" />
<field name= "origin" />
<field name= "company_id" widget= "selection" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-02-17 16:23:42 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-05-10 05:46:20 +00:00
<filter string= "State" icon= "terp-stock" domain= "[]" context= "{'group_by':'state'}" />
2010-02-16 09:54:45 +00:00
<filter string= "Partner" icon= "terp-stock" domain= "[]" context= "{'group_by':'address_id'}" />
2010-05-26 07:23:22 +00:00
<filter string= "Order Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
2010-05-10 05:46:20 +00:00
<filter string= "Expected Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'min_date'}" />
2010-02-23 16:05:50 +00:00
<filter string= "Origin" icon= "terp-stock" domain= "[]" context= "{'group_by':'origin'}" />
2010-02-17 16:23:42 +00:00
</group>
2009-12-12 13:43:06 +00:00
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_picking_tree6" model= "ir.actions.act_window" >
2008-10-29 16:48:02 +00:00
<field name= "name" > Internal Moves</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > stock.picking</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
2008-09-09 13:57:16 +00:00
<field name= "view_mode" > tree,form,calendar</field>
2008-07-01 15:58:58 +00:00
<field name= "domain" > [('type','=','internal')]</field>
2010-04-15 12:45:21 +00:00
<field name= "context" > {'contact_display': 'partner',"search_default_confirmed":1}</field>
2009-12-12 13:43:06 +00:00
<field name= "search_view_id" ref= "view_picking_internal_search" />
2008-07-01 15:58:58 +00:00
</record>
2010-05-10 05:46:20 +00:00
<menuitem action= "action_picking_tree6" id= "menu_action_picking_tree6" parent= "menu_stock_warehouse_mgmt" groups= "base.group_extended" sequence= "2" />
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_move_tree" model= "ir.ui.view" >
<field name= "name" > stock.move.tree</field>
<field name= "model" > stock.move</field>
<field name= "type" > tree</field>
<field eval= "6" name= "priority" />
<field name= "arch" type= "xml" >
2010-05-26 07:23:22 +00:00
<tree colors= "grey:state in ('cancel');red:(state not in ('cancel','done')) and date_planned > current_date" string= "Moves" >
<field name= "picking_id" select= "1" />
2008-09-16 10:37:53 +00:00
<field name= "product_id" />
2009-11-20 11:20:04 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
2010-05-26 07:23:22 +00:00
<field name= "product_uom" string= "Unit Of Measure" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" groups= "base.group_extended" />
2008-09-16 10:37:53 +00:00
<field name= "location_id" />
<field name= "location_dest_id" />
<field name= "date_planned" />
2010-05-26 07:23:22 +00:00
<field name= "date_expected" />
2010-03-10 09:42:47 +00:00
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-09-16 10:37:53 +00:00
2010-01-11 07:07:34 +00:00
<!-- <menuitem id="menu_traceability_low" name="Low Level" parent="menu_traceability"/> -->
2008-09-16 10:37:53 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_move_form" model= "ir.ui.view" >
<field name= "name" > stock.move.form</field>
<field name= "model" > stock.move</field>
<field name= "type" > form</field>
<field eval= "4" name= "priority" />
<field name= "arch" type= "xml" >
<form string= "Stock Moves" >
2010-02-23 16:05:50 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<group colspan= "2" col= "2" >
<separator colspan= "2" string= "Move Information" />
2010-04-16 09:16:25 +00:00
<field name= "name" />
2010-05-20 06:17:27 +00:00
<field name= "product_id" on_change= "onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" />
2010-04-16 09:16:25 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
2010-05-10 10:59:04 +00:00
<field name= "product_uom" string= "Unit Of Measure" widget= "selection" />
<field name= "product_uos" groups= "base.group_extended" />
2010-02-23 16:05:50 +00:00
</group>
<group colspan= "2" col= "2" >
<separator string= "Locations & Picking" colspan= "2" />
2010-05-13 09:04:47 +00:00
<field name= "location_id" widget= "selection" />
<field name= "location_dest_id" widget= "selection" />
2010-04-16 09:16:25 +00:00
<field name= "picking_id" />
<field name= "address_id" context= "{'contact_display':'partner'}" />
2010-04-29 08:08:26 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-02-23 16:05:50 +00:00
</group>
<group colspan= "2" col= "2" >
<separator string= "Dates & Priority" colspan= "2" />
<field name= "date" />
<field name= "date_planned" />
2010-05-28 05:18:58 +00:00
<field name= "date_expected" />
2010-02-23 16:05:50 +00:00
<field name= "priority" />
2010-03-10 09:42:47 +00:00
</group>
2010-02-23 16:05:50 +00:00
<group colspan= "2" col= "4" >
2010-03-18 09:15:27 +00:00
<separator string= "Traceability" colspan= "4" />
2010-04-29 08:08:26 +00:00
<field name= "tracking_id" colspan= "4" />
2010-04-16 09:16:25 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-02-23 16:05:50 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
<button name= "%(track_line)d" string= "Split in production lots" type= "action" icon= "gtk-justify-fill" colspan= "2" />
2010-03-10 09:42:47 +00:00
</group>
2010-02-23 16:05:50 +00:00
</page>
<page string= "Return Picking History" >
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
<group col= "6" colspan= "4" >
2010-04-29 08:08:26 +00:00
<field name= "state" />
2010-02-23 16:05:50 +00:00
<button name= "action_confirm" states= "draft" string= "Confirm" type= "object" icon= "gtk-apply" />
<button name= "action_assign" states= "confirmed" string= "Set Available" type= "object" icon= "gtk-yes" />
<button name= "action_cancel" states= "assigned,confirmed" string= "Cancel" type= "object" icon= "gtk-cancel" />
<button name= "action_done" states= "assigned" string= "Make Parcel" type= "object" icon= "gtk-jump-to" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-12-23 11:43:11 +00:00
2009-12-01 13:42:58 +00:00
<record id= "view_move_search" model= "ir.ui.view" >
<field name= "name" > stock.move.search</field>
<field name= "model" > stock.move</field>
2010-02-24 18:47:57 +00:00
<field name= "type" > search</field>
2010-05-26 07:23:22 +00:00
<field eval= "3" name= "priority" />
2009-12-01 13:42:58 +00:00
<field name= "arch" type= "xml" >
2010-02-23 16:05:50 +00:00
<search string= "Stock Moves" >
<group col= "8" colspan= "4" >
2010-05-26 07:23:22 +00:00
<filter icon= "terp-stock" string= "Done" name= "done" domain= "[('state','=','done')]" help= "Stock moves" />
<filter icon= "terp-stock" string= "Future" name= "future" domain= "[('state','in',('assigned','confirmed','waiting'))]" help= "Future stock moves" />
<filter icon= "terp-stock" string= "Ready" name= "ready" domain= "[('state','=','assigned')]" help= "Future stock moves that are ready" />
2010-02-23 16:05:50 +00:00
<separator orientation= "vertical" />
2010-05-10 10:59:04 +00:00
<field name= "product_id" />
2010-05-26 07:23:22 +00:00
<field name= "location_id" string= "Location" domain= "['|',('location_id','ilike',self),('location_dest_id','ilike',self)]" />
<field name= "address_id" string= "Partner" context= "{'contact_display':'partner'}" domain= "[('picking_id.address_id','ilike',self)]" />
<field name= "date_planned" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-02-23 16:05:50 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-05-26 07:23:22 +00:00
<filter string= "Product" name= "by_product" icon= "terp-stock" domain= "[]" context= "{'group_by':'product_id'}" />
<filter string= "Lot" name= "prodlot_id" icon= "terp-stock" domain= "[]" context= "{'group_by':'prodlot_id'}" />
<filter string= "Packing" name= "picking_id" icon= "terp-stock" domain= "[]" context= "{'group_by':'picking_id'}" />
<separator orientation= "vertical" />
<filter string= "Source" icon= "terp-stock" domain= "[]" context= "{'group_by':'location_id'}" />
<filter string= "Destination" icon= "terp-stock" domain= "[]" context= "{'group_by':'location_dest_id'}" />
<separator orientation= "vertical" />
<filter icon= "terp-stock" string= "State" domain= "[]" context= "{'group_by':'state'}" />
<separator orientation= "vertical" />
<filter string= "Creation" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
<filter string= "Expected" icon= "terp-stock" domain= "[]" context= "{'group_by':'date_planned'}" />
2010-02-23 16:05:50 +00:00
</group>
</search>
2009-12-01 13:42:58 +00:00
</field>
</record>
2009-12-23 11:43:11 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_move_form2" model= "ir.actions.act_window" >
2010-05-26 07:23:22 +00:00
<field name= "name" > Stock Moves</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > stock.move</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_move_tree" />
2009-12-01 13:42:58 +00:00
<field name= "search_view_id" ref= "view_move_search" />
2010-05-10 10:59:04 +00:00
<field name= "context" > {'search_default_Available':1}</field>
2008-06-29 08:26:07 +00:00
</record>
2010-01-11 07:07:34 +00:00
<menuitem action= "action_move_form2" id= "menu_action_move_form2" parent= "menu_traceability" sequence= "1" />
2008-09-16 10:37:53 +00:00
2010-03-16 18:02:06 +00:00
====================================
2009-12-12 06:50:20 +00:00
Reception Picking (By Stock Move)
====================================
2009-12-23 11:43:11 +00:00
2010-03-16 18:02:06 +00:00
<record id= "view_move_tree_reception_picking" model= "ir.ui.view" >
2009-12-12 06:50:20 +00:00
<field name= "name" > stock.move.tree2</field>
<field name= "model" > stock.move</field>
<field name= "type" > tree</field>
<field eval= "6" name= "priority" />
<field name= "arch" type= "xml" >
2010-05-19 20:54:46 +00:00
<tree colors= "grey:state in ('cancel')" string= "Moves" >
2009-12-23 11:43:11 +00:00
<field name= "picking_id" string= "Reference" />
2010-04-09 07:14:08 +00:00
<field name= "origin" string= "Latest Procurement" />
2009-12-15 11:45:11 +00:00
<field name= "partner_id" string= "Supplier" />
<field name= "product_id" />
<field name= "product_qty" />
2010-05-10 10:59:04 +00:00
<field name= "product_uom" string= "Uint Of Measure" />
2010-04-15 08:55:49 +00:00
<field name= "prodlot_id" string= "Lot" groups= "base.group_extended" />
2009-12-12 06:50:20 +00:00
<field name= "date_planned" />
2010-05-18 12:22:13 +00:00
<field name= "date_expected" />
2010-05-10 05:46:20 +00:00
<field name= "backorder_id" groups= "base.group_extended" />
2010-02-01 12:50:00 +00:00
<field name= "state" />
2010-03-26 14:52:01 +00:00
<button name= "%(action_partial_move)d" string= "Partial" type= "action" states= "assigned" icon= "gtk-justify-fill" />
2010-05-04 13:28:06 +00:00
<button name= "action_done" states= "assigned" string= "Done" type= "object" icon= "gtk-jump-to" />
2009-12-12 06:50:20 +00:00
<button name= "action_cancel" states= "assigned,confirmed" string= "Cancel" type= "object" icon= "gtk-cancel" />
</tree>
</field>
</record>
2009-12-23 11:43:11 +00:00
2010-03-16 18:02:06 +00:00
<record id= "view_move_form_reception_picking" model= "ir.ui.view" >
2009-12-12 06:50:20 +00:00
<field name= "name" > stock.move.form2</field>
<field name= "model" > stock.move</field>
<field name= "type" > form</field>
<field eval= "6" name= "priority" />
<field name= "arch" type= "xml" >
<form string= "Moves" >
2010-03-16 18:02:06 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
<separator colspan= "4" string= "Move Information" />
2010-05-28 05:18:58 +00:00
<field name= "location_id" widget= "selection" />
<field name= "location_dest_id" widget= "selection" />
2010-05-12 06:35:40 +00:00
<field colspan= "4" name= "product_id" on_change= "onchange_product_id(product_id, location_id, location_dest_id, parent.address_id)" />
2010-04-16 09:16:25 +00:00
<field name= "product_qty" on_change= "onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
2010-05-28 05:18:58 +00:00
<field name= "product_uom" widget= "selection" />
<field name= "product_uos" widget= "selection" groups= "base.group_extended" />
2010-04-16 09:16:25 +00:00
<field colspan= "4" name= "name" />
2010-03-16 18:02:06 +00:00
<field name= "date" />
2010-04-15 08:55:49 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-03-16 18:02:06 +00:00
<field name= "date_planned" />
2010-05-18 12:22:13 +00:00
<field name= "date_expected" />
2010-03-16 18:02:06 +00:00
<field name= "priority" />
2010-04-16 09:16:25 +00:00
<field name= "address_id" context= "{'contact_display':'partner'}" />
2010-03-16 18:02:06 +00:00
<newline />
2010-04-16 09:16:25 +00:00
<field name= "picking_id" />
2010-03-16 18:02:06 +00:00
<newline />
2010-04-16 09:16:25 +00:00
<field name= "prodlot_id" groups= "base.group_extended"
2010-03-16 18:02:06 +00:00
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id)"/>
2010-04-16 09:16:25 +00:00
<field name= "tracking_id" />
2010-03-16 18:02:06 +00:00
<newline />
<label />
<button name= "%(track_line)d" string= "Split in production lots" type= "action" icon= "gtk-justify-fill" />
<separator colspan= "4" string= "Move State" />
2010-04-15 08:55:49 +00:00
<field name= "state" />
2010-03-16 18:02:06 +00:00
<group col= "5" colspan= "2" >
<button name= "action_confirm" states= "draft" string= "Confirm" type= "object" icon= "gtk-apply" />
<button name= "action_assign" states= "confirmed" string= "Set Available" type= "object" icon= "gtk-yes" />
<button name= "action_cancel" states= "assigned,confirmed" string= "Cancel" type= "object" icon= "gtk-cancel" />
2010-03-26 14:52:01 +00:00
<button name= "%(action_partial_move)d" states= "assigned" string= "Partial" type= "action" icon= "gtk-justify-fill" />
2010-03-16 18:02:06 +00:00
<button name= "action_done" states= "assigned" string= "Done" type= "object" icon= "gtk-jump-to" />
</group>
</page>
<page string= "Return Picking History" >
<field name= "move_stock_return_history" nolabel= "1" />
</page>
</notebook>
2009-12-12 06:50:20 +00:00
</form>
</field>
</record>
2009-12-23 11:43:11 +00:00
2010-03-16 18:02:06 +00:00
<record id= "view_move_search_reception_picking" model= "ir.ui.view" >
2009-12-12 06:50:20 +00:00
<field name= "name" > stock.move.search2</field>
<field name= "model" > stock.move</field>
<field name= "type" > search</field>
<field eval= "6" name= "priority" />
<field name= "arch" type= "xml" >
2010-03-16 18:02:06 +00:00
<search string= "Stock Moves" >
<group col= "8" colspan= "4" >
2010-04-15 12:45:21 +00:00
<filter icon= "terp-stock" name= "receive" string= "To Receive" domain= "[('state','in',('confirmed','assigned'))]" help= "Stock to be received" />
2010-03-16 18:02:06 +00:00
<filter icon= "terp-stock" string= "Back Orders" domain= "[('backorder_id','!=',False)]" help= "Back Orders" />
<filter icon= "terp-stock" string= "Planned Today" domain= "[('date_planned::date','=',time.strftime('%%Y-%%m-%%d'))]" help= "Orders planned for today" />
<separator orientation= "vertical" />
2010-04-15 08:55:49 +00:00
<field name= "origin" string= "Latest Procurement" />
<field name= "partner_id" string= "Supplier" />
2010-03-16 18:02:06 +00:00
<field name= "product_id" />
2010-04-09 00:03:39 +00:00
</group>
<newline />
2010-05-04 13:28:06 +00:00
<group col= '8' colspan= '14' expand= "1" string= "Tracking Lots" >
2010-05-20 14:17:02 +00:00
<field name= "tracking_id" context= "{'tracking_lot': self}" />
2010-05-04 13:28:06 +00:00
</group>
<newline />
2010-03-11 14:24:49 +00:00
<group expand= "1" string= "Group By..." colspan= "4" col= "8" >
2010-03-16 18:02:06 +00:00
<filter string= "Product" icon= "terp-stock" domain= "[]" context= "{'group_by':'product_id'}" />
<filter string= "State" icon= "terp-stock" domain= "[]" context= "{'group_by':'state'}" />
2010-05-28 05:18:58 +00:00
<separator orientation= "vertical" />
<filter string= "Order Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date'}" />
<filter string= "Expected Date" icon= "terp-stock" domain= "[]" context= "{'group_by':'date_expected'}" />
2010-03-16 18:02:06 +00:00
</group>
</search>
2009-12-12 06:50:20 +00:00
</field>
2010-02-01 12:50:00 +00:00
</record>
2009-12-12 06:50:20 +00:00
2010-03-16 18:02:06 +00:00
<record id= "action_reception_picking_move" model= "ir.actions.act_window" >
2010-02-05 13:05:07 +00:00
<field name= "name" > Incoming Products</field>
2009-12-12 06:50:20 +00:00
<field name= "res_model" > stock.move</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-01-17 07:39:14 +00:00
<field name= "domain" > [('picking_id','!=',False),('picking_id.type','=','in')]</field>
2009-12-12 06:50:20 +00:00
<field name= "view_id" ref= "view_move_tree_reception_picking" />
2010-04-15 12:45:21 +00:00
<field name= "context" > {"search_default_receive":1}</field>
2009-12-12 06:50:20 +00:00
<field name= "search_view_id" ref= "view_move_search_reception_picking" />
</record>
2010-01-17 07:39:14 +00:00
<record model= "ir.actions.act_window.view" id= "action_move_reception_picking_tree" >
2010-03-16 18:02:06 +00:00
<field name= "sequence" eval= "1" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "view_move_tree_reception_picking" />
<field name= "act_window_id" ref= "action_reception_picking_move" />
</record>
2010-01-17 07:39:14 +00:00
<record model= "ir.actions.act_window.view" id= "action_move_reception_picking_form" >
2010-03-16 18:02:06 +00:00
<field name= "sequence" eval= "2" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "view_move_form_reception_picking" />
<field name= "act_window_id" ref= "action_reception_picking_move" />
</record>
2010-02-05 13:05:07 +00:00
<!-- <menuitem action="action_reception_picking_move" id="menu_action_reception_picking_move" parent="menu_stock_warehouse_mgmt" sequence="4"/> -->
2009-12-23 11:43:11 +00:00
2008-09-16 10:37:53 +00:00
2008-06-29 08:26:07 +00:00
# -------------------------------------------------------------
# Stock incoterms
# -------------------------------------------------------------
2008-07-01 15:58:58 +00:00
<record id= "view_incoterms_tree" model= "ir.ui.view" >
<field name= "name" > stock.incoterms.tree</field>
<field name= "model" > stock.incoterms</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Incoterms" >
<field name= "code" />
2010-04-15 08:55:49 +00:00
<field colspan= "4" name= "name" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "stock_incoterms_form" model= "ir.ui.view" >
<field name= "name" > stock.incoterms.form</field>
<field name= "model" > stock.incoterms</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Incoterms" >
<field colspan= "4" name= "name" select= "1" />
<field name= "code" select= "1" />
<field name= "active" select= "1" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_incoterms_tree" model= "ir.actions.act_window" >
<field name= "name" > Incoterms</field>
<field name= "res_model" > stock.incoterms</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2008-06-29 08:26:07 +00:00
</record>
2010-01-11 07:07:34 +00:00
<!-- <menuitem action="action_incoterms_tree" id="menu_action_incoterms_tree" parent="menu_stock_configuration"/> -->
2008-10-24 13:02:17 +00:00
<act_window
context="{'location': active_id}"
domain="[('type','< > ','service')]"
id="act_product_location_open"
name="Products"
res_model="product.product"
src_model="stock.location"/>
<act_window
2010-05-26 07:23:22 +00:00
context="{'location': active_id, 'search_default_done': 1}"
2008-10-24 13:02:17 +00:00
domain="[('product_id','=',active_id)]"
id="act_product_stock_move_open"
2010-05-26 07:23:22 +00:00
name="Stock Moves"
2009-11-23 13:47:57 +00:00
res_model="stock.move"
2008-10-24 13:02:17 +00:00
src_model="product.product"/>
2008-11-29 17:01:58 +00:00
<act_window
domain="[('move_lines','in',[active_id])]"
id="act_relate_picking"
name="Related Picking"
2009-11-23 13:47:57 +00:00
res_model="stock.picking"
2008-11-29 17:01:58 +00:00
src_model="stock.move"/>
2008-10-24 13:02:17 +00:00
<act_window
2010-05-26 07:23:22 +00:00
context="{'location': active_id, 'search_default_future': 1}"
2008-10-24 13:02:17 +00:00
domain="[('product_id','=',active_id),('state','in',('waiting','confirmed','assigned'))]"
id="act_product_stock_move_futur_open"
2009-01-21 12:38:28 +00:00
name="Future Stock Moves"
2009-11-23 13:47:57 +00:00
res_model="stock.move"
2010-05-05 14:14:09 +00:00
src_model="product.product"
groups="base.group_extended"/>
2008-10-24 13:02:17 +00:00
<record id= "ir_act_product_location_open" model= "ir.values" >
2008-07-01 15:58:58 +00:00
<field name= "key2" > tree_but_open</field>
<field name= "model" > stock.location</field>
<field name= "name" > Products</field>
<field eval= "'ir.actions.act_window,%d'%act_product_location_open" name= "value" />
<field eval= "True" name= "object" />
2008-10-24 13:02:17 +00:00
</record>
2008-09-20 11:13:31 +00:00
2008-10-24 13:02:17 +00:00
<record id= "ir_act_product_location_open" model= "ir.values" >
2008-09-20 11:13:31 +00:00
<field name= "key2" > tree_but_open</field>
<field name= "model" > stock.location</field>
<field name= "name" > Open Products</field>
2010-03-11 14:24:49 +00:00
<field eval= "'ir.actions.act_window,%d'%action_view_stock_location_product" name= "value" />
2008-10-24 13:02:17 +00:00
<field eval= "True" name= "object" />
</record>
2010-03-16 18:02:06 +00:00
<!-- Graph Views -->
<!-- Products To Received Vs Planned -->
<record model= "ir.ui.view" id= "view_move_graph_reception_picking_tree" >
<field name= "name" > Products To Received</field>
<field name= "model" > report.products.to.received.planned</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Products To Received" >
<field name= "qty" />
<field name= "planned_qty" />
<field name= "date" />
</tree>
</field>
</record>
<record model= "ir.ui.view" id= "view_move_graph_reception_picking" >
<field name= "name" > Products To Received</field>
<field name= "model" > report.products.to.received.planned</field>
<field name= "type" > graph</field>
<field name= "arch" type= "xml" >
<graph string= "Products To Received" type= "bar" orientation= "vertical" >
<field name= "date" />
<field name= "qty" operator= "+" />
<field name= "planned_qty" operator= "+" />
</graph>
</field>
</record>
<record id= "action_move_graph_reception_picking" model= "ir.actions.act_window" >
<field name= "name" > Number of Products to receive Vs planned</field>
<field name= "res_model" > report.products.to.received.planned</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > graph,tree</field>
<field name= "view_id" ref= "view_move_graph_reception_picking" />
</record>
<!-- Delivery Product Vs Planned -->
<record model= "ir.ui.view" id= "view_move_delivery_products_planned_tree" >
<field name= "name" > Delivery Products</field>
<field name= "model" > report.delivery.products.planned</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Products To Received" >
<field name= "qty" />
<field name= "planned_qty" />
<field name= "date" />
</tree>
</field>
</record>
<record model= "ir.ui.view" id= "view_move_delivery_products_planned_graph" >
<field name= "name" > Delivery Products</field>
<field name= "model" > report.delivery.products.planned</field>
<field name= "type" > graph</field>
<field name= "arch" type= "xml" >
<graph string= "Products To Received" type= "bar" orientation= "vertical" >
<field name= "date" />
<field name= "qty" operator= "+" />
<field name= "planned_qty" operator= "+" />
</graph>
</field>
</record>
<record id= "action_move_delivery_products_planned" model= "ir.actions.act_window" >
<field name= "name" > Delivery Products Vs Planned</field>
<field name= "res_model" > report.delivery.products.planned</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > graph,tree</field>
<field name= "view_id" ref= "view_move_delivery_products_planned_graph" />
</record>
2010-04-08 23:10:41 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>