diff options
| author | ced <> | 2007-07-26 08:30:39 +0000 |
|---|---|---|
| committer | ced <> | 2007-07-26 08:30:39 +0000 |
| commit | e8bad2ccd9ac2bc4e3becf89888ea020e7eaa49b (patch) | |
| tree | 96dd024646953106b4e7c0335dbe07b4becbb28f | |
| parent | 188c1338382827abfa23db8ca61e822f43bf887d (diff) | |
hr_timesheet_invoice: fix report cost ledger to match the new one from account
bzr revid: ced-40ee448e877b4630a7ed3c64caa7755881796d08
| -rw-r--r-- | addons/hr_timesheet_invoice/report/cost_ledger.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/addons/hr_timesheet_invoice/report/cost_ledger.py b/addons/hr_timesheet_invoice/report/cost_ledger.py index c1c5ebac130..7eaec768875 100644 --- a/addons/hr_timesheet_invoice/report/cost_ledger.py +++ b/addons/hr_timesheet_invoice/report/cost_ledger.py @@ -30,6 +30,7 @@ import pooler import time from report import report_sxw + class account_analytic_cost_ledger(report_sxw.rml_parse): def __init__(self, cr, uid, name, context): super(account_analytic_cost_ledger, self).__init__(cr, uid, name, context) @@ -169,5 +170,9 @@ class account_analytic_cost_ledger(report_sxw.rml_parse): res += self.sum_revenue.get(id, 0.0) return res -report_sxw.report_sxw('report.hr.timesheet.invoice.account.analytic.account.cost_ledger', 'account.analytic.account', 'addons/hr_timesheet_invoice/report/cost_ledger.rml',parser=account_analytic_cost_ledger, header=False) +report_sxw.report_sxw( + 'report.hr.timesheet.invoice.account.analytic.account.cost_ledger', + 'account.analytic.account', + 'addons/hr_timesheet_invoice/report/cost_ledger.rml', + parser=account_analytic_cost_ledger, header=False) |
