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')]" />
2011-10-13 07:10:04 +00:00
<filter string= "Products" icon= "terp-accessories-archiver" domain= "['|',('type','=','product'),('type','=','consu')]" help= "Both stockable and consumable products" />
2012-07-23 06:13:22 +00:00
<separator />
2011-05-26 06:26:58 +00:00
<filter string= "To Sell" name= "filter_to_sell" icon= "terp-accessories-archiver-minus" domain= "[('sale_ok','=',1)]" />
2012-07-30 12:36:28 +00:00
<separator />
2012-05-04 09:40:19 +00:00
<filter name= "filter_to_purchase" string= "To Purchase" icon= "terp-accessories-archiver+" domain= "[('purchase_ok', '=', 1)]" />
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)]" />
<filter name= "filter_to_purchase" string= "Can be Purchased" icon= "terp-accessories-archiver+" domain= "[('purchase_ok', '=', 1)]" />
2012-07-31 11:28:04 +00:00
<field name= "categ_id" operator= "child_of" />
2012-04-25 13:56:29 +00:00
<group expand= "0" string= "Context..." >
2012-07-23 06:13:22 +00:00
<field name= "pricelist_id" context= "{'pricelist': self}" groups= "product.group_sale_pricelist" />
<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" />
2009-12-15 15:50:01 +00:00
<field name= "variants" groups= "product.group_product_variant" />
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-04-25 13:56:29 +00:00
<field name= "standard_price" />
<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-06-22 13:09:39 +00:00
<field name= "product_image" widget= "image" class= "oe_avatar oe_right" />
2012-06-08 18:35:18 +00:00
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>
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= "default_code" />
2012-08-01 10:25:13 +00:00
<field name= "ean13" placeholder= "e.g. 5901234123457" />
2012-06-22 13:09:39 +00:00
<field groups= "product.group_product_variant" name= "variants" />
2012-06-13 09:06:57 +00:00
</group>
2012-06-22 13:09:39 +00:00
<group groups= "base.group_user" >
2012-06-13 09:06:57 +00:00
<field name= "sale_ok" />
<field name= "purchase_ok" />
</group>
<group string= "Procurement" >
<field name= "type" />
2012-07-25 16:23:06 +00:00
<field name= "procure_method" groups= "base.group_user" />
2012-06-22 13:09:39 +00:00
<field name= "supply_method" groups= "base.group_user" />
2012-06-13 09:06:57 +00:00
</group>
<group string= "Prices" >
<field name= "list_price" />
2012-07-25 16:23:06 +00:00
<field name= "cost_method" groups= "base.group_user" />
2012-06-13 09:06:57 +00:00
<field name= "standard_price" attrs= "{'readonly':[('cost_method','=','average')]}" />
<field name= "price_margin" groups= "product.group_product_variant" />
<field name= "price_extra" groups= "product.group_product_variant" />
</group>
2008-08-24 23:23:45 +00:00
2012-06-13 09:06:57 +00:00
<group groups= "product.group_stock_packaging" string= "Weights" >
<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>
2008-08-24 23:23:45 +00:00
2012-06-13 09:06:57 +00:00
<group name= "uom" groups= "product.group_uom" string= "Unit of Measure" >
<field name= "uom_id" on_change= "onchange_uom(uom_id,uom_po_id)" />
<field name= "uom_po_id" />
<field name= "uos_id" />
<field name= "uos_coeff" />
<field name= "mes_type" />
</group>
2008-08-24 23:23:45 +00:00
2012-06-13 09:06:57 +00:00
<group name= "status" string= "Status" >
<field name= "state" />
<field name= "product_manager" />
</group>
2008-08-24 23:23:45 +00:00
2012-06-08 18:35:18 +00:00
</group>
2012-06-13 09:06:57 +00:00
</page>
2012-06-22 13:09:39 +00:00
<page string= "Procurement & Locations" groups= "base.group_user" >
2012-06-13 09:06:57 +00:00
<group >
<group name= "delay" string= "Delays" >
<field name= "sale_delay" attrs= "{'readonly':[('sale_ok','=',0)]}" />
<field name= "produce_delay" attrs= "{'invisible':[('type','=','service')]}" />
<field name= "warranty" />
</group>
<group name= "store" string= "Storage Localisation" >
2012-06-22 13:09:39 +00:00
<field name= "loc_rack" attrs= "{'readonly':[('type','=','service')]}" />
2012-06-13 09:06:57 +00:00
<field name= "loc_row" attrs= "{'readonly':[('type','=','service')]}" />
<field name= "loc_case" attrs= "{'readonly':[('type','=','service')]}" />
</group>
<group name= "misc" string= "Miscellaneous" >
<field name= "active" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
</group>
2012-06-08 18:35:18 +00:00
</group>
2008-08-24 23:23:45 +00:00
2012-06-13 09:06:57 +00:00
</page>
2012-06-22 13:09:39 +00:00
<page string= "Suppliers" groups= "base.group_user" >
2012-06-13 09:06:57 +00:00
<field name= "seller_ids" context= "{'uom_id': uom_id}" />
</page>
2012-06-22 13:09:39 +00:00
<page string= "Descriptions" groups= "base.group_user" >
2012-06-13 09:06:57 +00:00
<separator string= "Description" />
<field name= "description" />
<separator string= "Sale Description" />
<field name= "description_sale" placeholder= "This note will be displayed on quotations..." />
<separator string= "Purchase Description" />
<field name= "description_purchase" placeholder= "This note will be displayed on requests for quotation..." />
</page>
<page groups= "product.group_stock_packaging" string= "Packaging" >
<field name= "packaging" >
<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>
</page>
</notebook>
</sheet>
2012-07-13 09:53:41 +00:00
<div class= "oe_chatter" >
2012-07-03 12:41:11 +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 -->
<record model= "ir.ui.view" id= "product_kanban_view" >
<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" />
<field name= "product_image" />
<field name= "list_price" />
2011-09-20 11:12:57 +00:00
<templates >
<t t-name= "kanban-box" >
2011-11-30 17:18:18 +00:00
<t t-if= "record.type.raw_value!='service' and record.qty_available.raw_value lte 0" t-set= "border" > oe_kanban_color_red</t>
<div t-attf-class= "#{kanban_color(record.color.raw_value)} #{border || ''}" >
2011-09-20 11:12:57 +00:00
<div class= "oe_kanban_box oe_kanban_color_border" >
2011-12-01 13:00:02 +00:00
<div class= "oe_kanban_box_header oe_kanban_color_bgdark oe_kanban_color_border oe_kanban_draghandle oe_kanban_title" >
2011-10-25 14:13:28 +00:00
<field name= "name" />
</div>
2011-09-20 11:12:57 +00:00
<div class= "oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger" >
2011-11-30 17:18:18 +00:00
<img t-att-src= "kanban_image('product.product', 'product_image', record.id.value)" width= "48" style= "float: left; padding: 0 4px 4px 0" />
2012-04-26 05:17:17 +00:00
Code: <field name= "code" />
2011-11-30 17:18:18 +00:00
<div t-if= "record.type.raw_value == 'service'" > No Stock</div>
<t t-if= "record.type.raw_value != 'service'" >
<div > Stock: <field name= "qty_available" /> on hand, <field name= "virtual_available" /> available</div>
<div t-if= "record.list_price.raw_value != 0" > Public Price: <field name= "lst_price" /> </div>
2012-05-31 17:16:52 +00:00
<!-- TODO would deserve to be hidden at the field level -->
<div groups= "base.group_user" > Cost : <field name= "standard_price" /> </div>
2011-11-30 17:18:18 +00:00
</t>
<div class= "oe_kanban_clear" />
2011-09-20 11:12:57 +00:00
</div>
<div class= "oe_kanban_buttons_set oe_kanban_color_border oe_kanban_color_bglight oe_kanban_box_show_onclick" >
<div class= "oe_kanban_left" >
<a string= "Edit" icon= "gtk-edit" type= "edit" />
<a string= "Change Color" icon= "color-picker" type= "color" name= "color" />
2011-11-30 17:18:18 +00:00
</div>
<div class= "oe_kanban_clear" />
2011-09-20 11:12:57 +00:00
</div>
</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,
wether it's a physical product, a consumable or service.
</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>
2011-09-20 11:12:57 +00:00
<field name= "view_mode" > tree,form,kanban</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 >
You must define a product for everything you sell, wether it's
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>
<field name= "view_id" ref= "product_product_tree_view" />
<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>
<field name= "view_id" ref= "product_kanban_view" />
<field name= "act_window_id" ref= "product_normal_action" />
</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>
2011-12-23 12:24:34 +00:00
<field name= "view_mode" > tree,form,kanban</field>
2011-04-26 14:33:13 +00:00
<field name= "context" > {"search_default_filter_to_purchase":1}</field>
2010-01-12 10:08:25 +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 >
You must define a product for everything you purchase, wheter
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-07-09 05:40:08 +00:00
<group >
<field name= "parent_id" />
</group>
<group >
<field name= "type" />
</group>
2012-07-02 16:37:25 +00:00
</group>
<group name= "basic" >
<group name= "account_property" string= "Account Properties" />
<group name= "account_stock_property" string= "Account Stock Properties" />
</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
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" />
2009-02-04 22:02:48 +00:00
<field name= "factor" />
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" />
2010-07-07 23:44:19 +00:00
<field name= "active" />
</group>
2012-06-26 06:02:07 +00:00
<group >
2012-06-09 15:28:02 +00:00
<field name= "uom_type" on_change= "onchange_type(uom_type)" />
<field name= "rounding" />
<field name= "factor" attrs= "{'invisible':[('uom_type','!=','smaller')]}" />
<label string= " e.g: 1 * (reference unit) = ratio * (this unit)" attrs= "{'invisible':[('uom_type','!=','smaller')]}" />
<field name= "factor_inv" attrs= "{'invisible':[('uom_type','!=','bigger')]}" />
<label string= " e.g: 1 * (this unit) = ratio * (reference unit)" attrs= "{'invisible':[('uom_type','!=','bigger')]}" />
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" >
2010-04-18 15:32:44 +00:00
<field name= "sequence" invisible= "1" />
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>
<field groups= "product.group_sale_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" >
2010-06-07 18:42:14 +00:00
<field name= "sequence" string= "Seq" />
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-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" />
<field name= "variants" />
<field name= "default_code" />
<field name= "price_margin" />
<field name= "price_extra" />
</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_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= "active" />
<field name= "variants" />
<field name= "default_code" />
<field name= "price_margin" />
<field name= "price_extra" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-01-26 11:57:45 +00:00
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" >
2012-06-19 08:56:18 +00:00
<label for= "name" class= "oe_edit_only" />
2012-06-09 15:28:02 +00:00
<h1 > <field name= "name" /> </h1>
2012-06-19 08:56:18 +00:00
<label for= "categ_id" class= "oe_edit_only" />
2012-06-09 15:28:02 +00:00
<h2 > <field name= "categ_id" /> </h2>
<notebook >
2008-07-01 15:58:58 +00:00
<page string= "Information" >
2012-06-09 15:28:02 +00:00
<group >
2012-06-09 22:12:48 +00:00
<group string= "Product Type" >
2012-06-09 15:28:02 +00:00
<field name= "sale_ok" />
<field name= "purchase_ok" />
</group>
<group string= "Procurement" >
2010-04-18 15:32:44 +00:00
<field name= "type" />
2012-04-25 13:56:29 +00:00
<field name= "procure_method" />
2008-11-27 00:00:02 +00:00
<field name= "supply_method" />
</group>
2012-06-09 15:28:02 +00:00
<group string= "Base Prices" >
2010-10-17 11:59:01 +00:00
<field name= "list_price" />
2012-04-25 13:56:29 +00:00
<field name= "standard_price" attrs= "{'readonly':[('cost_method','=','average')]}" />
<field name= "cost_method" />
2010-10-17 11:59:01 +00:00
</group>
2012-06-09 15:28:02 +00:00
<group string= "Weights" >
2008-11-27 00:00:02 +00:00
<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-06-09 15:28:02 +00:00
<group name= "status" string= "Status" >
<field name= "categ_id" />
2010-04-18 15:32:44 +00:00
<field name= "state" />
2010-10-17 11:59:01 +00:00
<field name= "product_manager" />
2008-11-27 00:00:02 +00:00
</group>
2012-06-09 15:28:02 +00:00
<group name= "uom" string= "Unit of Measure" >
2012-03-21 10:01:44 +00:00
<field name= "uom_id" on_change= "onchange_uom(uom_id,uom_po_id)" groups= "product.group_uom" />
2012-04-25 13:56:29 +00:00
<field name= "uom_po_id" />
2008-11-27 00:00:02 +00:00
</group>
2012-06-09 15:28:02 +00:00
<group name= "uos" groups= "product.group_uom" string= "Second Unit of Measure" >
2008-11-27 00:00:02 +00:00
<field name= "uos_id" />
<field name= "uos_coeff" />
<field name= "mes_type" />
</group>
2012-06-09 15:28:02 +00:00
</group>
2008-11-27 00:00:02 +00:00
</page>
2012-04-25 13:56:29 +00:00
<page string= "Procurement & Locations" >
2012-06-09 15:28:02 +00:00
<group >
<group name= "delay" string= "Delays" >
<field name= "sale_delay" attrs= "{'readonly':[('sale_ok','=',0)]}" />
<field name= "produce_delay" />
<field name= "warranty" />
</group>
<group name= "store" string= "Storage Localisation" >
<field name= "loc_rack" />
<field name= "loc_row" />
<field name= "loc_case" />
</group>
2008-11-27 00:00:02 +00:00
</group>
2008-06-29 08:26:07 +00:00
</page>
2010-10-17 11:59:01 +00:00
<page string= "Suppliers" >
2012-06-09 15:28:02 +00:00
<field name= "seller_ids" />
2008-06-29 08:26:07 +00:00
</page>
2008-07-01 15:58:58 +00:00
<page string= "Descriptions" >
2012-06-11 09:59:14 +00:00
<separator string= "Internal Description" />
2012-06-09 15:28:02 +00:00
<field name= "description" />
2008-07-01 15:58:58 +00:00
<separator string= "Sale Description" />
2012-06-09 15:28:02 +00:00
<field name= "description_sale" />
2008-07-01 15:58:58 +00:00
<separator string= "Purchase Description" />
2012-06-09 15:28:02 +00:00
<field name= "description_purchase" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</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>