2006-12-07 13:41:40 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<terp>
|
|
|
|
<data>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem name="Stock Management" id="menu_stock_root" icon="terp-stock"/>
|
|
|
|
<menuitem name="Configuration" groups="base.group_admin"
|
|
|
|
sequence="1" id="menu_stock_configuration"
|
|
|
|
parent="menu_stock_root"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
=============================
|
|
|
|
Inventory Line
|
|
|
|
=============================
|
|
|
|
<record model="ir.ui.view" id="stock_inventory_line_tree">
|
|
|
|
<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="location_id"/>
|
|
|
|
<field name="product_id"/>
|
|
|
|
<field name="product_qty"/>
|
|
|
|
<field name="product_uom"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_inventory_line_form">
|
|
|
|
<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">
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="location_id" colspan="4" select="1" domain="[('usage','=','internal')]"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="product_id" select="1" on_change="on_change_product_id(location_id,product_id,product_uom)" context="location=location_id,uom=product_uom"/>
|
|
|
|
<field name="product_uom"/>
|
|
|
|
<field name="product_qty"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-05-07 10:01:08 +00:00
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
=============================
|
|
|
|
Inventory
|
|
|
|
=============================
|
|
|
|
<record model="ir.ui.view" id="view_inventory_tree">
|
|
|
|
<field name="name">stock.inventory.tree</field>
|
|
|
|
<field name="model">stock.inventory</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Lot Inventory">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_inventory_form">
|
|
|
|
<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">
|
|
|
|
<notebook>
|
|
|
|
<page string="General Informations">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field nolabel="1" name="inventory_line_id" widget="one2many_list" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<button name="action_done" states="draft" string="Confirm Inventory" type="object"/>
|
|
|
|
<button name="action_cancel" states="done" string="Cancel Inventory" type="object"/>
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
<page string="Posted Inventory">
|
|
|
|
<field name="move_ids" colspan="4" nolabel="1"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_inventory_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Physical Inventory</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.inventory</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_inventory_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem parent="menu_stock_root" id="menu_action_inventory_form" action="action_inventory_form"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
2007-02-05 13:16:57 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_inventory_line_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Inventory Lines</field>
|
2007-02-05 13:16:57 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.inventory.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="view_id" ref="stock_inventory_line_tree"/>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem parent="menu_action_inventory_form"
|
|
|
|
id="menu_action_inventory_line_form"
|
2008-06-16 19:28:46 +00:00
|
|
|
groups="base.group_extended"
|
2008-06-14 07:54:35 +00:00
|
|
|
action="action_inventory_line_form"/>
|
2007-02-05 13:16:57 +00:00
|
|
|
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
=============================
|
|
|
|
Lot
|
|
|
|
=============================
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_tracking_form">
|
|
|
|
<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"/>
|
|
|
|
<field name="active" select="1"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2007-05-30 11:24:57 +00:00
|
|
|
<record model="ir.ui.view" id="view_tracking_tree">
|
|
|
|
<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"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_tracking_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Tracking Lots</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.tracking</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_tracking_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem name="Traceability" sequence="2" parent="menu_stock_root" id="menu_traceability"/>
|
|
|
|
<menuitem parent="menu_traceability"
|
|
|
|
id="menu_action_tracking_form"
|
|
|
|
action="action_tracking_form"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="lot_line_tree">
|
|
|
|
<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">
|
|
|
|
<tree string="Tracking Number" color="grey:not active">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="serial" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_production_lot_revision_form">
|
|
|
|
<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 name="name" colspan="4" />
|
|
|
|
<field name="indice" colspan="2" />
|
|
|
|
<field name="date" colspan="2" />
|
|
|
|
<newline/>
|
|
|
|
<field name="author_id" readonly="1" />
|
|
|
|
<newline/>
|
|
|
|
<field name="description" />
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_production_lot_revision_tree">
|
|
|
|
<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"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_production_lot_form">
|
|
|
|
<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">
|
|
|
|
<field name="name" select="1"/>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="ref" select="1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="date" select="1"/>
|
2007-06-26 13:06:56 +00:00
|
|
|
<separator string="Revisions" colspan="4"/>
|
|
|
|
<field name="revisions" colspan="4" widget="one2many_list" nolabel="1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2007-05-30 11:24:57 +00:00
|
|
|
<record model="ir.ui.view" id="view_production_lot_tree">
|
|
|
|
<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">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="ref"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="revisions"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_production_lot_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Production Lots</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.production.lot</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_production_lot_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem parent="menu_traceability"
|
|
|
|
id="menu_action_production_lot_form"
|
|
|
|
action="action_production_lot_form"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Lot composition (history)
|
2008-05-07 10:01:08 +00:00
|
|
|
#
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.ui.view" id="stock_move_tree">
|
|
|
|
<field name="name">stock.move.tree2</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="field_parent">move_history_ids</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Moves" color="grey:state=='cancel'">
|
|
|
|
<field name="product_id" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uom" select="1" string="UOM"/>
|
|
|
|
<field name="product_packaging" />
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="date_planned" select="1"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="stock_move_tree2">
|
|
|
|
<field name="name">stock.move.tree2</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="field_parent">move_history_ids2</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Moves" color="grey:state=='cancel'">
|
|
|
|
<field name="product_id" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uom" select="1" string="UOM"/>
|
|
|
|
<field name="product_packaging" />
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="date_planned" select="1"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<wizard string="Downstream traceability" model="stock.production.lot" name="stock.traceability.lot.amont" id="action_lot2"/>
|
|
|
|
<wizard string="Upstream traceability" model="stock.production.lot" name="stock.traceability.lot.aval" id="action_lot4"/>
|
|
|
|
|
|
|
|
<wizard string="Upstream traceability" model="stock.tracking" name="stock.traceability.amont" id="action2"/>
|
|
|
|
<wizard string="Downstream traceability" model="stock.tracking" name="stock.traceability.aval" id="action4"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action3">
|
|
|
|
<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>
|
|
|
|
<field name="view_id" eval="stock_move_tree"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.values" id="ir_move_traceability_upstream">
|
|
|
|
<field name="key2" eval="'tree_but_action'"/>
|
|
|
|
<field name="model" eval="'stock.move'"/>
|
|
|
|
<field name="name">Downstream traceability</field>
|
|
|
|
<field name="value" eval="'ir.actions.act_window,'+str(action3)"/>
|
|
|
|
<field name="object" eval="True"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Composed lots
|
|
|
|
#
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action5">
|
|
|
|
<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>
|
|
|
|
<field name="view_id" eval="stock_move_tree2"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.values" id="ir_move_traceability_downstream">
|
|
|
|
<field name="key2" eval="'tree_but_action'"/>
|
|
|
|
<field name="model" eval="'stock.move'"/>
|
|
|
|
<field name="name">Upstream traceability</field>
|
|
|
|
<field name="value" eval="'ir.actions.act_window,'+str(action5)"/>
|
|
|
|
<field name="object" eval="True"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=============================
|
|
|
|
Location
|
|
|
|
=============================
|
|
|
|
<record model="ir.ui.view" id="view_location_form">
|
|
|
|
<field name="name">stock.location.form</field>
|
|
|
|
<field name="model">stock.location</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-08-03 14:03:02 +00:00
|
|
|
<form string="Stock location">
|
2006-12-07 13:41:40 +00:00
|
|
|
<notebook>
|
|
|
|
<page string="General Informations">
|
|
|
|
<field name="name" select="1"/>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="active" select="2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="usage" select="1"/>
|
|
|
|
<field name="account_id" select="1"/>
|
|
|
|
<field name="location_id"/>
|
2008-06-03 06:50:06 +00:00
|
|
|
<field name="address_id"/>
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="chained_location_type"/>
|
|
|
|
<field name="chained_location_id"/>
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="chained_auto_packing"/>
|
2008-06-15 14:59:23 +00:00
|
|
|
<field name="chained_delay"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<newline/>
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="comment" colspan="4"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</page>
|
|
|
|
<page string="Localisation">
|
|
|
|
<field name="posx"/>
|
|
|
|
<field name="posy"/>
|
|
|
|
<field name="posz"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2007-05-30 11:24:57 +00:00
|
|
|
<record model="ir.ui.view" id="view_location_tree2">
|
|
|
|
<field name="name">stock.location.tree</field>
|
|
|
|
<field name="model">stock.location</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-08-02 09:37:45 +00:00
|
|
|
<tree string="Stock location">
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="usage"/>
|
|
|
|
<field name="account_id"/>
|
|
|
|
<field name="active"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_location_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Locations</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.location</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_location_tree2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_configuration"
|
|
|
|
id="menu_action_location_form"
|
|
|
|
action="action_location_form"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_location_tree">
|
|
|
|
<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-02-05 21:14:45 +00:00
|
|
|
<tree string="Stock location tree" color="grey:usage in ('procurement','inventory','production')">
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="name"/>
|
2008-02-05 21:14:45 +00:00
|
|
|
<field name="usage" visible="0"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_location_tree">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Locations Structure</field>
|
2006-12-07 13:41:40 +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"/>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_root"
|
|
|
|
id="menu_action_location_tree"
|
|
|
|
action="action_location_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
=============================
|
|
|
|
Warehouse
|
|
|
|
=============================
|
|
|
|
<record model="ir.ui.view" id="view_warehouse">
|
|
|
|
<field name="name">stock.warehouse</field>
|
|
|
|
<field name="model">stock.warehouse</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-05-30 11:24:57 +00:00
|
|
|
<form string="Warehouse">
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
|
|
|
<field name="lot_input_id"/>
|
|
|
|
<field name="lot_stock_id"/>
|
|
|
|
<field name="lot_output_id"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="partner_address_id"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2007-05-30 11:24:57 +00:00
|
|
|
<record model="ir.ui.view" id="view_warehouse_tree">
|
|
|
|
<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"/>
|
|
|
|
<field name="partner_address_id"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_warehouse_form">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Warehouses</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.warehouse</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_warehouse_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_configuration"
|
|
|
|
id="menu_action_warehouse_form"
|
|
|
|
action="action_warehouse_form"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
=============================
|
2007-06-27 13:59:46 +00:00
|
|
|
Packing
|
2006-12-07 13:41:40 +00:00
|
|
|
=============================
|
|
|
|
<record model="ir.ui.view" id="vpicktree">
|
|
|
|
<field name="name">stock.picking.tree</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-06-27 13:59:46 +00:00
|
|
|
<tree string="Packing list" color="red:state=='cancel'">
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="address_id" select="1"/>
|
|
|
|
<field name="invoice_state" readonly="1"/>
|
2007-10-18 06:45:27 +00:00
|
|
|
<field name="origin" select="1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_picking_form">
|
|
|
|
<field name="name">stock.picking.form</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-06-27 13:59:46 +00:00
|
|
|
<form string="Packing list">
|
2006-12-07 13:41:40 +00:00
|
|
|
<notebook>
|
|
|
|
<page string="General Information">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<newline/>
|
2007-06-27 13:59:46 +00:00
|
|
|
<field name="type" select="2"/>
|
|
|
|
<field name="invoice_state" select="2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<newline/>
|
2007-01-14 22:01:04 +00:00
|
|
|
<field name="location_id"/>
|
|
|
|
<field name="location_dest_id"/>
|
2007-06-27 13:59:46 +00:00
|
|
|
<field name="address_id" select="2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="move_lines" widget="one2many_list" colspan="4" nolabel="1">
|
|
|
|
<form string="Stock Moves">
|
|
|
|
<separator string="Move Information" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" select="1" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" context="location=parent.location_id"/>
|
|
|
|
<field name="product_uom" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="product_uos" groups="product.group_uos"/>
|
|
|
|
<field name="product_uos_qty" groups="product.group_uos"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="date_planned"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
2008-05-07 10:01:08 +00:00
|
|
|
<field name="address_id" select="1" />
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="product_packaging"/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id" />
|
|
|
|
<field name="tracking_id" select="1" />
|
|
|
|
<newline/>
|
|
|
|
<label/>
|
|
|
|
<button type="action" name="%(track_line)d" string="Split in production lots" />
|
|
|
|
|
|
|
|
<separator string="Move State" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
2006-12-18 14:10:01 +00:00
|
|
|
<group>
|
|
|
|
<button name="force_assign" string="Force assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel assignation" states="assigned" type="object"/>
|
|
|
|
</group>
|
2006-12-07 13:41:40 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group colspan="4" col="7">
|
|
|
|
<label colspan="6"/>
|
|
|
|
<button type="action" name="%(move_split)d" string="Split move lines in two"/>
|
|
|
|
</group>
|
2006-12-18 14:10:01 +00:00
|
|
|
<group colspan="4" col="8">
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="state" readonly="1"/>
|
2007-01-25 21:22:43 +00:00
|
|
|
<button name="button_confirm" string="Confirm" states="draft"/>
|
2006-12-18 14:10:01 +00:00
|
|
|
<button name="action_assign" string="Assign" states="confirmed" type="object"/>
|
2007-10-18 06:45:27 +00:00
|
|
|
<button name="force_assign" string="Force Assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel Assignation" states="assigned" type="object"/>
|
|
|
|
<button type="action" name="%(partial_picking)d" string="Validate" states="assigned"/>
|
2007-01-25 21:22:43 +00:00
|
|
|
<button name="button_cancel" string="Cancel" states="assigned,confirmed,draft"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</group>
|
|
|
|
</page><page string="Notes">
|
|
|
|
<field name="note" nolabel="1" colspan="4"/>
|
2007-08-08 20:17:24 +00:00
|
|
|
</page><page string="Others info">
|
2007-06-27 13:59:46 +00:00
|
|
|
<field name="origin" select="2"/>
|
|
|
|
<field name="active" select="2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="auto_picking"/>
|
|
|
|
<newline/>
|
2007-10-16 15:24:13 +00:00
|
|
|
<field name="move_type"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
|
2008-06-14 07:54:35 +00:00
|
|
|
#
|
|
|
|
# Delivery Orders
|
|
|
|
#
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_picking_delivery_tree">
|
|
|
|
<field name="name">stock.picking.delivery.tree</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Packing list" color="red:state=='cancel'">
|
|
|
|
<field name="name" select="1" colspan="4"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="address_id" select="1"/>
|
|
|
|
<field name="origin" select="1"/>
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_picking_delivery_form">
|
|
|
|
<field name="name">stock.picking.delivery.form</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Packing list">
|
|
|
|
<notebook>
|
|
|
|
<page string="General Information">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="address_id" select="2"/>
|
|
|
|
<field name="move_lines" widget="one2many_list" colspan="4" nolabel="1">
|
|
|
|
<form string="Stock Moves">
|
|
|
|
<separator string="Move Information" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" select="1" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" context="location=parent.location_id"/>
|
|
|
|
<field name="product_uom" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uos" groups="product.group_uos"/>
|
|
|
|
<field name="product_uos_qty" groups="product.group_uos"/>
|
|
|
|
<field name="name" select="1" colspan="4" invisible="1"/>
|
|
|
|
<field name="date" invisible="1"/>
|
|
|
|
<field name="date_planned"/>
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="product_packaging" groups="base.group_extended"/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id"/>
|
|
|
|
<field name="tracking_id" select="1" groups="base.group_extended"/>
|
|
|
|
<separator string="Move State" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<group>
|
|
|
|
<button name="force_assign" string="Force assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel assignation" states="assigned" type="object"/>
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group colspan="4" col="7">
|
|
|
|
<label colspan="6"/>
|
|
|
|
<button type="action" name="%(move_split)d" string="Split in Two"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="4" col="8">
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
<button name="button_confirm" string="Confirm" states="draft"/>
|
|
|
|
<button name="action_assign" string="Assign" states="confirmed" type="object"/>
|
|
|
|
<button name="force_assign" string="Force Assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel Assignation" states="assigned" type="object"/>
|
|
|
|
<button type="action" name="%(partial_picking)d" string="Validate" states="assigned"/>
|
|
|
|
<button name="button_cancel" string="Cancel" states="assigned,confirmed,draft"/>
|
|
|
|
</group>
|
|
|
|
</page><page string="Notes">
|
|
|
|
<field name="note" nolabel="1" colspan="4"/>
|
|
|
|
</page><page string="Others info">
|
|
|
|
<field name="origin" select="2"/>
|
|
|
|
<field name="active" select="2"/>
|
|
|
|
<field name="auto_picking"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="move_type"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
2008-06-10 06:01:42 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree_delivery">
|
|
|
|
<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>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('type','=','delivery')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_delivery_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<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 model="ir.actions.act_window.view" id="action_picking_tree_delivery_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<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-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_root"
|
|
|
|
id="menu_action_picking_tree_delivery"
|
|
|
|
sequence="20"
|
2008-06-14 07:54:35 +00:00
|
|
|
groups="base.group_extended"
|
2008-06-10 06:01:42 +00:00
|
|
|
action="action_picking_tree_delivery"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree2_delivery">
|
|
|
|
<field name="name">Delivery Orders to Process</field>
|
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','assigned'),('type','=','delivery')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_delivery_view1_toproc">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_delivery_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree2_delivery"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_delivery_view2_toproc">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_delivery_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree2_delivery"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree_delivery"
|
|
|
|
action="action_picking_tree2_delivery"
|
|
|
|
id="menu_picking_waiting_delivery"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree3_delivery">
|
|
|
|
<field name="name">Waiting Delivery Orders</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','confirmed'),('type','=','delivery')]</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_delivery_view1_waiting">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_delivery_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree3_delivery"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_delivery_view2_waiting">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_delivery_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree3_delivery"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree_delivery"
|
|
|
|
id="menu_action_picking_tree3_delivery"
|
|
|
|
action="action_picking_tree3_delivery"/>
|
|
|
|
|
2008-06-14 07:54:35 +00:00
|
|
|
#
|
|
|
|
# Sending Products
|
|
|
|
#
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_picking_out_tree">
|
|
|
|
<field name="name">stock.picking.out.tree</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Packing list" color="red:state=='cancel'">
|
|
|
|
<field name="name" select="1" colspan="4"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="address_id" select="1"/>
|
|
|
|
<field name="invoice_state" readonly="1"/>
|
|
|
|
<field name="origin" select="1"/>
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_picking_out_form">
|
|
|
|
<field name="name">stock.picking.out.form</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Packing list">
|
|
|
|
<notebook>
|
|
|
|
<page string="General Information">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="address_id" select="2"/>
|
|
|
|
<field name="move_lines" widget="one2many_list" colspan="4" nolabel="1">
|
|
|
|
<form string="Stock Moves">
|
|
|
|
<separator string="Move Information" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" select="1" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" context="location=parent.location_id"/>
|
|
|
|
<field name="product_uom" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uos" groups="product.group_uos"/>
|
|
|
|
<field name="product_uos_qty" groups="product.group_uos"/>
|
|
|
|
<field name="name" select="1" colspan="4" invisible="1"/>
|
|
|
|
<field name="date" invisible="1"/>
|
|
|
|
<field name="date_planned"/>
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="product_packaging" groups="base.group_extended"/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id"/>
|
|
|
|
<field name="tracking_id" select="1" groups="base.group_extended"/>
|
|
|
|
<separator string="Move State" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<group>
|
|
|
|
<button name="force_assign" string="Force assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel assignation" states="assigned" type="object"/>
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group colspan="4" col="7">
|
|
|
|
<label colspan="6"/>
|
|
|
|
<button type="action" name="%(move_split)d" string="Split in Two"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="4" col="8">
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
<button name="button_confirm" string="Confirm" states="draft"/>
|
|
|
|
<button name="action_assign" string="Assign" states="confirmed" type="object"/>
|
|
|
|
<button name="force_assign" string="Force Assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel Assignation" states="assigned" type="object"/>
|
|
|
|
<button type="action" name="%(partial_picking)d" string="Validate" states="assigned"/>
|
|
|
|
<button name="button_cancel" string="Cancel" states="assigned,confirmed,draft"/>
|
|
|
|
</group>
|
|
|
|
</page><page string="Notes">
|
|
|
|
<field name="note" nolabel="1" colspan="4"/>
|
|
|
|
</page><page string="Others info">
|
|
|
|
<field name="origin" select="2"/>
|
|
|
|
<field name="active" select="2"/>
|
|
|
|
<field name="auto_picking"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="move_type"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree">
|
2007-05-15 07:42:18 +00:00
|
|
|
<field name="name">Sending Goods</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('type','=','out')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree_out_view1_waiting">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<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 model="ir.actions.act_window.view" id="action_picking_tree_out_view2_waiting">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<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-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_root"
|
|
|
|
sequence="19"
|
|
|
|
id="menu_action_picking_tree"
|
|
|
|
action="action_picking_tree"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree2">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Assigned Packings</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','assigned'),('type','=','out')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree2_out_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_out_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree2"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree2_out_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_out_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree2"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree"
|
2008-06-14 07:54:35 +00:00
|
|
|
action="action_picking_tree2"
|
2008-06-10 06:01:42 +00:00
|
|
|
id="menu_picking_waiting"/>
|
2008-06-14 07:54:35 +00:00
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree3">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Confirmed Packings Waiting Assignation</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','confirmed'),('type','=','out')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree3_out_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_out_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree3"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_tree3_out_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_out_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree3"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree"
|
|
|
|
id="menu_action_picking_tree3"
|
|
|
|
action="action_picking_tree3"/>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Reception of Goods
|
|
|
|
#
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.ui.view" id="view_picking_in_tree">
|
|
|
|
<field name="name">stock.picking.in.tree</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Packing list" color="red:state=='cancel'">
|
|
|
|
<field name="name" select="1" colspan="4"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="address_id" select="1"/>
|
|
|
|
<field name="invoice_state" readonly="1"/>
|
|
|
|
<field name="origin" select="1"/>
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<record model="ir.ui.view" id="view_picking_in_form">
|
|
|
|
<field name="name">stock.picking.in.form</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Input Packing List">
|
|
|
|
<notebook>
|
|
|
|
<page string="General Information">
|
|
|
|
<field name="address_id" select="2" on_change="onchange_partner_in(address_id)"/>
|
|
|
|
<field name="name" select="1" readonly="1"/>
|
|
|
|
<field name="location_id"/>
|
|
|
|
<field name="location_dest_id" domain="[('usage','=','internal')]"/>
|
|
|
|
<field name="invoice_state" string="Supplier Invoice Control" select="2"/>
|
|
|
|
<field name="origin" select="2"/>
|
|
|
|
|
|
|
|
<field name="move_lines" widget="one2many_list" colspan="4" nolabel="1">
|
|
|
|
<tree string="Stock Moves">
|
|
|
|
<field name="product_id"/>
|
|
|
|
<field name="product_qty"/>
|
|
|
|
<field name="product_uom"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id" />
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
</tree>
|
|
|
|
<form string="Stock Moves">
|
|
|
|
<separator string="Move Information" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" select="1" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" context="location=parent.location_id"/>
|
|
|
|
<field name="product_uom" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uos" groups="product.group_uos"/>
|
|
|
|
<field name="product_uos_qty" groups="product.group_uos"/>
|
|
|
|
<field name="name" select="1" colspan="4" invisible="1"/>
|
|
|
|
<field name="date" groups="base.group_extended"/>
|
|
|
|
<field name="date_planned" groups="base.group_extended"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1" domain="[('usage','=','internal')]"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="product_packaging" groups="base.group_extended"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id" />
|
|
|
|
<field name="tracking_id" select="1" groups="base.group_extended"/>
|
|
|
|
<newline/>
|
|
|
|
<label/>
|
|
|
|
<button type="action" name="%(track_line)d" string="Split in production lots" groups="base.group_extended"/>
|
|
|
|
|
|
|
|
<separator string="Move State" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<group>
|
|
|
|
<button name="force_assign" string="Force assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel assignation" states="assigned" type="object"/>
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group colspan="4" col="7">
|
|
|
|
<label colspan="5"/>
|
|
|
|
<button string="Fill From Unreceived Products" type="action" name="llk"/>
|
|
|
|
<button type="action" name="%(move_split)d" string="Split move lines in two" groups="base.group_extended"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="4" col="8">
|
|
|
|
<field name="state" readonly="1"/>
|
|
|
|
<button name="button_confirm" string="Confirm" states="draft"/>
|
|
|
|
<button name="action_assign" string="Assign" states="confirmed" type="object"/>
|
|
|
|
<button name="force_assign" string="Force Assignation" states="confirmed" type="object"/>
|
|
|
|
<button name="cancel_assign" string="Cancel Assignation" states="assigned" type="object"/>
|
|
|
|
<button type="action" name="%(partial_picking)d" string="Validate" states="assigned"/>
|
|
|
|
<button name="button_cancel" string="Cancel" states="assigned,confirmed,draft"/>
|
|
|
|
</group>
|
|
|
|
</page><page string="Notes">
|
|
|
|
<field name="note" nolabel="1" colspan="4"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree4">
|
2007-05-15 07:42:18 +00:00
|
|
|
<field name="name">Getting Goods</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('type','=','in')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_invoice_tree5_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="view_id" ref="view_picking_in_tree"/>
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="act_window_id" ref="action_picking_tree4"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_invoice_tree5_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_root"
|
|
|
|
id="menu_action_picking_tree4"
|
|
|
|
sequence="17"
|
|
|
|
action="action_picking_tree4"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree5">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Packings to Process</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','assigned'),('type','=','in')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_invoice_tree6_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_in_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree5"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_invoice_tree6_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_in_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_tree5"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree4"
|
|
|
|
id="menu_action_picking_tree5"
|
|
|
|
action="action_picking_tree5"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_form">
|
|
|
|
<field name="name">New Reception Packing</field>
|
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_in_form"/>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
<field name="domain">[('type','=','in')]</field>
|
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_form_view1">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_picking_in_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_form"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_picking_form_view2">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_picking_in_form"/>
|
|
|
|
<field name="act_window_id" ref="action_picking_form"/>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree4"
|
|
|
|
id="menu_action_picking_form"
|
|
|
|
action="action_picking_form"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree6">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Internal Packings</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('type','=','internal')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_root"
|
|
|
|
id="menu_action_picking_tree6"
|
|
|
|
sequence="18"
|
|
|
|
action="action_picking_tree6"/>
|
|
|
|
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree7">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Assigned Packings</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','assigned'),('type','=','internal')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree6"
|
|
|
|
id="menu_action_picking_tree7"
|
|
|
|
action="action_picking_tree7"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree8">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Confirmed Packings Waiting Assignation</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','confirmed'),('type','=','internal')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree6"
|
|
|
|
id="menu_action_picking_tree8"
|
|
|
|
action="action_picking_tree8"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_picking_tree9">
|
2008-06-10 06:01:42 +00:00
|
|
|
<field name="name">Draft Internal Packings</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','draft'),('type','=','internal')]</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
2008-06-10 06:01:42 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_picking_tree6"
|
|
|
|
id="menu_action_picking_tree9"
|
|
|
|
action="action_picking_tree9"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
=============================
|
|
|
|
Move Tracking
|
|
|
|
=============================
|
|
|
|
|
|
|
|
|
|
|
|
=============================
|
|
|
|
Move
|
|
|
|
=============================
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_move_tree">
|
|
|
|
<field name="name">stock.move.tree</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="priority" eval="6"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Moves" color="grey:state=='cancel'">
|
|
|
|
<field name="product_id" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="product_uom" select="1" string="UOM"/>
|
2007-10-16 15:24:13 +00:00
|
|
|
<field name="prodlot_id" select="2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="date_planned" select="1"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
name="Low Level"
|
|
|
|
id="menu_traceability_low"
|
|
|
|
parent="menu_traceability"/>
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
<record model="ir.ui.view" id="view_move_form">
|
|
|
|
<field name="name">stock.move.form</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="priority" eval="4"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Stock Moves">
|
|
|
|
<separator string="Move Information" colspan="4"/>
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="date"/>
|
|
|
|
<field name="date_planned"/>
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="product_id" colspan="4" select="1"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="product_uom" select="1"/>
|
|
|
|
<field name="product_qty" select="1"/>
|
|
|
|
<field name="location_id" select="1"/>
|
|
|
|
<field name="location_dest_id" select="1"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="address_id" select="1" />
|
|
|
|
<newline/>
|
|
|
|
<field name="prodlot_id" select="1" context="product_id=product_id" />
|
|
|
|
<field name="tracking_id" select="1" />
|
|
|
|
<newline/>
|
|
|
|
<label/>
|
|
|
|
<button type="action" name="%(track_line)d" string="Split in production lots"/>
|
|
|
|
<separator string="Move State" colspan="4"/>
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<group col="4" colspan="2">
|
|
|
|
<button name="action_confirm" string="Confirm" type="object" states="draft"/>
|
|
|
|
<button name="action_assign" string="Assign" type="object" states="confirmed"/>
|
|
|
|
<button name="action_cancel" string="Cancel" type="object" states="assigned"/>
|
|
|
|
<button name="action_done" string="Make Parcel" type="object" states="assigned"/>
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_move_form2">
|
2008-06-14 07:54:35 +00:00
|
|
|
<field name="name">Stock Moves</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="res_model">stock.move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_move_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_traceability_low"
|
|
|
|
id="menu_action_move_form2"
|
|
|
|
action="action_move_form2"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_move_form3">
|
2007-05-15 07:42:18 +00:00
|
|
|
<field name="name">Draft Moves</field>
|
2006-12-07 13:41:40 +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="domain">[('state','=','draft')]</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_move_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_move_form2"
|
|
|
|
id="menu_action_move_form3"
|
|
|
|
action="action_move_form3"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_move_form4">
|
2007-05-15 07:42:18 +00:00
|
|
|
<field name="name">Assigned Moves</field>
|
2006-12-07 13:41:40 +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="domain">[('state','=','assigned')]</field>
|
2007-05-30 11:24:57 +00:00
|
|
|
<field name="view_id" ref="view_move_tree"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</record>
|
2008-06-14 07:54:35 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_action_move_form2"
|
|
|
|
id="menu_action_move_form4"
|
|
|
|
action="action_move_form4"/>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_picking_all">
|
|
|
|
<field name="name">All Packings</field>
|
|
|
|
<field name="res_model">stock.picking</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="context">{'contact_display': 'partner'}</field>
|
|
|
|
</record>
|
|
|
|
<menuitem
|
|
|
|
parent="menu_traceability_low"
|
|
|
|
id="menu_action_picking_all"
|
|
|
|
action="action_picking_all"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
# Stock incoterms
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
<record model="ir.ui.view" id="view_incoterms_tree">
|
|
|
|
<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"/>
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="stock_incoterms_form">
|
|
|
|
<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">
|
2007-04-25 06:26:44 +00:00
|
|
|
<field name="name" select="1" colspan="4"/>
|
2006-12-07 13:41:40 +00:00
|
|
|
<field name="code" select="1"/>
|
|
|
|
<field name="active" select="1"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_incoterms_tree">
|
2008-06-16 15:56:45 +00:00
|
|
|
<field name="name">Incoterms</field>
|
2006-12-07 13:41:40 +00:00
|
|
|
<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>
|
|
|
|
</record>
|
2008-06-16 15:56:45 +00:00
|
|
|
<menuitem
|
|
|
|
parent="menu_stock_configuration"
|
|
|
|
id="menu_action_incoterms_tree"
|
|
|
|
action="action_incoterms_tree"/>
|
2007-06-21 15:31:07 +00:00
|
|
|
|
|
|
|
<act_window
|
|
|
|
domain="[('type','<>','service')]"
|
|
|
|
context="{'location': active_id}"
|
|
|
|
res_model="product.product"
|
|
|
|
src_model="stock.location"
|
2008-05-07 10:01:08 +00:00
|
|
|
name="Products"
|
2007-06-21 15:31:07 +00:00
|
|
|
id="act_product_location_open"/>
|
2008-05-21 09:26:28 +00:00
|
|
|
|
|
|
|
<act_window
|
|
|
|
domain="[('product_id','=',active_id)]"
|
|
|
|
context="{'location': active_id}"
|
|
|
|
res_model="stock.move"
|
|
|
|
src_model="product.product"
|
|
|
|
name="Stock Moves"
|
|
|
|
id="act_product_stock_move_open"/>
|
|
|
|
|
2007-06-21 15:31:07 +00:00
|
|
|
<record model="ir.values" id="ir_act_product_location_open">
|
|
|
|
<field name="key2">tree_but_open</field>
|
|
|
|
<field name="model">stock.location</field>
|
|
|
|
<field name="name">Products</field>
|
|
|
|
<field name="value" eval="'ir.actions.act_window,%d'%act_product_location_open"/>
|
|
|
|
<field name="object" eval="True"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
</data>
|
|
|
|
</terp>
|