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
=== modified file 'product/product.py'
--- product/product.py 2013-06-03 10:26:27 +0000
+++ product/product.py 2013-06-04 12:22:04 +0000
@@ -740,7 +740,7 @@
740 context_wo_lang.pop('lang', None)740 context_wo_lang.pop('lang', None)
741 product = self.read(cr, uid, id, ['name'], context=context_wo_lang)741 product = self.read(cr, uid, id, ['name'], context=context_wo_lang)
742 default = default.copy()742 default = default.copy()
743 default.update(name=_("%s (copy)") % (product['name']))743 default.update(name=_("%s (copy)") % (product['name']), seller_ids=[])
744744
745 if context.get('variant',False):745 if context.get('variant',False):
746 fields = ['product_tmpl_id', 'active', 'variants', 'default_code',746 fields = ['product_tmpl_id', 'active', 'variants', 'default_code',

Subscribers

People subscribed via source and target branches

to all changes: