[REM]remove suffix copy from duplicating BOM

bzr revid: kbh@tinyerp.com-20121023102734-1d0upye19ps64be1
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-10-23 15:57:34 +05:30
parent 603a303059
commit c8f0bfc68c
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ class mrp_bom(osv.osv):
if default is None:
default = {}
bom_data = self.read(cr, uid, id, [], context=context)
default.update(name=_("%s (copy)") % (bom_data['name']), bom_id=False, bom_lines=False)
default.update(name=_("%s") % (bom_data['name']), bom_id=False)
return super(mrp_bom, self).copy_data(cr, uid, id, default, context=context)
def create(self, cr, uid, vals, context=None):