Merge lp:~openerp-dev/openobject-addons/6.1-opw-581212-msh into lp:openobject-addons/6.1

Proposed by Mohammed Shekha(Open ERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 7037
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-581212-msh
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
purchase/purchase_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581212-msh
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+130933@code.launchpad.net

Description of the change

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.

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Not Relevant on Trunk (means that architecture on trunk has changed and so this bug has no meaning anymore). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

7037. By Mohammed Shekha(Open ERP)

[FIX]Fixed the issue of domain missed in purchase search view for partner_id field.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== 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 @@
250 <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"/>250 <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"/>
251 <separator orientation="vertical"/>251 <separator orientation="vertical"/>
252 <field name="name" string="Reference"/>252 <field name="name" string="Reference"/>
253 <field name="partner_id"/>253 <field name="partner_id" domain="[('supplier', '=', True)]"/>
254 <field name="product_id"/>254 <field name="product_id"/>
255 <field name="create_uid"/>255 <field name="create_uid"/>
256 </group>256 </group>