From ef45bcb01120cc9e7702bdbcf3c93ab04ef00cc0 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 16 Nov 2011 19:30:51 +0100 Subject: [PATCH] fix bzr revid: fp@tinyerp.com-20111116183051-dj5nxt5m8qzkv058 --- .../test/test_hr_timesheet_invoice.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml index 38370bea783..334a80fde9c 100644 --- a/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml +++ b/addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml @@ -3,7 +3,7 @@ - I create an account analytic line. - - !record {model: account.analytic.line, id: account_analytic_line_developyamlforhrmodule0}: + !record {model: account.analytic.line, id: account_analytic_line_developyamlforhrmodule0 }: account_id: account.analytic_sednacom amount: -1.0 general_account_id: account.a_expense @@ -84,10 +84,3 @@ import netsvc wkf_service = netsvc.LocalService("workflow") res = self.do_create(cr, uid, [ref("hr_timesheet_invoice_create_final_0")], {"active_ids": [ref("account.analytic_sednacom")]}) - invoice_ids = eval(res['domain'])[0][2] - for inv in invoice_ids: - wkf_service.trg_validate(uid, 'account.invoice', inv, 'invoice_open', cr) -- - I can also make some theoretical revenue reports. -- - I can also see timesheet profit using Timesheet profit report.