diff options
| author | Denis Ledoux <dle@openerp.com> | 2014-04-01 16:42:05 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2014-04-01 16:42:05 +0200 |
| commit | 07ae370d90043806724d2ce4139c8f1ccdb5ab2d (patch) | |
| tree | 5dd3922ceed59752fff3d38d0bf4ab146293ead7 /addons/project_long_term | |
| parent | 2695cacea45051600682f22a02f812c5b77827df (diff) | |
[FIX] project, project_issue: overwritten method on_change template, wrong signature, following commit 9277 revid:dle@openerp.com-20140401123657-ozh4ycx36jojpg51
bzr revid: dle@openerp.com-20140401144205-cmm5vfzlpsro0f7j
Diffstat (limited to 'addons/project_long_term')
| -rw-r--r-- | addons/project_long_term/project_long_term.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index a950907fb69..29e94591094 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -273,8 +273,8 @@ class account_analytic_account(osv.osv): 'use_phases': fields.boolean('Phases', help="Check this field if you plan to use phase-based scheduling"), } - def on_change_template(self, cr, uid, ids, template_id, context=None): - res = super(account_analytic_account, self).on_change_template(cr, uid, ids, template_id, context=context) + def on_change_template(self, cr, uid, ids, template_id, date_start=False, context=None): + res = super(account_analytic_account, self).on_change_template(cr, uid, ids, template_id, date_start=date_start, context=context) if template_id and 'value' in res: template = self.browse(cr, uid, template_id, context=context) res['value']['use_phases'] = template.use_phases |
