Merge lp:~openerp-dev/openobject-addons/trunk-bug-1174263-Darshan into lp:openobject-addons

Proposed by Darshan Kalola(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1174263-Darshan
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
product/product.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1174263-Darshan
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+167255@code.launchpad.net

Description of the change

Hello,

         I have fixed the problem Duplicating a Product will duplicate the Supplier Product Reference.

Thanks,
Darshan

To post a comment you must log in.

Unmerged revisions

8747. By Darshan Kalola(OpenERP)

[FIX] Duplicating a Product will duplicate the Supplier Product Reference

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product/product.py'
2--- product/product.py 2013-06-03 10:26:27 +0000
3+++ product/product.py 2013-06-04 12:22:04 +0000
4@@ -740,7 +740,7 @@
5 context_wo_lang.pop('lang', None)
6 product = self.read(cr, uid, id, ['name'], context=context_wo_lang)
7 default = default.copy()
8- default.update(name=_("%s (copy)") % (product['name']))
9+ default.update(name=_("%s (copy)") % (product['name']), seller_ids=[])
10
11 if context.get('variant',False):
12 fields = ['product_tmpl_id', 'active', 'variants', 'default_code',

Subscribers

People subscribed via source and target branches

to all changes: