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 >
2012-04-25 13:56:29 +00:00
<menuitem id= "prod_config_main" name= "Products" parent= "base.menu_base_config" sequence= "70" />
2010-05-27 09:26:52 +00:00
2009-09-24 10:46:21 +00:00
<record id= "product_search_form_view" model= "ir.ui.view" >
<field name= "name" > product.search.form</field>
<field name= "model" > product.product</field>
<field name= "arch" type= "xml" >
<search string= "Product" >
2012-06-19 10:03:44 +00:00
<field name= "name" string= "Product" filter_domain= "['|',('name','ilike',self),('default_code','ilike',self)]" />
2011-01-11 09:07:20 +00:00
<filter string= "Services" icon= "terp-accessories-archiver" domain= "[('type','=','service')]" />
2012-10-05 07:28:25 +00:00
<filter string= "Consumable" name= "consumable" icon= "terp-accessories-archiver" domain= "[('type','=','consu')]" help= "Consumable products" />
2012-07-23 06:13:22 +00:00
<separator />
2012-07-20 11:40:06 +00:00
<filter string= "Can be Sold" name= "filter_to_sell" icon= "terp-accessories-archiver-minus" domain= "[('sale_ok','=',1)]" />
2012-10-09 05:25:59 +00:00
<field name= "categ_id" />
2012-04-25 13:56:29 +00:00
<group expand= "0" string= "Context..." >
2013-10-04 10:52:18 +00:00
<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! -->
2012-07-23 06:13:22 +00:00
<field name= "company_id" groups= "base.group_multi_company" />
2010-09-27 07:41:24 +00:00
</group>
2012-04-25 13:56:29 +00:00
<group expand= '0' string= 'Group by...' >
<filter string= 'Category' icon= "terp-stock_symbol-selection" 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'}" />
<filter string= 'Company' icon= "terp-go-home" domain= "[]" context= "{'group_by' : 'company_id'}" groups= "base.group_multi_company" />
2010-03-02 12:40:41 +00:00
</group>
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2009-11-25 09:31:44 +00:00
2008-07-01 15:58:58 +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" >
2010-02-23 16:05:50 +00:00
<tree colors= "red:virtual_available<0;blue:virtual_available>=0 and state in ('draft', 'end', 'obsolete');black:virtual_available>=0 and state not in ('draft', 'end', 'obsolete')" string= "Products" >
2008-07-01 15:58:58 +00:00
<field name= "default_code" />
<field name= "name" />
2010-04-18 15:32:44 +00:00
<field name= "categ_id" invisible= "1" />
2012-08-24 10:22:27 +00:00
<field name= "type" invisible= "1" />
2012-04-25 11:29:50 +00:00
<field name= "uom_id" string= "Unit of Measure" groups= "product.group_uom" />
2008-07-01 15:58:58 +00:00
<field name= "qty_available" />
<field name= "virtual_available" />
<field name= "lst_price" />
2010-02-23 06:33:50 +00:00
<field name= "price" invisible= "not context.get('pricelist',False)" />
2012-08-11 13:34:06 +00:00
<field name= "standard_price" invisible= "1" />
2012-04-25 13:56:29 +00:00
<field name= "state" />
2011-04-20 09:42:51 +00:00
<field name= "company_id" groups= "base.group_multi_company" invisible= "1" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2012-06-06 15:25:26 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_normal_form_view" model= "ir.ui.view" >
<field name= "name" > product.normal.form</field>
<field name= "model" > product.product</field>
<field eval= "7" name= "priority" />
<field name= "arch" type= "xml" >
2012-06-28 12:18:20 +00:00
<form string= "Product" version= "7.0" >
2012-06-13 09:06:57 +00:00
<sheet >
2012-09-26 12:02:41 +00:00
<field name= "image_medium" widget= "image" class= "oe_avatar oe_left" />
2012-06-19 08:56:18 +00:00
<div class= "oe_title" >
<div class= "oe_edit_only" >
2012-07-25 16:23:06 +00:00
<label for= "name" string= "Product Name" />
2012-06-13 09:06:57 +00:00
</div>
<h1 >
<field name= "name" />
</h1>
2012-06-22 13:09:39 +00:00
<label for= "categ_id" class= "oe_edit_only" />
<h2 > <field name= "categ_id" /> </h2>
2013-08-28 15:16:58 +00:00
<label for= "public_categ_id" class= "oe_edit_only" />
<h3 > <field name= "public_categ_id" /> </h3>
2012-08-31 13:50:10 +00:00
<div name= "options" groups= "base.group_user" >
<field name= "sale_ok" />
<label for= "sale_ok" />
</div>
2012-06-13 09:06:57 +00:00
</div>
2012-08-31 08:39:09 +00:00
<div class= "oe_right oe_button_box" name= "buttons" >
2012-06-13 09:06:57 +00:00
</div>
<notebook >
<page string= "Information" >
2012-06-08 18:35:18 +00:00
<group >
2012-06-13 09:06:57 +00:00
<group >
<field name= "type" />
2012-09-02 13:14:13 +00:00
<field name= "uom_id" on_change= "onchange_uom(uom_id,uom_po_id)" groups= "product.group_uom" />
2012-06-13 09:06:57 +00:00
<field name= "list_price" />
2012-08-31 13:50:10 +00:00
</group>
2012-06-13 09:06:57 +00:00
<group >
<field name= "default_code" />
2012-08-31 16:28:31 +00:00
<label for= "ean13" />
<div name= "ean" >
2012-08-31 16:35:17 +00:00
<field name= "ean13" placeholder= "e.g. 5901234123457" />
2012-08-31 16:28:31 +00:00
</div>
2013-05-14 15:27:24 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2012-06-13 09:06:57 +00:00
</group>
2012-08-31 13:50:10 +00:00
</group>
2012-11-22 10:41:59 +00:00
<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" >
2012-09-02 12:32:45 +00:00
<field name= "cost_method" groups= "product.group_costing_method" />
<field name= "standard_price" attrs= "{'readonly':[('cost_method','=','average')]}" />
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" >
2012-09-17 14:47:40 +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>
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>
<page string= "Inventory" groups= "base.group_user" >
<group name= "inventory" >
2012-06-13 09:06:57 +00:00
<group name= "status" string= "Status" >
<field name= "state" />
2013-01-30 11:46:52 +00:00
<field name= "product_manager"
2013-09-04 14:11:22 +00:00
context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_manager']}"/>
2012-06-13 09:06:57 +00:00
</group>
2012-10-03 06:48:40 +00:00
<group name= "Weights" groups= "product.group_stock_packaging" string= "Weights" >
2012-06-13 09:06:57 +00:00
<field digits= "(14, 3)" name= "volume" attrs= "{'readonly':[('type','=','service')]}" />
<field name= "weight" attrs= "{'readonly':[('type','=','service')]}" />
<field name= "weight_net" attrs= "{'readonly':[('type','=','service')]}" />
</group>
2012-06-08 18:35:18 +00:00
</group>
2012-06-13 09:06:57 +00:00
</page>
2012-11-26 11:26:43 +00:00
<page string= "Sales" attrs= "{'invisible':[('sale_ok','=',False)]}" >
2012-08-31 16:28:31 +00:00
<group name= "sale" >
2012-08-31 17:47:46 +00:00
<group string= "Sale Conditions" >
<label for= "warranty" />
<div >
<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" >
2012-08-31 13:50:10 +00:00
<field name= "uos_id" />
<field name= "uos_coeff" />
<field name= "mes_type" />
</group>
</group>
<field name= "packaging" groups= "product.group_stock_packaging" >
2012-06-13 09:06:57 +00:00
<form string= "Packaging" version= "7.0" >
<group col= "4" >
<field name= "ean" />
<field name= "sequence" invisible= "1" />
<newline />
<field name= "qty" />
<field name= "ul" />
<field name= "weight_ul" />
<separator colspan= "4" string= "Palletization" />
<field name= "ul_qty" />
<field name= "rows" />
<field name= "weight" />
<separator colspan= "4" string= "Pallet Dimension" />
<field name= "height" />
<field name= "width" />
<field name= "length" />
</group>
<separator colspan= "4" string= "Description" />
<field name= "name" />
</form>
</field>
2012-10-03 11:13:35 +00:00
<separator string= "Description for Quotations" />
2012-09-03 17:54:10 +00:00
<field name= "description_sale" placeholder= "note to be displayed on quotations..." />
2012-06-13 09:06:57 +00:00
</page>
</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
2011-09-20 11:12:57 +00:00
<!-- Product Kanban View -->
2012-09-03 17:54:10 +00:00
<record model= "ir.ui.view" id= "product.product_kanban_view" >
2011-09-20 11:12:57 +00:00
<field name= "name" > Product Kanban</field>
<field name= "model" > product.product</field>
<field name= "arch" type= "xml" >
2011-11-30 17:18:18 +00:00
<kanban >
2011-10-25 14:13:28 +00:00
<field name= "color" />
<field name= "type" />
2012-09-03 17:54:10 +00:00
<field name= "image_small" />
2011-10-25 14:13:28 +00:00
<field name= "list_price" />
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" >
2012-09-03 17:54:10 +00:00
<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" >
<t t-if= "record.code.raw_value" > [<field name= "code" /> ]</t> <field name= "name" />
</a>
</h4>
<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
2008-07-01 15:58:58 +00:00
<record id= "product_normal_action" model= "ir.actions.act_window" >
<field name= "name" > Products</field>
<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>
2008-07-01 15:58:58 +00:00
<field name= "view_id" ref= "product_product_tree_view" />
2009-11-25 09:31:44 +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 >
You must define a product for everything you buy or sell,
2012-10-12 12:58:42 +00:00
whether it's a physical product, a consumable or service.
2012-08-04 13:21:36 +00:00
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2011-05-26 08:59:36 +00:00
<record id= "product_normal_action_sell" model= "ir.actions.act_window" >
<field name= "name" > Products</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
2012-09-03 17:54:10 +00:00
<field name= "view_mode" > kanban,tree,form</field>
2011-05-26 08:59:36 +00:00
<field name= "view_type" > form</field>
<field name= "context" > {"search_default_filter_to_sell":1}</field>
2012-03-19 10:09:54 +00:00
<field name= "view_id" ref= "product_product_tree_view" />
<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 >
2012-10-14 07:45:10 +00:00
You must define a product for everything you sell, whether it's
2012-08-04 13:21:36 +00:00
a physical product, a consumable or a service you offer to
customers.
</p> <p >
The product form contains information to simplify the sale
process: price, notes in the quotation, accounting data,
procurement methods, etc.
</p>
</field>
2011-05-26 08:59:36 +00:00
</record>
2012-03-19 10:09:54 +00:00
2011-09-20 11:12:57 +00:00
<record id= "open_view_product_tree1" model= "ir.actions.act_window.view" >
2012-04-18 12:24:59 +00:00
<field name= "sequence" eval= "2" />
2011-09-20 11:12:57 +00:00
<field name= "view_mode" > tree</field>
2012-09-03 17:54:10 +00:00
<field name= "view_id" ref= "product_product_tree_view" />
2011-09-20 11:12:57 +00:00
<field name= "act_window_id" ref= "product_normal_action_sell" />
</record>
2012-03-19 10:09:54 +00:00
2011-09-20 11:12:57 +00:00
<record id= "open_view_product_form1" model= "ir.actions.act_window.view" >
2012-04-18 12:24:59 +00:00
<field name= "sequence" eval= "3" />
2011-09-20 11:12:57 +00:00
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "product_normal_form_view" />
<field name= "act_window_id" ref= "product_normal_action_sell" />
2012-03-19 10:09:54 +00:00
</record>
2009-11-25 09:31:44 +00:00
2012-04-18 12:24:59 +00:00
<record id= "open_view_product_kanban1" model= "ir.actions.act_window.view" >
<field name= "sequence" eval= "1" />
<field name= "view_mode" > kanban</field>
2012-09-03 17:54:10 +00:00
<field name= "view_id" ref= "product_kanban_view" />
<field name= "act_window_id" ref= "product_normal_action_sell" />
2012-04-18 12:24:59 +00:00
</record>
2010-12-28 08:30:43 +00:00
<menuitem id= "base.menu_product" name= "Products" parent= "base.menu_base_partner" sequence= "9" />
2011-05-26 08:59:36 +00:00
<menuitem action= "product.product_normal_action_sell" id= "product.menu_products" parent= "base.menu_product" sequence= "1" />
2009-11-25 09:31:44 +00:00
2010-01-12 10:08:25 +00:00
<record id= "product_normal_action_puchased" model= "ir.actions.act_window" >
<field name= "name" > Products</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.product</field>
<field name= "view_type" > form</field>
2012-09-11 08:49:29 +00:00
<field name= "view_mode" > kanban,tree,form</field>
2011-04-26 14:33:13 +00:00
<field name= "context" > {"search_default_filter_to_purchase":1}</field>
2012-09-11 08:49:29 +00:00
<field name= "view_id" ref= "product_kanban_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 >
2012-10-09 05:18:20 +00:00
You must define a product for everything you purchase, whether
2012-08-04 13:21:36 +00:00
it's a physical product, a consumable or services you buy to
subcontractants.
</p> <p >
The product form contains detailed information to improve the
purchase process: prices, procurement logistics, accounting data,
available suppliers, etc.
</p>
</field>
2010-01-12 10:08:25 +00:00
</record>
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" >
2012-06-09 15:28:02 +00:00
<form string= "Product Categories" version= "7.0" >
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"
2012-05-16 10:09:32 +00:00
sequence="0" 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" >
2009-02-05 06:10:11 +00:00
<field name= "name" > Products</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
2013-08-28 15:16:58 +00:00
<!-- Product Public Categories -->
<record id= "product_public_category_form_view" model= "ir.ui.view" >
<field name= "name" > product.public.category.form</field>
<field name= "model" > product.public.category</field>
<field name= "arch" type= "xml" >
<form string= "Product Categories" version= "7.0" >
<sheet >
<field name= "image_medium" widget= 'image' class= "oe_avatar oe_right" />
<div class= "oe_left" >
<group >
<field name= "name" />
<field name= "parent_id" />
<field name= "sequence" />
</group>
</div>
</sheet>
</form>
</field>
</record>
<record id= "product_public_category_tree_view" model= "ir.ui.view" >
<field name= "name" > product.public.category.tree</field>
<field name= "model" > product.public.category</field>
<field name= "field_parent" eval= "False" />
<field name= "arch" type= "xml" >
<tree string= "Product Product Categories" >
<field name= "sequence" invisible= "1" />
<field name= "complete_name" />
</tree>
</field>
</record>
<record id= "product_public_category_action" model= "ir.actions.act_window" >
<field name= "name" > Public Categories</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.public.category</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" eval= "False" />
<field name= "help" type= "html" >
<p class= "oe_view_nocontent_create" >
Click to define a new category.
</p> <p >
Categories are used to browse your products through the
touchscreen interface.
</p> <p >
If you put a photo on the category, the layout of the
touchscreen interface will automatically. We suggest not to put
a photo on categories for small (1024x768) screens.
</p>
</field>
</record>
<menuitem action= "product_public_category_action" id= "menu_product_public_category" parent= "base.menu_product" sequence= "10" />
<!-- END -->
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" >
2012-06-09 15:28:02 +00:00
<form string= "Units of Measure" version= "7.0" >
<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)" />
<label for= "factor" />
<div >
<field name= "factor" attrs= "{'invisible':[('uom_type','!=','smaller')]}" />
<field name= "factor_inv" attrs= "{'invisible':[('uom_type','!=','bigger')]}" />
<p attrs= "{'invisible':[('uom_type','!=','smaller')]}" class= "oe_grey" >
e.g: 1 * (reference unit) = ratio * (this unit)
</p>
<p attrs= "{'invisible':[('uom_type','!=','bigger')]}" class= "oe_grey" >
e.g: 1 * (this unit) = ratio * (reference unit)
</p>
</div>
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" />
2012-06-09 15:28:02 +00:00
<field name= "rounding" />
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" >
2012-06-09 15:28:02 +00:00
<form string= "Units of Measure categories" version= "7.0" >
<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" >
2012-06-09 15:28:02 +00:00
<form string= "Packaging" version= "7.0" >
<group >
2012-06-22 13:09:39 +00:00
<field name= "name" />
<field name= "type" />
2012-06-09 15:28:02 +00:00
</group>
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" >
2009-01-27 11:15:46 +00:00
<tree string= "Packaging" >
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" >
2009-01-27 11:15:46 +00:00
<field name= "name" > Packaging</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" >
2012-08-04 13:21:36 +00:00
Click to add a new packaging type.
</p> <p >
The packaging type define the dimensions as well as the number
of products per package. This will ensure salesperson sell the
right number of products according to the package selected.
</p>
</field>
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem
2012-03-22 15:27:55 +00:00
action="product_ul_form_action" groups="product.group_stock_packaging" id="menu_product_ul_form_action" parent="prod_config_main" sequence="3"/>
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" />
2008-07-01 15:58:58 +00:00
<field name= "ean" />
<field name= "qty" />
<field name= "ul" />
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_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" >
2012-06-09 15:28:02 +00:00
<form string= "Packaging" version= "7.0" >
<group col= "4" >
<field name= "product_id" />
<newline />
<field name= "ean" />
<field name= "sequence" invisible= "1" />
<newline />
<field name= "qty" />
<field name= "ul" />
<field name= "weight_ul" />
<separator colspan= "4" string= "Palletization" />
<field name= "ul_qty" />
<field name= "rows" />
<field name= "weight" />
<separator colspan= "4" string= "Pallet Dimension" />
<field name= "height" />
<field name= "width" />
<field name= "length" />
<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" >
2012-06-09 15:28:02 +00:00
<form string= "Supplier Information" version= "7.0" >
<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>
2012-06-09 15:28:02 +00:00
<form version= "7.0" >
<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
2013-02-20 08:27:07 +00:00
<!-- Variants -->
2008-07-01 15:58:58 +00:00
<record id= "product_variant_form_view" model= "ir.ui.view" >
<field name= "name" > product.variant.form</field>
<field name= "model" > product.product</field>
<field name= "arch" type= "xml" >
2012-06-09 15:28:02 +00:00
<form string= "Product Variant" version= "7.0" >
<group col= "4" >
<field name= "product_tmpl_id" />
<field name= "active" />
2013-02-20 08:27:07 +00:00
<field name= "variants" required= "1" />
2012-06-09 15:28:02 +00:00
<field name= "default_code" />
<field name= "price_margin" />
<field name= "price_extra" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_variant_tree_view" model= "ir.ui.view" >
<field name= "name" > product.variant.tree</field>
<field name= "model" > product.product</field>
<field name= "arch" type= "xml" >
<tree string= "Product Variant" >
<field name= "product_tmpl_id" />
<field name= "variants" />
<field name= "default_code" />
<field name= "price_margin" />
<field name= "price_extra" />
2013-02-20 08:27:07 +00:00
<field name= "company_id" invisible= "1" />
<field name= "type" invisible= "1" />
<field name= "uom_id" invisible= "1" />
<field name= "categ_id" invisible= "1" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2013-02-20 08:27:07 +00:00
<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="domain">[('variants','<>', False)]</field> -->
<field name= "res_model" > product.product</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,kanban</field>
<field name= "view_id" ref= "product_variant_tree_view" />
<field name= "search_view_id" ref= "product_search_form_view" />
<field name= "help" type= "html" >
<p class= "oe_view_nocontent_create" >
Click to define a new variant of product.
</p>
</field>
</record>
<record id= "tree_view_product_variant" model= "ir.actions.act_window.view" >
<field name= "sequence" eval= "10" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "product_variant_tree_view" />
<field name= "act_window_id" ref= "product_variant_action" />
</record>
<record id= "form_view_product_variant" model= "ir.actions.act_window.view" >
<field name= "sequence" eval= "20" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "product_variant_form_view" />
<field name= "act_window_id" ref= "product_variant_action" />
</record>
<menuitem action= "product.product_variant_action" id= "product.menu_variant_product" parent= "base.menu_product" sequence= "100" groups= "product.group_product_variant" />
2009-01-26 11:57:45 +00:00
2013-02-20 08:27:07 +00:00
<!-- templates -->
2008-07-01 15:58:58 +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>
<field name= "arch" type= "xml" >
<tree string= "Product Template" >
<field name= "name" />
<field name= "categ_id" />
<field name= "type" />
2012-04-25 13:56:29 +00:00
<field name= "state" />
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_template_form_view" model= "ir.ui.view" >
<field name= "name" > product.template.product.form</field>
<field name= "model" > product.template</field>
<field name= "arch" type= "xml" >
2012-06-09 15:28:02 +00:00
<form string= "Product Template" version= "7.0" >
2013-10-02 16:27:38 +00:00
<sheet >
<field name= "image_medium" widget= "image" class= "oe_avatar oe_left" />
<div class= "oe_title" >
<div class= "oe_edit_only" >
<label for= "name" string= "Product Name" />
</div>
<h1 >
<field name= "name" />
</h1>
<label for= "categ_id" class= "oe_edit_only" />
<h2 > <field name= "categ_id" /> </h2>
<label for= "public_categ_id" class= "oe_edit_only" />
<h3 > <field name= "public_categ_id" /> </h3>
</div>
<notebook >
<page string= "Information" >
<group >
<group string= "Product Type" >
<field name= "sale_ok" />
</group>
<group string= "Procurement" >
<field name= "type" />
</group>
2008-11-27 00:00:02 +00:00
2013-10-02 16:27:38 +00:00
<group string= "Base Prices" >
<field name= "list_price" />
<field name= "standard_price" attrs= "{'readonly':[('cost_method','=','average')]}" />
<field name= "cost_method" />
</group>
2012-10-03 13:22:00 +00:00
2013-10-02 16:27:38 +00:00
<group string= "Weights" >
<field digits= "(14, 3)" name= "volume" attrs= "{'readonly':[('type','=','service')]}" />
<field digits= "(14, 3)" name= "weight" attrs= "{'readonly':[('type','=','service')]}" />
<field digits= "(14, 3)" name= "weight_net" attrs= "{'readonly':[('type','=','service')]}" />
</group>
2012-10-03 13:22:00 +00:00
2013-10-02 16:27:38 +00:00
<group name= "status" string= "Status" >
<field name= "categ_id" />
<field name= "state" />
<field name= "product_manager" context= "{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_manager']}" />
</group>
2012-10-03 13:22:00 +00:00
2013-10-02 16:27:38 +00:00
<group name= "uom" string= "Unit of Measure" >
<field name= "uom_id" on_change= "onchange_uom(uom_id,uom_po_id)" groups= "product.group_uom" />
<field name= "uom_po_id" />
</group>
2008-11-27 00:00:02 +00:00
2013-10-02 16:27:38 +00:00
<group name= "uos" groups= "product.group_uom" string= "Second Unit of Measure" >
<field name= "uos_id" />
<field name= "uos_coeff" />
<field name= "mes_type" />
</group>
<group colspan= "4" string= "Product Variants" >
<field colspan= "4" name= "product_variant_ids" nolabel= "1" >
<tree string= "Product Variants" editable= "bottom" >
<field name= "active" />
<field name= "variants" required= "1" />
<field name= "default_code" />
<field name= "price_margin" />
<field name= "price_extra" />
</tree>
</field>
</group>
</group>
</page>
<page string= "Procurement & Locations" >
<group >
<group name= "delay" string= "Delays" >
<label for= "produce_delay" />
<div >
<field name= "produce_delay" class= "oe_inline" /> days
</div>
<field name= "warranty" />
</group>
2012-06-09 15:28:02 +00:00
</group>
2008-11-27 00:00:02 +00:00
2013-10-02 16:27:38 +00:00
</page>
<page string= "Suppliers" >
<field name= "seller_ids" />
</page>
<page string= "Descriptions" >
<separator string= "Internal Description" />
<field name= "description" />
<separator string= "Sale Description" />
<field name= "description_sale" />
<separator string= "Purchase Description" />
<field name= "description_purchase" />
</page>
</notebook>
</sheet>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-11-25 09:31:44 +00:00
2009-09-24 10:46:21 +00:00
<record id= "product_template_action_tree" model= "ir.actions.act_window" >
<field name= "name" > Product Templates</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.template</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "product_template_tree_view" />
</record>
2010-10-11 06:18:14 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>