Mohammed Shekha(Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/6.1-opw-581212-msh into lp:openobject-addons/6.1.
Requested reviews: OpenERP Core Team (openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-581212-msh/+merge/130933 Hello, Fixed the issue of domain not passed in many2one field of purchase search view, it searches for customers as well as suppliers. Demo :- Go to Purchase -> search view supplier field -> enter the name of customer who is who is only customer not supplier. It will gives supplier as well as customer. The domain not passed on the field. Thanks. -- https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-581212-msh/+merge/130933 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/6.1-opw-581212-msh.
=== modified file 'purchase/purchase_view.xml' --- purchase/purchase_view.xml 2012-10-09 12:16:14 +0000 +++ purchase/purchase_view.xml 2012-10-23 04:45:26 +0000 @@ -250,7 +250,7 @@ <filter icon="terp-gtk-go-back-rtl" name="not_invoiced" string="Not invoiced" domain="[('invoice_ids','=', False)]" help="Purchase orders that include lines not invoiced." groups="base.group_extended"/> <separator orientation="vertical"/> <field name="name" string="Reference"/> - <field name="partner_id"/> + <field name="partner_id" domain="[('supplier', '=', True)]"/> <field name="product_id"/> <field name="create_uid"/> </group>
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp