[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:
Rifakat (OpenERP)
2012-03-02 16:13:47 +01:00
committed by Xavier ALT
parent 6468fc876a
commit c36d82227c
+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):