Amit (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-remove-domain-pricelist-apa into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-remove-domain-pricelist-apa/+merge/83897

[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
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-remove-domain-pricelist-apa/+merge/83897
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-remove-domain-pricelist-apa.
=== modified file 'product/pricelist_view.xml'
--- product/pricelist_view.xml	2011-11-29 15:39:00 +0000
+++ product/pricelist_view.xml	2011-11-30 06:23:24 +0000
@@ -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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to