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 >
2014-05-27 07:42:52 +00:00
<menuitem id= "base.menu_product" name= "Product Variants" parent= "base.menu_base_partner" sequence= "9" />
2010-05-27 09:26:52 +00:00
2014-05-27 07:42:52 +00:00
<!-- templates -->
<record id= "product_template_search_view" model= "ir.ui.view" >
<field name= "name" > product.template.search</field>
<field name= "model" > product.template</field>
2009-09-24 10:46:21 +00:00
<field name= "arch" type= "xml" >
<search string= "Product" >
2015-01-24 03:25:51 +00:00
<field name= "name" string= "Product" filter_domain= "['|',('default_code','ilike',self),('name','ilike',self)]" />
2014-05-27 07:42:52 +00:00
<filter string= "Services" icon= "terp-accessories-archiver" domain= "[('type','=','service')]" />
<filter string= "Consumable" name= "consumable" icon= "terp-accessories-archiver" domain= "[('type','=','consu')]" help= "Consumable products" />
<separator />
<filter string= "Can be Sold" name= "filter_to_sell" icon= "terp-accessories-archiver-minus" domain= "[('sale_ok','=',1)]" />
2014-12-13 19:16:08 +00:00
<field name= "categ_id" filter_domain= "[('categ_id', 'child_of', self)]" />
2015-03-26 22:25:28 +00:00
<field string= "Product Variant" name= "product_variant_ids" filter_domain= "['|', ('product_variant_ids.name','ilike',self), ('product_variant_ids.attribute_value_ids.attribute_id.name','ilike',self)]" />
2014-05-27 07:42:52 +00:00
<field name= "company_id" />
<field name= "pricelist_id" widget= "selection" context= "{'pricelist': self}" filter_domain= "[]" groups= "product.group_sale_pricelist" /> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
<group expand= '0' string= 'Group by...' >
2014-08-12 10:19:15 +00:00
<filter string= 'Category' domain= "[]" context= "{'group_by' : 'categ_id'}" />
2012-05-21 14:59:00 +00:00
<filter string= 'Default Unit of Measure' icon= "terp-mrp" domain= "[]" context= "{'group_by' : 'uom_id'}" />
2012-05-04 09:40:19 +00:00
<filter string= 'Type' icon= "terp-stock_symbol-selection" domain= "[]" context= "{'group_by' : 'type'}" />
2014-05-27 07:42:52 +00:00
</group>
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2009-11-25 09:31:44 +00:00
2014-05-27 07:42:52 +00:00
<record id= "product_template_tree_view" model= "ir.ui.view" >
<field name= "name" > product.template.product.tree</field>
<field name= "model" > product.template</field>
2008-07-01 15:58:58 +00:00
<field name= "arch" type= "xml" >
2014-05-27 07:42:52 +00:00
<tree string= "Product" >
2008-07-01 15:58:58 +00:00
<field name= "name" />
2014-05-27 07:42:52 +00:00
<field name= "categ_id" />
<field name= "type" />
2012-04-25 13:56:29 +00:00
<field name= "state" />
2014-05-27 07:42:52 +00:00
<field name= "uom_id" invisible= "1" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2012-06-06 15:25:26 +00:00
2014-07-11 14:22:52 +00:00
<!-- base structure of product.template, common with product.product -->
2014-05-27 07:42:52 +00:00
<record id= "product_template_form_view" model= "ir.ui.view" >
2014-07-11 14:22:52 +00:00
<field name= "name" > product.template.common.form</field>
2014-05-27 07:42:52 +00:00
<field name= "model" > product.template</field>
2014-07-07 19:45:11 +00:00
<field name= "mode" > primary</field>
2008-07-01 15:58:58 +00:00
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Product" >
2014-05-27 07:42:52 +00:00
<field name= "is_product_variant" invisible= "1" />
2014-09-22 06:39:30 +00:00
<field name= 'product_variant_count' invisible= '1' />
2012-06-13 09:06:57 +00:00
<sheet >
2014-05-27 07:42:52 +00:00
<field name= "id" invisible= "True" />
<div class= "oe_right oe_button_box" style= "width: 300px;" name= "buttons" >
</div>
<div class= "oe_left" style= "width: 500px;" >
<field name= "image_medium" widget= "image" class= "oe_avatar oe_left" />
<div class= "oe_title" style= "width: 390px;" >
<label class= "oe_edit_only" for= "name" string= "Product Name" />
<h1 > <field name= "name" class= "oe_inline" /> </h1>
2012-06-13 09:06:57 +00:00
</div>
2014-05-27 07:42:52 +00:00
<div class= "oe_left" name= "options" groups= "base.group_user" >
<div >
<field name= "sale_ok" />
<label for= "sale_ok" />
</div>
2012-08-31 13:50:10 +00:00
</div>
2012-06-13 09:06:57 +00:00
</div>
<notebook >
<page string= "Information" >
2014-05-27 07:42:52 +00:00
<group colspan= "4" >
2012-06-13 09:06:57 +00:00
<group >
2015-05-05 16:20:35 +00:00
<field name= "type" on_change= "onchange_type(type)" />
2014-05-27 07:42:52 +00:00
<field name= "uom_id" on_change= "onchange_uom(uom_id,uom_po_id)" groups= "product.group_uom" />
2014-07-09 11:20:48 +00:00
<field name= "list_price" />
2012-08-31 13:50:10 +00:00
</group>
2012-06-13 09:06:57 +00:00
<group >
2014-05-27 07:42:52 +00:00
<field name= "active" />
2012-06-13 09:06:57 +00:00
</group>
2012-08-31 13:50:10 +00:00
</group>
2014-05-27 07:42:52 +00:00
<group colspan= "4" >
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
</group>
<field name= "description" placeholder= "describe the product characteristics..." />
2012-08-31 13:50:10 +00:00
</page>
<page string= "Procurements" groups= "base.group_user" >
<group name= "procurement" >
2012-10-05 06:41:59 +00:00
<group name= "general" >
2014-05-27 07:42:52 +00:00
<field name= "standard_price" />
2012-06-13 09:06:57 +00:00
</group>
2012-10-13 10:34:56 +00:00
<group name= "procurement_uom" groups= "product.group_uom" string= "Purchase" >
2014-05-27 07:42:52 +00:00
<field name= "uom_po_id" />
2012-06-13 09:06:57 +00:00
</group>
2012-08-31 13:50:10 +00:00
</group>
2014-05-27 07:42:52 +00:00
<separator string= "Suppliers" />
<field name= "seller_ids" />
2012-10-03 11:13:35 +00:00
<separator string= "Description for Suppliers" />
2012-08-31 13:50:10 +00:00
<field name= "description_purchase" placeholder= "This note will be displayed on requests for quotation..." />
</page>
2014-05-27 07:42:52 +00:00
<page string= "Inventory" >
2012-08-31 13:50:10 +00:00
<group name= "inventory" >
2014-05-27 07:42:52 +00:00
<group name= "status" string= "Status" >
<field name= "state" />
<field name= "product_manager" />
2012-06-13 09:06:57 +00:00
</group>
2014-08-12 12:41:08 +00:00
<group name= "weight" string= "Weights" attrs= "{'invisible':[('type','=','service')]}" >
<field digits= "(14, 3)" name= "volume" />
2015-06-02 14:31:54 +00:00
<field name= "weight" />
<field name= "weight_net" />
2012-06-13 09:06:57 +00:00
</group>
2012-06-08 18:35:18 +00:00
</group>
2014-09-19 07:35:23 +00:00
<group name= "packaging" string= "Packaging" attrs= "{'invisible':[('type','=','service')]}" groups= "product.group_stock_packaging" colspan= "4" >
<field name= "packaging_ids" string= "Configurations" context= "{'tree_view_ref':'product.product_packaging_tree_view_product', 'form_view_ref': 'product.product_packaging_form_view_without_product'}" />
</group>
2012-06-13 09:06:57 +00:00
</page>
2014-07-07 19:45:11 +00:00
<page string= "Sales" attrs= "{'invisible':[('sale_ok','=',False)]}" name= "sales" >
2012-08-31 16:28:31 +00:00
<group name= "sale" >
2014-05-27 07:42:52 +00:00
<group name= "sale_condition" string= "Sale Conditions" colspan= "3" >
2012-08-31 17:47:46 +00:00
<label for= "warranty" />
2014-05-27 07:42:52 +00:00
<div >
2012-08-31 17:47:46 +00:00
<field name= "warranty" class= "oe_inline" /> months
</div>
2012-08-31 14:50:17 +00:00
</group>
2012-08-31 17:47:46 +00:00
<group groups= "product.group_uos" string= "Unit of Measure" >
2014-05-27 07:42:52 +00:00
<field name= "uos_id" />
<field name= "uos_coeff" />
<field name= "mes_type" />
2012-08-31 13:50:10 +00:00
</group>
</group>
2014-05-27 07:42:52 +00:00
<group name= "website_and_pos" col= "2" >
</group>
2012-10-03 11:13:35 +00:00
<separator string= "Description for Quotations" />
2014-05-27 07:42:52 +00:00
<field name= "description_sale" placeholder= "note to be displayed on quotations..." />
</page>
2012-06-13 09:06:57 +00:00
</notebook>
</sheet>
2012-07-13 09:53:41 +00:00
<div class= "oe_chatter" >
2012-08-15 22:30:38 +00:00
<field name= "message_follower_ids" widget= "mail_followers" />
2012-10-26 09:58:21 +00:00
<field name= "message_ids" widget= "mail_thread" />
2012-07-13 09:53:41 +00:00
</div>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2011-12-05 15:07:06 +00:00
2014-07-11 14:22:52 +00:00
<record id= "product_search_form_view" model= "ir.ui.view" >
<field name= "name" > product.product.search</field>
<field name= "model" > product.product</field>
<field name= "mode" > primary</field>
<field name= "inherit_id" ref= "product.product_template_search_view" />
<field name= "arch" type= "xml" >
<field name= "product_variant_ids" position= "replace" >
<field name= "attribute_value_ids" />
</field>
<field name= "name" position= "after" >
<field name= "product_tmpl_id" string= "Product Template" />
</field>
<xpath expr= "//group[@string='Group by...']" position= "inside" >
<filter string= 'Product Template' name= "template_id" domain= "[]" context= "{'group_by' : 'product_tmpl_id'}" />
</xpath>
</field>
</record>
<!-- variants -->
<record id= "variants_template_tree_view" model= "ir.ui.view" >
<field name= "name" > variants.template.tree</field>
<field name= "model" > product.attribute.value</field>
<field name= "arch" type= "xml" >
<tree string= "Variant Values" editable= "top" >
<field name= "sequence" widget= "handle" />
<field name= "attribute_id" />
<field name= "name" />
<field name= "price_extra" />
</tree>
</field>
</record>
<record id= "variants_template_action" model= "ir.actions.act_window" >
<field name= "name" > Variant Values</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.attribute.value</field>
<field name= "view_mode" > tree</field>
<field name= "view_type" > form</field>
2014-08-19 02:54:01 +00:00
<field name= "view_id" ref= "variants_template_tree_view" />
2014-07-11 14:22:52 +00:00
<field name= "domain" > [('product_ids.product_tmpl_id', '=', active_id)]</field>
<field name= "context" > {'default_product_tmpl_id': active_id}</field>
</record>
<record id= "product_normal_action" model= "ir.actions.act_window" >
<field name= "name" > Product Variants</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
<field name= "view_mode" > tree,form,kanban</field>
<field name= "view_type" > form</field>
<field name= "search_view_id" ref= "product_search_form_view" />
2014-09-10 12:58:25 +00:00
<field name= "view_id" eval= "False" /> <!-- Force empty -->
2014-07-11 14:22:52 +00:00
<field name= "help" type= "html" >
<p class= "oe_view_nocontent_create" >
Click to define a new product.
</p> <p >
You must define a product for everything you buy or sell,
whether it's a physical product, a consumable or service.
</p>
</field>
</record>
<record id= "product_variant_action" model= "ir.actions.act_window" >
<field name= "name" > Product Variants</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
<field name= "view_mode" > tree,form,kanban</field>
<field name= "view_type" > form</field>
<field name= "context" > {'search_default_product_tmpl_id': [active_id], 'default_product_tmpl_id': active_id}</field>
<field name= "search_view_id" ref= "product_search_form_view" />
2014-12-02 16:00:44 +00:00
<field name= "view_id" eval= "False" /> <!-- Force empty -->
2015-01-23 22:23:27 +00:00
<field name= "domain" eval= "False" /> <!-- Force empty -->
2014-07-11 14:22:52 +00:00
<field name= "help" type= "html" >
<p class= "oe_view_nocontent_create" >
Click to define a new product.
</p> <p >
You must define a product for everything you buy or sell,
whether it's a physical product, a consumable or service.
</p>
</field>
</record>
<!-- view specific to product.template -->
<record id= "product_template_only_form_view" model= "ir.ui.view" >
<field name= "name" > product.template.product.form</field>
<field name= "model" > product.template</field>
<field name= "mode" > primary</field>
<field name= "priority" eval= "8" />
<field name= "inherit_id" ref= "product.product_template_form_view" />
<field name= "arch" type= "xml" >
<xpath expr= "//form" position= "attributes" >
<attribute name= "name" > Product Template</attribute>
</xpath>
2014-09-30 09:08:50 +00:00
<field name= "active" position= "after" >
2014-09-30 11:34:44 +00:00
<field name= "ean13" attrs= "{'invisible': [('product_variant_count', '>', 1)]}" />
<field name= "default_code" attrs= "{'invisible': [('product_variant_count', '>', 1)]}" />
2014-09-30 09:08:50 +00:00
</field>
2014-07-11 14:22:52 +00:00
<xpath expr= "//page[@string='Sales']" position= "after" >
<page name= "variants" string= "Variants" >
<div class= "oe_right" >
<button class= "oe_inline oe_stat_button" string= "Variant Prices" name= "%(variants_template_action)d" type= "action" icon= "fa-strikethrough" />
<button class= "oe_inline oe_stat_button" name= "%(product.product_variant_action)d" type= "action" icon= "fa-sitemap" >
2014-07-28 07:35:25 +00:00
<field string= "List of Variants" name= "product_variant_count" widget= "statinfo" />
2014-07-11 14:22:52 +00:00
</button>
</div>
2014-12-10 10:21:17 +00:00
<p class= "oe_grey" >
<strong > Warning</strong> : adding or deleting attributes
will delete and recreate existing variants and lead
2015-01-18 23:00:14 +00:00
to the loss of their possible customizations.
2014-12-10 10:21:17 +00:00
</p>
2014-11-06 17:44:19 +00:00
<field name= "attribute_line_ids" widget= "one2many_list" context= "{'show_attribute': False}" >
2014-07-11 14:22:52 +00:00
<tree string= "Variants" editable= "bottom" >
<field name= "attribute_id" />
2014-08-22 12:20:14 +00:00
<field name= "value_ids" widget= "many2many_tags" options= "{'no_create_edit': True}" domain= "[('attribute_id', '=', attribute_id)]" context= "{'default_attribute_id': attribute_id}" />
2014-07-11 14:22:52 +00:00
</tree>
</field>
</page>
</xpath>
</field>
</record>
2014-05-27 07:42:52 +00:00
<record id= "product_template_kanban_view" model= "ir.ui.view" >
<field name= "name" > Product.template.product.kanban</field>
<field name= "model" > product.template</field>
2011-09-20 11:12:57 +00:00
<field name= "arch" type= "xml" >
2011-11-30 17:18:18 +00:00
<kanban >
2014-05-27 07:42:52 +00:00
<field name= "image_small" />
<field name= "lst_price" />
2014-07-11 14:22:52 +00:00
<field name= "is_product_variant" />
<field name= "product_variant_count" />
<field name= "product_variant_ids" />
2011-09-20 11:12:57 +00:00
<templates >
<t t-name= "kanban-box" >
2012-09-04 16:37:25 +00:00
<div class= "oe_kanban_vignette oe_semantic_html_override" >
2014-05-27 07:42:52 +00:00
<a type= "open" > <img t-att-src= "kanban_image('product.template', 'image_small', record.id.value)" class= "oe_kanban_image" /> </a>
2012-09-03 17:54:10 +00:00
<div class= "oe_kanban_details" >
<h4 >
<a type= "open" >
2015-01-24 03:25:51 +00:00
<span t-if= "record.default_code.value" >
[<field name= "default_code" /> ]
</span>
2014-05-27 07:42:52 +00:00
<field name= "name" />
2012-09-03 17:54:10 +00:00
</a>
</h4>
2014-07-28 07:35:25 +00:00
<a name= "%(product.product_variant_action)d" type= "action" >
2014-07-11 14:22:52 +00:00
<t t-esc= "record.product_variant_count.value" /> Variants
</a>
2012-09-03 17:54:10 +00:00
<div name= "tags" />
<ul >
<li > Price: <field name= "lst_price" > </field> </li>
</ul>
2011-09-20 11:12:57 +00:00
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
2011-10-25 14:13:28 +00:00
2014-05-27 07:42:52 +00:00
<record id= "product_template_action" model= "ir.actions.act_window" >
2008-07-01 15:58:58 +00:00
<field name= "name" > Products</field>
<field name= "type" > ir.actions.act_window</field>
2014-05-27 07:42:52 +00:00
<field name= "res_model" > product.template</field>
<field name= "view_mode" > kanban,tree,form</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "product_template_kanban_view" />
2014-09-12 16:53:48 +00:00
<field name= "context" > {"search_default_filter_to_sell":1}</field>
2014-05-27 07:42:52 +00:00
</record>
<menuitem action= "product_template_action"
id="menu_product_template_action"
parent="base.menu_product" sequence="1" />
<!-- product product -->
2014-07-08 07:12:17 +00:00
<menuitem id= "prod_config_main" name= "Product Categories & Attributes" parent= "base.menu_base_config" sequence= "70" groups= "base.group_no_one" />
2014-05-27 07:42:52 +00:00
<record id= "product_product_tree_view" model= "ir.ui.view" >
<field name= "name" > product.product.tree</field>
<field name= "model" > product.product</field>
<field eval= "7" name= "priority" />
<field name= "arch" type= "xml" >
<tree string= "Product Variants" >
<field name= "default_code" />
<field name= "name" />
2014-05-28 17:42:15 +00:00
<field name= "attribute_value_ids" widget= "many2many_tags" />
2014-05-27 07:42:52 +00:00
<field name= "lst_price" />
<field name= "price" invisible= "not context.get('pricelist',False)" />
<field name= "uom_id" />
<field name= "ean13" />
<field name= "state" invisible= "1" />
<field name= "product_tmpl_id" invisible= "1" />
</tree>
</field>
</record>
<record id= "product_normal_form_view" model= "ir.ui.view" >
<field name= "name" > product.product.form</field>
<field name= "model" > product.product</field>
<field name= "mode" > primary</field>
<field eval= "7" name= "priority" />
<field name= "inherit_id" ref= "product.product_template_form_view" />
<field name= "arch" type= "xml" >
<form position= "attributes" >
<attribute name= "string" > Product Variant</attribute>
</form>
2014-09-30 09:08:50 +00:00
<field name= "active" position= "after" >
<field name= "ean13" />
<field name= "default_code" />
</field>
2014-07-09 11:20:48 +00:00
<field name= "list_price" position= "attributes" >
<attribute name= "name" > lst_price</attribute>
</field>
2014-05-27 07:42:52 +00:00
<field name= "name" position= "replace" >
<field name= "name" attrs= "{'invisible': [('id', '!=', False)]}" />
2014-06-03 09:13:50 +00:00
<field name= "product_tmpl_id" class= "oe_inline" readonly= "1" attrs= "{'invisible': [('id', '=', False)], 'required': [('id', '!=', False)]}" />
2014-05-27 07:42:52 +00:00
</field>
<xpath expr= "//div[@class='oe_title']" position= "inside" >
2014-05-28 17:42:15 +00:00
<field name= "attribute_value_ids" widget= "many2many_tags" />
2014-05-27 07:42:52 +00:00
</xpath>
</field>
</record>
<record id= "product_kanban_view" model= "ir.ui.view" >
<field name= "name" > Product Kanban</field>
<field name= "model" > product.product</field>
<field name= "arch" type= "xml" >
2014-06-13 15:08:19 +00:00
<kanban >
<field name= "image_small" />
<field name= "lst_price" />
<templates >
<t t-name= "kanban-box" >
<div class= "oe_kanban_vignette oe_semantic_html_override" >
<a type= "open" > <img t-att-src= "kanban_image('product.product', 'image_small', record.id.value)" class= "oe_kanban_image" /> </a>
<div class= "oe_kanban_details" >
<h4 >
<a type= "open" >
<field name= "name" />
<field name= "attribute_value_ids" />
</a>
</h4>
<div name= "tags" />
<ul >
<li > Price: <field name= "lst_price" > </field> </li>
</ul>
</div>
</div>
</t>
</templates>
</kanban>
2014-05-27 07:42:52 +00:00
</field>
</record>
<!-- -->
2014-07-08 07:12:17 +00:00
<record id= "attribute_tree_view" model= "ir.ui.view" >
<field name= "name" > product.attribute.tree</field>
<field name= "model" > product.attribute</field>
<field name= "arch" type= "xml" >
<tree string= "Variant Values" editable= "top" >
<field name= "name" />
</tree>
2012-08-04 13:21:36 +00:00
</field>
2008-06-29 08:26:07 +00:00
</record>
2014-05-27 07:42:52 +00:00
2014-07-08 07:12:17 +00:00
<record id= "attribute_action" model= "ir.actions.act_window" >
<field name= "name" > Attributes</field>
2011-05-26 08:59:36 +00:00
<field name= "type" > ir.actions.act_window</field>
2014-07-08 07:12:17 +00:00
<field name= "res_model" > product.attribute</field>
<field name= "view_mode" > tree</field>
2011-05-26 08:59:36 +00:00
<field name= "view_type" > form</field>
</record>
2012-03-19 10:09:54 +00:00
2014-07-08 07:12:17 +00:00
<menuitem action= "attribute_action"
id="menu_attribute_action"
parent="product.prod_config_main" sequence="9" />
<record id= "variants_tree_view" model= "ir.ui.view" >
<field name= "name" > product.attribute.value.tree</field>
<field name= "model" > product.attribute.value</field>
2014-05-27 07:42:52 +00:00
<field name= "arch" type= "xml" >
2014-07-08 07:12:17 +00:00
<tree string= "Variant Values" editable= "top" >
<field name= "sequence" widget= "handle" />
<field name= "attribute_id" />
<field name= "name" />
</tree>
2014-05-27 07:42:52 +00:00
</field>
2012-03-19 10:09:54 +00:00
</record>
2009-11-25 09:31:44 +00:00
2014-07-08 07:12:17 +00:00
<record id= "variants_action" model= "ir.actions.act_window" >
<field name= "name" > Attribute Values</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.attribute.value</field>
<field name= "view_mode" > tree</field>
<field name= "view_type" > form</field>
2012-04-18 12:24:59 +00:00
</record>
2014-07-08 07:12:17 +00:00
<menuitem action= "variants_action"
id="menu_variants_action"
parent="product.prod_config_main" sequence="10" />
2014-05-27 07:42:52 +00:00
<!-- -->
2009-11-25 09:31:44 +00:00
2014-05-27 07:42:52 +00:00
<record id= "product_normal_action_sell" model= "ir.actions.act_window" >
<field name= "name" > Product Variants</field>
2010-01-12 10:08:25 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
2012-09-11 08:49:29 +00:00
<field name= "view_mode" > kanban,tree,form</field>
2014-05-27 07:42:52 +00:00
<field name= "view_type" > form</field>
<field name= "context" > {"search_default_filter_to_sell":1}</field>
<field name= "view_id" ref= "product_product_tree_view" />
2010-01-12 10:08:25 +00:00
<field name= "search_view_id" ref= "product_search_form_view" />
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 define a new product.
</p> <p >
2014-05-27 07:42:52 +00:00
You must define a product for everything you sell, whether it's
a physical product, a consumable or a service you offer to
customers.
2012-08-04 13:21:36 +00:00
</p> <p >
2014-05-27 07:42:52 +00:00
The product form contains information to simplify the sale
process: price, notes in the quotation, accounting data,
procurement methods, etc.
2012-08-04 13:21:36 +00:00
</p>
</field>
2010-01-12 10:08:25 +00:00
</record>
2014-05-27 07:42:52 +00:00
<menuitem id= "product.menu_products" action= "product.product_normal_action_sell" parent= "base.menu_product" groups= "base.group_no_one" sequence= "10" />
2012-01-23 07:04:25 +00:00
<record id= "product_category_search_view" model= "ir.ui.view" >
<field name= "name" > product.category.search</field>
<field name= "model" > product.category</field>
<field name= "arch" type= "xml" >
<search string= "Product Categories" >
2012-06-22 11:12:51 +00:00
<field name= "name" string= "Product Categories" />
2012-01-26 15:34:59 +00:00
<field name= "parent_id" />
2012-01-23 07:04:25 +00:00
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_category_form_view" model= "ir.ui.view" >
<field name= "name" > product.category.form</field>
<field name= "model" > product.category</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Product Categories" >
2012-07-02 16:37:25 +00:00
<sheet >
2012-07-19 09:02:43 +00:00
<div class= "oe_title" >
<label for= "name" class= "oe_edit_only" />
<h1 >
<field name= "name" />
</h1>
</div>
2012-07-02 16:37:25 +00:00
<group >
2012-10-18 07:24:56 +00:00
<group name= "parent" col= "4" >
2012-07-09 05:40:08 +00:00
<field name= "parent_id" />
<field name= "type" />
</group>
2012-07-02 16:37:25 +00:00
</group>
</sheet>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-09-05 15:04:38 +00:00
<record id= "product_category_list_view" model= "ir.ui.view" >
<field name= "name" > product.category.list</field>
<field name= "model" > product.category</field>
2008-09-07 23:24:39 +00:00
<field name= "priority" > 1</field>
2008-09-05 15:04:38 +00:00
<field name= "arch" type= "xml" >
<tree string= "Product Categories" >
<field name= "complete_name" />
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_category_tree_view" model= "ir.ui.view" >
<field name= "name" > product.category.tree</field>
<field name= "model" > product.category</field>
<field name= "field_parent" > child_id</field>
<field name= "arch" type= "xml" >
2009-09-24 10:46:21 +00:00
<tree toolbar= "True" string= "Product Categories" >
2009-01-06 09:42:59 +00:00
<field name= "name" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_category_action" model= "ir.actions.act_window" >
<field name= "name" > Products by Category</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.category</field>
<field name= "domain" > [('parent_id','=',False)]</field>
<field name= "view_type" > tree</field>
<field name= "view_id" ref= "product_category_tree_view" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:21:36 +00:00
<p >
Here is a list of all your products classified by category. You
can click a category to get the list of all products linked to
this category or to a child of this category.
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2010-06-21 18:40:58 +00:00
<menuitem
action="product_category_action"
id="product.menu_products_category"
parent="base.menu_product"
2014-01-26 20:59:54 +00:00
sequence="30" groups="base.group_no_one"/>
2008-07-01 15:58:58 +00:00
<record id= "product_category_action_form" model= "ir.actions.act_window" >
2011-02-09 04:07:01 +00:00
<field name= "name" > Product Categories</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.category</field>
<field name= "view_type" > form</field>
2012-01-23 07:04:25 +00:00
<field name= "search_view_id" ref= "product_category_search_view" />
2009-01-07 13:22:12 +00:00
<field name= "view_id" ref= "product_category_list_view" />
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem action= "product_category_action_form"
2012-03-20 09:39:43 +00:00
groups="base.group_no_one"
2010-04-16 09:16:25 +00:00
id="menu_product_category_action_form"
2010-05-27 09:26:52 +00:00
parent="prod_config_main" sequence="2"/>
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_normal_action_tree" model= "ir.actions.act_window" >
2014-05-27 07:42:52 +00:00
<field name= "name" > Product Variants</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
<field name= "view_type" > form</field>
2011-12-23 12:24:34 +00:00
<field name= "view_mode" > tree,form,kanban</field>
2011-05-16 11:09:35 +00:00
<field name= "context" > {'categ_id':active_id, 'search_default_categ_id':active_id}</field>
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "ir_product_category_open" model= "ir.values" >
<field eval= "'tree_but_open'" name= "key2" />
<field eval= "'product.category'" name= "model" />
<field name= "name" > Products by Categories</field>
<field eval= "'ir.actions.act_window,%d'%product_normal_action_tree" name= "value" />
2008-06-29 08:26:07 +00:00
</record>
2009-11-25 09:31:44 +00:00
2008-07-01 11:15:14 +00:00
<!-- Unit of Measure -->
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_uom_tree_view" model= "ir.ui.view" >
<field name= "name" > product.uom.tree</field>
<field name= "model" > product.uom</field>
<field name= "arch" type= "xml" >
2008-11-03 07:46:37 +00:00
<tree string= "Units of Measure" >
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "category_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_uom_form_view" model= "ir.ui.view" >
<field name= "name" > product.uom.form</field>
<field name= "model" > product.uom</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Units of Measure" >
2012-06-09 15:28:02 +00:00
<group >
2012-06-26 06:02:07 +00:00
<group >
2012-06-09 15:28:02 +00:00
<field name= "name" />
2012-06-10 08:35:15 +00:00
<field name= "category_id" />
2012-10-13 10:09:05 +00:00
<field name= "uom_type" on_change= "onchange_type(uom_type)" />
2015-03-31 08:58:43 +00:00
<field name= "factor"
digits="[42,5]"
attrs="{'invisible':[('uom_type','!=','smaller')],
'readonly':[('uom_type','=','bigger')]}"/>
<field name= "factor_inv"
digits="[42,5]"
attrs="{'invisible':[('uom_type','!=','bigger')],
'readonly':[('uom_type','!=','bigger')]}"/>
<p attrs= "{'invisible':[('uom_type','!=','smaller')]}" class= "oe_grey" colspan= "2" >
e.g: 1 * (reference unit) = ratio * (this unit)
</p>
<p attrs= "{'invisible':[('uom_type','!=','bigger')]}" class= "oe_grey" colspan= "2" >
e.g: 1 * (this unit) = ratio * (reference unit)
</p>
2010-07-07 23:44:19 +00:00
</group>
2012-06-26 06:02:07 +00:00
<group >
2012-10-13 10:09:05 +00:00
<field name= "active" />
2014-11-21 14:19:53 +00:00
<field name= "rounding" digits= "[42, 5]" />
2010-06-26 15:15:23 +00:00
</group>
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_uom_form_action" model= "ir.actions.act_window" >
2008-11-03 07:46:37 +00:00
<field name= "name" > Units of Measure</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.uom</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "product_uom_tree_view" />
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 new unit of measure.
</p> <p >
You must define a conversion rate between several Units of
Measure within the same category.
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2012-04-03 08:27:56 +00:00
<menuitem id= "next_id_16" name= "Units of Measure" parent= "prod_config_main" sequence= "30" groups= "product.group_uom" />
2012-04-26 07:25:19 +00:00
<menuitem action= "product_uom_form_action" id= "menu_product_uom_form_action" parent= "base.menu_base_config" sequence= "30" groups= "product.group_uom" />
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_uom_categ_form_view" model= "ir.ui.view" >
<field name= "name" > product.uom.categ.form</field>
<field name= "model" > product.uom.categ</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Units of Measure categories" >
2012-06-09 15:28:02 +00:00
<group >
<field name= "name" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_uom_categ_form_action" model= "ir.actions.act_window" >
2012-04-24 10:59:41 +00:00
<field name= "name" > Unit of Measure Categories</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.uom.categ</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
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 new unit of measure category.
</p> <p >
Units of measure belonging to the same category can be
converted between each others. For example, in the category
<i > 'Time'</i> , you will have the following units of measure:
Hours, Days.
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2012-05-16 07:18:53 +00:00
<menuitem action= "product_uom_categ_form_action" id= "menu_product_uom_categ_form_action" parent= "base.menu_base_config" sequence= "25" groups= "base.group_no_one" />
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_ul_form_view" model= "ir.ui.view" >
<field name= "name" > product.ul.form.view</field>
<field name= "model" > product.ul</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Logistic Units" >
2014-04-22 10:03:06 +00:00
<sheet >
2012-06-09 15:28:02 +00:00
<group >
2012-06-22 13:09:39 +00:00
<field name= "name" />
<field name= "type" />
2012-06-09 15:28:02 +00:00
</group>
2014-03-20 12:13:35 +00:00
<group >
<field name= "height" />
<field name= "width" />
<field name= "length" />
<field name= "weight" />
</group>
2014-04-22 10:03:06 +00:00
</sheet>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_ul_tree" model= "ir.ui.view" >
<field name= "name" > product.ul.tree</field>
<field name= "model" > product.ul</field>
<field name= "arch" type= "xml" >
2014-03-20 14:09:59 +00:00
<tree string= "Logistic Units" >
2012-06-09 15:28:02 +00:00
<field name= "name" />
<field name= "type" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_ul_form_action" model= "ir.actions.act_window" >
2014-03-20 14:09:59 +00:00
<field name= "name" > Logistic Units</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.ul</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
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" >
2014-03-20 14:09:59 +00:00
Click to add a new Logistic Unit
2012-08-04 13:21:36 +00:00
</p> <p >
2014-03-20 14:09:59 +00:00
The logistic unit defines the container used for the package.
It has a type (e.g. pallet, box, ...) and you can specify its
size.
2012-08-04 13:21:36 +00:00
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem
2013-11-28 06:21:51 +00:00
action="product_ul_form_action" groups="product.group_stock_packaging" id="menu_product_ul_form_action" parent="prod_config_main" sequence="5"/>
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_packaging_tree_view" model= "ir.ui.view" >
<field name= "name" > product.packaging.tree.view</field>
<field name= "model" > product.packaging</field>
<field name= "arch" type= "xml" >
<tree string= "Packaging" >
2012-08-31 13:50:10 +00:00
<field name= "sequence" widget= "handle" />
2014-09-19 07:35:23 +00:00
<field name= "product_tmpl_id" />
2008-07-01 15:58:58 +00:00
<field name= "ean" />
<field name= "qty" />
<field name= "ul" />
2014-03-20 12:13:35 +00:00
<field name= "ul_container" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-11-25 09:31:44 +00:00
2014-09-19 07:35:23 +00:00
<record id= "product_packaging_tree_view_product" model= "ir.ui.view" >
<field name= "name" > product.packaging.tree.view.product</field>
<field name= "model" > product.packaging</field>
<field name= "arch" type= "xml" >
<tree string= "Packaging" >
<field name= "qty" />
<field name= "ul" />
<field name= "ul_qty" />
<field name= "rows" />
<field name= "ul_container" />
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_packaging_form_view" model= "ir.ui.view" >
<field name= "name" > product.packaging.form.view</field>
<field name= "model" > product.packaging</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Packaging" >
2012-06-09 15:28:02 +00:00
<group col= "4" >
2014-06-03 09:53:41 +00:00
<field name= "product_tmpl_id" />
2012-06-09 15:28:02 +00:00
<newline />
<field name= "ean" />
<field name= "sequence" invisible= "1" />
2014-09-19 07:35:23 +00:00
<newline />
<field name= "qty" />
<field name= "ul" />
<separator colspan= "4" string= "Palletization" />
<field name= "ul_qty" />
<field name= "rows" />
<field name= "ul_container" />
<field name= "weight" />
<separator colspan= "4" string= "Other Info" />
<field colspan= "4" name= "name" />
</group>
</form>
</field>
</record>
<record id= "product_packaging_form_view_without_product" model= "ir.ui.view" >
<field name= "name" > product.packaging.form.view.without.product</field>
<field name= "model" > product.packaging</field>
<field name= "arch" type= "xml" >
<form string= "Packaging" >
<group col= "4" >
<field name= "ean" />
<field name= "sequence" invisible= "1" />
2012-06-09 15:28:02 +00:00
<newline />
<field name= "qty" />
<field name= "ul" />
<separator colspan= "4" string= "Palletization" />
<field name= "ul_qty" />
<field name= "rows" />
2014-03-20 14:09:59 +00:00
<field name= "ul_container" />
2012-06-09 15:28:02 +00:00
<field name= "weight" />
<separator colspan= "4" string= "Other Info" />
<field colspan= "4" name= "name" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_supplierinfo_form_view" model= "ir.ui.view" >
<field name= "name" > product.supplierinfo.form.view</field>
<field name= "model" > product.supplierinfo</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Supplier Information" >
2012-06-09 15:28:02 +00:00
<group col= "4" >
2012-06-28 12:18:20 +00:00
<field name= "name" context= "{'default_customer': 0, 'search_default_supplier': 1, 'default_supplier': 1}" />
2012-06-09 15:28:02 +00:00
<field name= "sequence" />
<field name= "product_name" />
<field name= "product_code" />
<field name= "min_qty" />
2012-06-11 13:04:07 +00:00
<field name= "product_uom" groups= "product.group_uom" />
2012-06-09 15:28:02 +00:00
<field name= "delay" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
</group>
2013-03-22 12:56:01 +00:00
<p groups= "product.group_purchase_pricelist" class= "oe_grey" > The prices below will only be taken into account when your pricelist is set as based on supplier prices.</p>
2013-02-27 15:17:37 +00:00
<field groups= "product.group_purchase_pricelist" name= "pricelist_ids" >
2008-07-01 15:58:58 +00:00
<tree editable= "bottom" string= "Pricelist" >
<field name= "min_quantity" />
<field name= "price" />
2008-06-29 08:26:07 +00:00
</tree>
2014-06-12 07:09:59 +00:00
<form >
2012-06-09 15:28:02 +00:00
<group >
<field name= "min_quantity" />
<field name= "price" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_supplierinfo_tree_view" model= "ir.ui.view" >
<field name= "name" > product.supplierinfo.tree.view</field>
<field name= "model" > product.supplierinfo</field>
<field name= "arch" type= "xml" >
<tree string= "Supplier Information" >
2012-08-31 13:50:10 +00:00
<field name= "sequence" widget= "handle" />
2008-07-01 15:58:58 +00:00
<field name= "name" />
<field name= "delay" />
2010-10-09 16:01:43 +00:00
<field name= "min_qty" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-11-25 09:31:44 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>