2008-08-19 19:42:11 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-08-19 19:42:11 +00:00
|
|
|
<data>
|
|
|
|
|
2010-04-15 08:55:49 +00:00
|
|
|
<record id="product_search_form_view_stock" model="ir.ui.view">
|
2009-09-24 10:46:21 +00:00
|
|
|
<field name="name">product.search.stock.form</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="inherit_id" ref="product.product_search_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 20:31:27 +00:00
|
|
|
<field name="pricelist_id" position="before">
|
2012-07-23 06:54:28 +00:00
|
|
|
<field name="location_id" context="{'location': self}"/>
|
|
|
|
<field name="warehouse_id" context="{'warehouse': self}"/>
|
2012-06-09 20:31:27 +00:00
|
|
|
</field>
|
2009-09-24 10:46:21 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-04-15 08:55:49 +00:00
|
|
|
|
2008-08-19 19:42:11 +00:00
|
|
|
<record id="view_category_property_form" model="ir.ui.view">
|
|
|
|
<field name="name">product.category.stock.property.form.inherit</field>
|
|
|
|
<field name="model">product.category</field>
|
2012-10-18 07:24:56 +00:00
|
|
|
<field name="inherit_id" ref="account.view_category_property_form"/>
|
2008-08-19 19:42:11 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-06-22 05:55:24 +00:00
|
|
|
<data>
|
2012-10-18 07:24:56 +00:00
|
|
|
<group name="account_property" position="after">
|
|
|
|
<group name="account_stock_property" string="Account Stock Properties" colspan="2">
|
|
|
|
<field name="property_stock_account_input_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_stock_account_output_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_stock_valuation_account_id" domain="[('type','<>','view'), ('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_stock_journal"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
2012-06-22 05:55:24 +00:00
|
|
|
</data>
|
2008-08-19 19:42:11 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_template_property_form" model="ir.ui.view">
|
|
|
|
<field name="name">product.template.stock.property.form.inherit</field>
|
|
|
|
<field name="model">product.template</field>
|
|
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-10-03 06:48:40 +00:00
|
|
|
<group name="delay" position="inside">
|
|
|
|
<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',False)]}"/>
|
|
|
|
</group>
|
|
|
|
<group name="delay" position="after">
|
2012-11-05 12:03:59 +00:00
|
|
|
<group name="store" string="Storage Location">
|
2012-10-03 06:48:40 +00:00
|
|
|
<field name="loc_rack"/>
|
|
|
|
<field name="loc_row"/>
|
|
|
|
<field name="loc_case"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
2012-04-03 09:39:18 +00:00
|
|
|
<page position="after" string="Information">
|
2008-11-27 00:00:02 +00:00
|
|
|
<page string="Properties">
|
2012-06-09 20:31:27 +00:00
|
|
|
<group string="Counter-Part Locations Properties" groups="stock.group_locations">
|
|
|
|
<field name="property_stock_procurement" domain="[('usage','=','procurement')]"/>
|
|
|
|
<field name="property_stock_production" domain="[('usage','=','production')]"/>
|
|
|
|
<field name="property_stock_inventory" domain="[('usage','=','inventory')]"/>
|
|
|
|
</group>
|
|
|
|
<group string="Accounting Entries">
|
|
|
|
<field name="property_stock_account_input" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_stock_account_output" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
</group>
|
2008-11-27 00:00:02 +00:00
|
|
|
</page>
|
2008-08-19 19:42:11 +00:00
|
|
|
</page>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-08-31 13:50:10 +00:00
|
|
|
|
2012-08-21 11:38:14 +00:00
|
|
|
<record id="view_normal_procurement_locations_form" model="ir.ui.view">
|
|
|
|
<field name="name">product.normal.procurement.locations.inherit</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2013-02-20 10:41:04 +00:00
|
|
|
<xpath expr="//div[@name='buttons']" position="inside">
|
2013-02-24 11:21:42 +00:00
|
|
|
<button string="Inventory" name="%(action_product_location_tree)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_locations"/>
|
|
|
|
<button string="Moves" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '=', 'service')]}" groups="stock.group_stock_user"/>
|
2013-02-20 10:41:04 +00:00
|
|
|
</xpath>
|
2012-10-05 06:41:59 +00:00
|
|
|
<group name="procurement_uom" position="before">
|
2012-08-31 13:50:10 +00:00
|
|
|
<group name="delay" string="Delays">
|
2012-08-31 17:47:46 +00:00
|
|
|
<label for="produce_delay" attrs="{'invisible':[('type','=','service')]}"/>
|
|
|
|
<div attrs="{'invisible':[('type','=','service')]}">
|
|
|
|
<field name="produce_delay" class="oe_inline"/> days
|
|
|
|
</div>
|
2012-08-31 14:50:17 +00:00
|
|
|
<field name="active"/>
|
2012-08-31 13:50:10 +00:00
|
|
|
</group>
|
2012-08-31 17:47:46 +00:00
|
|
|
</group>
|
2012-10-03 06:48:40 +00:00
|
|
|
<xpath expr="//group[@string='Sale Conditions']" position="inside">
|
|
|
|
<label for="sale_delay"/>
|
|
|
|
<div>
|
|
|
|
<field name="sale_delay" class="oe_inline"/> days
|
|
|
|
</div>
|
|
|
|
</xpath>
|
|
|
|
<group name="status" position="before" version="7.0">
|
|
|
|
<group string="Stock and Expected Variations" attrs="{'invisible': [('type', '=', 'service')]}" groups="base.group_user">
|
|
|
|
<label for="qty_available"/>
|
|
|
|
<div>
|
|
|
|
<field name="qty_available" class="oe_inline"/>
|
2013-02-24 11:21:42 +00:00
|
|
|
<button name="%(action_view_change_product_quantity)d" string="⇒ Update"
|
|
|
|
type="action"
|
|
|
|
class="oe_link"/>
|
2012-10-03 06:48:40 +00:00
|
|
|
</div>
|
2013-02-24 11:21:42 +00:00
|
|
|
<label for="incoming_qty"/>
|
|
|
|
<div>
|
2012-10-03 06:48:40 +00:00
|
|
|
<field name="incoming_qty" class="oe_inline"/>
|
2013-02-24 11:21:42 +00:00
|
|
|
</div>
|
|
|
|
<field name="outgoing_qty" class="oe_inline"/>
|
|
|
|
<field name="virtual_available" class="oe_inline"/>
|
2012-10-03 06:48:40 +00:00
|
|
|
</group>
|
|
|
|
<group name="lot" groups="stock.group_tracking_lot,stock.group_production_lot" string="Lots">
|
|
|
|
<field name="track_production" groups="stock.group_production_lot"/>
|
|
|
|
<field name="track_incoming" groups="stock.group_tracking_lot"/>
|
|
|
|
<field name="track_outgoing" groups="stock.group_tracking_lot"/>
|
2012-08-31 13:50:10 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
2012-10-03 06:48:40 +00:00
|
|
|
<group name="status" position="after" version="7.0">
|
2013-05-03 09:16:03 +00:00
|
|
|
<group name="store" string="Storage Location" attrs="{'invisible':[('type','=','service')]}">
|
|
|
|
<field name="loc_rack"/>
|
|
|
|
<field name="loc_row"/>
|
|
|
|
<field name="loc_case"/>
|
|
|
|
</group>
|
2012-10-03 06:48:40 +00:00
|
|
|
</group>
|
|
|
|
<group name="Weights" position="after">
|
|
|
|
<group name="store" groups="stock.group_locations" string="Counter-Part Locations Properties">
|
|
|
|
<field name="property_stock_procurement" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','procurement')]"/>
|
|
|
|
<field name="property_stock_production" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','production')]"/>
|
|
|
|
<field name="property_stock_inventory" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','inventory')]"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
2012-08-21 11:38:14 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-19 19:42:11 +00:00
|
|
|
|
2010-04-15 08:55:49 +00:00
|
|
|
<record id="view_product_standard_price_form" model="ir.ui.view">
|
2010-03-16 13:34:19 +00:00
|
|
|
<field name="name">product.product.standard.price.form.inherit</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-14 10:08:01 +00:00
|
|
|
<field name="standard_price" position="replace" version="7.0">
|
2012-05-21 14:59:00 +00:00
|
|
|
<label string="Cost Price" for="standard_price" align="1.0" groups="base.group_user"/>
|
2012-06-22 13:09:39 +00:00
|
|
|
<div groups="base.group_user">
|
2012-08-31 13:50:10 +00:00
|
|
|
<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" nolabel="1"/>
|
|
|
|
<button name="%(action_view_change_standard_price)d" string="- update"
|
2012-08-07 15:55:52 +00:00
|
|
|
type="action" attrs="{'invisible':[('cost_method','<>','average')]}"
|
2012-10-05 08:40:00 +00:00
|
|
|
class="oe_link" groups="product.group_costing_method"/>
|
2012-06-13 09:06:57 +00:00
|
|
|
</div>
|
2010-04-15 08:55:49 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-19 19:42:11 +00:00
|
|
|
|
2008-09-02 17:55:09 +00:00
|
|
|
<record id="view_normal_property_acc_form" model="ir.ui.view">
|
2008-08-24 23:23:45 +00:00
|
|
|
<field name="name">product.normal.stock.acc.property.form.inherit</field>
|
2008-08-19 19:42:11 +00:00
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
2008-09-07 23:24:39 +00:00
|
|
|
<field name="priority">26</field>
|
2008-08-19 19:42:11 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-06-13 09:06:57 +00:00
|
|
|
<xpath expr="//group[@name='properties']" position="before">
|
2012-04-03 09:39:18 +00:00
|
|
|
<group groups="stock.group_inventory_valuation">
|
2010-09-20 14:20:27 +00:00
|
|
|
<separator string="Inventory Valuation" colspan="4"/>
|
|
|
|
<group colspan="2" col="2">
|
2011-09-07 09:32:31 +00:00
|
|
|
<field name="valuation" attrs="{'readonly':[('type', '=', 'service')]}"/>
|
2010-09-20 14:20:27 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2">
|
2012-08-28 12:07:32 +00:00
|
|
|
<field name="property_stock_account_input" attrs="{'invisible':[('valuation', '!=', 'real_time')]}"
|
2012-04-25 13:56:29 +00:00
|
|
|
domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
2012-08-28 12:07:32 +00:00
|
|
|
<field name="property_stock_account_output" attrs="{'invisible':[('valuation', '!=', 'real_time')]}"
|
2012-04-25 13:56:29 +00:00
|
|
|
domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
2010-09-20 14:20:27 +00:00
|
|
|
</group>
|
2010-09-15 10:31:58 +00:00
|
|
|
</group>
|
2010-09-15 10:48:07 +00:00
|
|
|
<newline/>
|
2010-09-20 14:20:27 +00:00
|
|
|
</xpath>
|
2008-08-25 22:20:48 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-24 23:23:45 +00:00
|
|
|
|
2012-07-25 16:23:06 +00:00
|
|
|
|
2012-05-22 07:02:28 +00:00
|
|
|
<record id="action_receive_move" model="ir.actions.act_window">
|
2012-08-04 13:21:36 +00:00
|
|
|
<field name="name">Receptions</field>
|
2012-05-22 07:02:28 +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>
|
2012-08-09 09:44:38 +00:00
|
|
|
<field name="domain">[('picking_id.type','=','in')]</field>
|
2012-05-22 07:02:28 +00:00
|
|
|
<field name="view_id" ref="view_move_tree_reception_picking"/>
|
|
|
|
<field name="context" eval="'{\'search_default_product_id\': [active_id]}'"/>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
Click to register a reception for this product.
|
|
|
|
</p><p>
|
|
|
|
Here you will find the history of all receptions related to
|
|
|
|
this product, as well as all future receptions you are waiting
|
|
|
|
from your suppliers.
|
|
|
|
</p>
|
|
|
|
</field>
|
2012-05-22 07:02:28 +00:00
|
|
|
</record>
|
2012-07-25 16:23:06 +00:00
|
|
|
|
2012-05-22 07:02:28 +00:00
|
|
|
<record id="action_deliver_move" model="ir.actions.act_window">
|
2012-08-04 13:21:36 +00:00
|
|
|
<field name="name">Deliveries</field>
|
2012-05-22 07:02:28 +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>
|
2012-08-09 09:44:38 +00:00
|
|
|
<field name="domain">[('picking_id.type','=','out')]</field>
|
2012-05-22 07:02:28 +00:00
|
|
|
<field name="view_id" ref="view_move_tree_reception_picking"/>
|
|
|
|
<field name="context" eval="'{\'search_default_product_id\': [active_id]}'"/>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
Click to add a delivery order for this product.
|
|
|
|
</p><p>
|
|
|
|
Here you will find the history of all past deliveries related to
|
|
|
|
this product, as well as all the products you must deliver to
|
|
|
|
customers.
|
|
|
|
</p>
|
|
|
|
</field>
|
2012-05-22 07:02:28 +00:00
|
|
|
</record>
|
2011-12-05 15:07:06 +00:00
|
|
|
|
2012-09-03 17:54:10 +00:00
|
|
|
<record model="ir.ui.view" id="product_kanban_stock_view">
|
|
|
|
<field name="name">Product Kanban Stock</field>
|
2011-09-20 11:30:43 +00:00
|
|
|
<field name="model">product.product</field>
|
2012-09-03 17:54:10 +00:00
|
|
|
<field name="inherit_id" ref="product.product_kanban_view"/>
|
2011-09-20 11:30:43 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-09-03 17:54:10 +00:00
|
|
|
<field name="list_price" position="after">
|
2012-05-02 06:07:49 +00:00
|
|
|
<field name="reception_count"/>
|
|
|
|
<field name="delivery_count"/>
|
2012-09-03 17:54:10 +00:00
|
|
|
</field>
|
|
|
|
<xpath expr="//div[@name='tags']" position="inside">
|
|
|
|
<a name="%(action_receive_move)d" type="action" t-if="record.reception_count.raw_value>0">
|
|
|
|
<t t-esc="record.reception_count.value"/> Receptions
|
|
|
|
</a>
|
|
|
|
<a name="%(action_deliver_move)d" type="action" t-if="record.delivery_count.raw_value>0">
|
|
|
|
<t t-esc="record.delivery_count.value"/> Deliveries
|
|
|
|
</a>
|
|
|
|
</xpath>
|
2012-09-06 15:28:30 +00:00
|
|
|
<ul position="inside">
|
2012-09-03 17:54:10 +00:00
|
|
|
<li t-if="record.type.raw_value != 'service'">On hand: <field name="qty_available"/> <field name="uom_id"/></li>
|
2012-11-02 09:37:44 +00:00
|
|
|
<li t-if="record.type.raw_value != 'service'">Forecasted: <field name="virtual_available"/> <field name="uom_id"/></li>
|
2012-09-03 17:54:10 +00:00
|
|
|
</ul>
|
2011-09-20 11:30:43 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-24 23:23:45 +00:00
|
|
|
|
2008-08-19 19:42:11 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|