[FIX] project: when copying the project, analytic lines of the related analytic account should not be copied
bzr revid: xal@openerp.com-20120302151347-xatz6wj7nmsrhknu
This commit is contained in:
committed by
Xavier ALT
parent
6468fc876a
commit
c36d82227c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user