Merge lp:~openerp-dev/openobject-addons/6.1-opw-575293-pso into lp:openobject-addons/6.1

Proposed by Priyesh (OpenERP)
Status: Merged
Approved by: Naresh(OpenERP)
Approved revision: 6819
Merged at revision: 6916
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-575293-pso
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
purchase/purchase.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-575293-pso
Reviewer Review Type Date Requested Status
Michael (OpenERP) (community) Approve
Naresh(OpenERP) (community) Approve
Olivier Dony (Old Profile) Pending
Xavier ALT Pending
Review via email: mp+107916@code.launchpad.net

Description of the change

Hello,

Product's Supplier name and Supplier code is not coming in Request for quotation for reference.

I have fixed this issue. Kindly review the branch and let me know your inputs on it.

Regards,
Priyesh

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Michael (OpenERP) (mva-openerp) :
review: Approve
6820. By Olivier Dony (Odoo)

[MERGE] sync with latest 6.1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase/purchase.py'
2--- purchase/purchase.py 2012-02-16 12:34:08 +0000
3+++ purchase/purchase.py 2012-07-25 16:45:25 +0000
4@@ -755,7 +755,7 @@
5 lang = res_partner.browse(cr, uid, partner_id).lang
6 context_partner = {'lang': lang, 'partner_id': partner_id}
7 product = product_product.browse(cr, uid, product_id, context=context_partner)
8- res['value'].update({'name': product.name, 'notes': notes or product.description_purchase})
9+ res['value'].update({'name': product.partner_ref, 'notes': notes or product.description_purchase})
10
11 # - set a domain on product_uom
12 res['domain'] = {'product_uom': [('category_id','=',product.uom_id.category_id.id)]}