[pricelist],saprate the action for the purchase and sale pricelist
bzr revid: amb@tinyerp.com-20111108112700-7q0wwzvb8krot8ry
This commit is contained in:
@@ -165,6 +165,19 @@
|
||||
<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="context">{"search_default_type":"sale"}</field>
|
||||
<field name="domain">[('type','=','sale')]</field>
|
||||
<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" />
|
||||
<field name="context">{"search_default_type":"purchase"}</field>
|
||||
<field name="domain">[('type','=','purchase')]</field>
|
||||
<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
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
parent="menu_purchase_config_pricelist" sequence="20"/>
|
||||
|
||||
<menuitem
|
||||
action="product.product_pricelist_action2" id="menu_product_pricelist_action2_purchase"
|
||||
action="product.product_pricelist_action_for_purchase" id="menu_product_pricelist_action2_purchase"
|
||||
parent="menu_purchase_config_pricelist" sequence="10"/>
|
||||
|
||||
<!--<menuitem
|
||||
|
||||
Reference in New Issue
Block a user