[IMP]: mrp: Improvement in copy BOM

bzr revid: rpa@tinyerp.com-20101213044534-lj6hjzmuq61jk564
This commit is contained in:
rpa (Open ERP)
2010-12-13 10:15:34 +05:30
parent 9089ea5ed8
commit ac0a4ab6da
+1 -1
View File
@@ -340,7 +340,7 @@ class mrp_bom(osv.osv):
if context is None:
context = {}
bom_data = self.read(cr, uid, id, [], context=context)
default.update({'name': bom_data['name'] + _(' (copy)')})
default.update({'name': bom_data['name'] + ' ' + _('Copy')})
return super(mrp_bom, self).copy_data(cr, uid, id, default, context=context)
mrp_bom()