if context is None:
context={}
- product = self.read(cr, uid, id, ['name'], context=context)
if not default:
default = {}
+
+ # Craft our own `<name> (copy)` in en_US (self.copy_translation()
+ # will do the other languages).
+ context_wo_lang = context.copy()
+ context_wo_lang.pop('lang', None)
+ product = self.read(cr, uid, id, ['name'], context=context_wo_lang)
default = default.copy()
- default['name'] = product['name'] + _(' (copy)')
+ default['name'] = product['name'] + ' (copy)'
if context.get('variant',False):
fields = ['product_tmpl_id', 'active', 'variants', 'default_code',