[MERGE] OPW 381927: project: when copying the project, analytic lines of the related analytic account should not be copied

bzr revid: xal@openerp.com-20120329161334-wgnimmk1vnafh875
This commit is contained in:
Xavier ALT
2012-03-29 18:13:34 +02:00
+1
View File
@@ -272,6 +272,7 @@ class project(osv.osv):
default = default or {}
context['active_test'] = False
default['state'] = 'open'
default['line_ids'] = []
default['tasks'] = []
proj = self.browse(cr, uid, id, context=context)
if not default.get('name', False):