[MERGE] OPW 578622: project: duplicating project must reset analytic account code

bzr revid: xal@openerp.com-20121011082539-rmabwb0wts560nox
This commit is contained in:
Xavier ALT
2012-10-11 10:25:39 +02:00
+1
View File
@@ -272,6 +272,7 @@ class project(osv.osv):
default = default or {}
context['active_test'] = False
default['state'] = 'open'
default['code'] = False
default['line_ids'] = []
default['tasks'] = []
proj = self.browse(cr, uid, id, context=context)