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 >
2009-11-25 08:06:39 +00:00
2010-08-13 10:45:35 +00:00
<menuitem id= "base.menu_sale_config_sales" name= "Sales"
2010-08-19 10:01:01 +00:00
parent="base.menu_base_config" sequence="0" groups="base.group_extended"/>
2012-03-12 10:27:02 +00:00
<menuitem id= "menu_product_pricelist_main" name= "Pricelists"
2012-04-03 08:27:56 +00:00
parent="base.menu_base_config" groups="product.group_sale_pricelist" sequence="70"/>
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_version_form_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.version.form</field>
<field name= "model" > product.pricelist.version</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Pricelist Version" >
<field name= "name" select= "1" />
2010-04-18 15:32:44 +00:00
<field name= "active" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "pricelist_id" select= "1" />
<field name= "date_start" select= "1" />
<field name= "date_end" select= "1" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "items_id" nolabel= "1" widget= "one2many_list" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_version_tree_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.version.tree</field>
<field name= "model" > product.pricelist.version</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Pricelist Version" >
<field name= "name" />
<field name= "pricelist_id" />
<field name= "date_start" />
<field name= "date_end" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_action" model= "ir.actions.act_window" >
<field name= "name" > Pricelist Versions</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.pricelist.version</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "product_pricelist_version_tree_view" />
2010-12-14 06:22:11 +00:00
<field name= "help" > There can be more than one version of a pricelist. Here you can create and manage new versions of a price list. Some examples of versions: 2010, 2011, Summer Promotion, etc.</field>
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem
2010-08-05 07:42:25 +00:00
action="product_pricelist_action" id="menu_product_pricelist_action"
2010-04-16 09:16:25 +00:00
parent="product.menu_product_pricelist_main" sequence="2"/>
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_item_tree_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.item.tree</field>
<field name= "model" > product.pricelist.item</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Products Listprices Items" >
<field name= "sequence" />
<field colspan= "4" name= "name" select= "1" />
2011-09-26 13:15:14 +00:00
<field name= "product_id" />
2011-11-18 11:07:42 +00:00
<field name= "product_tmpl_id" select= "1" groups= "product.group_product_variant" />
2008-07-01 15:58:58 +00:00
<field name= "categ_id" select= "1" />
<field name= "min_quantity" />
<field name= "base" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_item_form_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.item.form</field>
<field name= "model" > product.pricelist.item</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Products Listprices Items" >
<separator colspan= "4" string= "Rules Test Match" />
<field colspan= "4" name= "name" select= "1" />
2009-06-18 10:50:41 +00:00
<field name= "product_id" on_change= "product_id_change(product_id)" select= "1" />
2011-11-18 11:07:42 +00:00
<field name= "product_tmpl_id" select= "1" groups= "product.group_product_variant" />
2008-07-01 15:58:58 +00:00
<field name= "categ_id" select= "1" />
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
<newline />
2008-07-01 15:58:58 +00:00
<field name= "min_quantity" />
<field name= "sequence" />
<separator colspan= "4" string= "Price Computation" />
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<field name= "base" />
2009-05-20 06:15:27 +00:00
<field name= "base_pricelist_id" attrs= "{'required': [('base','=', -1)], 'readonly': [('base','!=', -1)]}" />
2008-07-01 15:58:58 +00:00
<group col= "6" colspan= "5" >
<label string= "New Price =" />
<label string= "Base Price" />
2008-08-26 22:18:32 +00:00
<label string= "* ( 1 + " />
2008-07-01 15:58:58 +00:00
<field name= "price_discount" nolabel= "1" />
<label string= " ) + " />
<field name= "price_surcharge" nolabel= "1" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "price_round" string= "Rounding Method" />
<field name= "price_min_margin" string= "Min. Margin" />
<field name= "price_max_margin" string= "Max. Margin" />
2008-06-29 08:26:07 +00:00
</group>
2009-11-25 08:06:39 +00:00
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-11-25 08:06:39 +00:00
2010-06-02 07:12:57 +00:00
<record model= "ir.ui.view" id= "product_pricelist_view_search" >
<field name= "name" > product.pricelist.search</field>
<field name= "model" > product.pricelist</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Products Price Search" >
<field name= "name" />
<field name= "type" />
<field name= "currency_id" />
<field name= "active" />
</search>
</field>
</record>
2010-08-05 07:42:25 +00:00
2010-06-02 07:12:57 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_view_tree" model= "ir.ui.view" >
<field name= "name" > product.pricelist.tree</field>
<field name= "model" > product.pricelist</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Products Price List" >
<field name= "name" />
<field name= "type" />
<field name= "currency_id" />
2010-03-17 14:24:01 +00:00
<field name= "active" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.form</field>
<field name= "model" > product.pricelist</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Products Price List" >
<field name= "name" select= "1" />
<field name= "active" select= "1" />
<field name= "type" select= "1" />
<field name= "currency_id" select= "1" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "version_id" nolabel= "1" >
<form string= "Pricelist Version" >
<field name= "name" select= "1" />
2010-04-18 15:32:44 +00:00
<field name= "active" />
2008-07-01 15:58:58 +00:00
<field name= "date_start" select= "1" />
<field name= "date_end" select= "1" />
<field colspan= "4" name= "items_id" nolabel= "1" widget= "one2many_list" />
2008-06-29 08:26:07 +00:00
</form>
2008-07-01 15:58:58 +00:00
<tree string= "Pricelist Version" >
<field name= "name" />
<field name= "active" />
<field name= "date_start" />
<field name= "date_end" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_action2" model= "ir.actions.act_window" >
<field name= "name" > Pricelists</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.pricelist</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-06-02 07:12:57 +00:00
<field name= "search_view_id" ref= "product_pricelist_view_search" />
2011-11-24 12:14:33 +00:00
<field name= "context" > {"default_type":"sale", "search_default_type":"sale"}</field>
2011-11-08 11:27:00 +00:00
<field name= "help" > A price list contains rules to be evaluated in order to compute the purchase or sales price for all the partners assigned to a price list. Price lists have several versions (2010, 2011, Promotion of February 2010, etc.) and each version has several rules. Example: the customer price of a product category will be based on the supplier price multiplied by 1.80.</field>
</record>
<record id= "product_pricelist_action_for_purchase" model= "ir.actions.act_window" >
<field name= "name" > Pricelists</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.pricelist</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "search_view_id" ref= "product_pricelist_view_search" />
2011-11-24 12:14:33 +00:00
<field name= "context" > {"default_type":"purchase", "search_default_type":"purchase"}</field>
2010-12-14 06:22:11 +00:00
<field name= "help" > A price list contains rules to be evaluated in order to compute the purchase or sales price for all the partners assigned to a price list. Price lists have several versions (2010, 2011, Promotion of February 2010, etc.) and each version has several rules. Example: the customer price of a product category will be based on the supplier price multiplied by 1.80.</field>
2008-06-29 08:26:07 +00:00
</record>
2010-04-16 09:16:25 +00:00
<menuitem
action="product_pricelist_action2" id="menu_product_pricelist_action2"
2012-03-19 12:24:13 +00:00
parent="base.menu_base_config" sequence="20"/>
2009-11-25 08:06:39 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_price_type_view" model= "ir.ui.view" >
<field name= "name" > product.price.type.form</field>
<field name= "model" > product.price.type</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Products Price Type" >
<field name= "name" select= "1" />
<field name= "active" select= "1" />
<field name= "field" />
<field name= "currency_id" select= "1" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2012-03-12 10:27:02 +00:00
2008-07-01 15:58:58 +00:00
<record id= "product_price_type_action" model= "ir.actions.act_window" >
2011-03-15 12:58:00 +00:00
<field name= "name" > Price Types</field>
2008-07-01 15:58:58 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.price.type</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2008-06-29 08:26:07 +00:00
</record>
2011-05-02 18:46:43 +00:00
2011-03-15 12:58:00 +00:00
<menuitem
action="product_price_type_action" id="menu_product_price_type"
2012-03-20 09:39:43 +00:00
parent="product.menu_product_pricelist_main" sequence="4" groups="base.group_no_one"/>
2011-05-02 18:46:43 +00:00
<!-- Moved to extra module 'sale_pricelist_type_menu':
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_type_view" model= "ir.ui.view" >
<field name= "name" > product.pricelist.type.form</field>
<field name= "model" > product.pricelist.type</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Pricelist Type" >
<field name= "name" select= "1" />
<field name= "key" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "product_pricelist_type_action" model= "ir.actions.act_window" >
<field name= "name" > Pricelists Types</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > product.pricelist.type</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2008-06-29 08:26:07 +00:00
</record>
2010-12-20 09:47:57 +00:00
2011-02-24 09:40:16 +00:00
<menuitem
action="product_pricelist_type_action" id="menu_product_pricelist_type_action2"
parent="product.menu_product_pricelist_main" sequence="2"
groups="base.group_extended"/>-->
2011-02-24 06:09:18 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>