[IMP]:product:in search view set a default search, not a domain, on public pricelist in Sales and on Purchase pricelist in Purchase so removed the domain from actions
bzr revid: apa@tinyerp.com-20111130062002-tffwbtvvhlfrzhgb
This commit is contained in:
parent
44e9d42e08
commit
26b7d5353a
|
@ -166,7 +166,6 @@
|
|||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="product_pricelist_view_search" />
|
||||
<field name="context">{"default_type":"sale", "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">
|
||||
|
@ -177,7 +176,6 @@
|
|||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="product_pricelist_view_search" />
|
||||
<field name="context">{"default_type":"purchase", "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
|
||||
|
|
Loading…
Reference in New Issue