<openerp>
<data>
- <menuitem groups="base.group_extended" id="menu_product_pricelist_main" name="Pricelists" parent="prod_config_main" sequence="50"/>
+ <menuitem id="base.menu_sale_config_sales" name="Sales"
+ parent="base.menu_base_config" sequence="0" groups="base.group_extended"/>
+ <menuitem groups="base.group_extended" id="menu_product_pricelist_main" name="Pricelists" parent="base.menu_base_config" sequence="50"/>
<record id="product_pricelist_version_form_view" model="ir.ui.view">
<field name="name">product.pricelist.version.form</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"/>
+ <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>
</record>
<menuitem
- action="product_pricelist_action" id="menu_product_pricelist_action"
+ action="product_pricelist_action" id="menu_product_pricelist_action"
parent="product.menu_product_pricelist_main" sequence="2"/>
<record id="product_pricelist_item_tree_view" model="ir.ui.view">
</field>
</record>
+ <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>
+
+
<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="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" />
+ <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>
<menuitem
action="product_pricelist_action2" id="menu_product_pricelist_action2"
</form>
</field>
</record>
+
<record id="product_price_type_action" model="ir.actions.act_window">
- <field name="name">Prices Types</field>
+ <field name="name">Price Types</field>
<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>
</record>
+
+ <menuitem
+ action="product_price_type_action" id="menu_product_price_type"
+ parent="product.menu_product_pricelist_main" sequence="4"/>
+
<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="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
+
+ <menuitem
+ action="product_pricelist_type_action" id="menu_product_pricelist_type_action2"
+ parent="product.menu_product_pricelist_main" sequence="2"
+ groups="base.group_extended"/>
+
</data>
</openerp>