[FIX] account_analytic_analysis: remove duplicate method kept by mistake while porting 7.0 fixes to trunk in rev.8620

bzr revid: odo@openerp.com-20130315113120-xsmfoxw6a6kaylzm
This commit is contained in:
Olivier Dony 2013-03-15 12:31:20 +01:00
parent d0f5b28bd0
commit 914a97f329
1 changed files with 0 additions and 11 deletions

View File

@ -714,17 +714,6 @@ class account_analytic_account(osv.osv):
self.write(cr, uid, [contract.id], {'recurring_next_date': new_date.strftime('%Y-%m-%d')}, context=context)
return True
def onchange_invoice_on_timesheets(self, cr, uid, ids, invoice_on_timesheets, context=None):
if not invoice_on_timesheets:
return {}
result = {'value': {'use_timesheets': True}}
try:
to_invoice = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'hr_timesheet_invoice', 'timesheet_invoice_factor1')
result['value']['to_invoice'] = to_invoice[1]
except ValueError:
pass
return result
class account_analytic_account_summary_user(osv.osv):
_name = "account_analytic_analysis.summary.user"
_description = "Hours Summary by User"