[MERGE] fix copy project
bzr revid: tfr@openerp.com-20110405100436-4m2f7fi2m28wei2s
This commit is contained in:
@@ -208,6 +208,7 @@ class project(osv.osv):
|
||||
default = default or {}
|
||||
context['active_test'] = False
|
||||
default['state'] = 'open'
|
||||
proj = self.browse(cr, uid, id, context=context)
|
||||
if not default.get('name', False):
|
||||
default['name'] = proj.name + _(' (copy)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user