[IMP] hr_timesheet_invoice: code cleanup unused import.
authorTejas Tank <tta@openerp.com>
Fri, 1 Feb 2013 05:05:51 +0000 (10:35 +0530)
committerTejas Tank <tta@openerp.com>
Fri, 1 Feb 2013 05:05:51 +0000 (10:35 +0530)
bzr revid: tta@openerp.com-20130201050551-1v45eut2toek9g7x

addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml
addons/hr_timesheet_invoice/test/test_hr_timesheet_invoice_no_prod_tax.yml

index de19ea8..0896cf7 100644 (file)
   I click on "Create Invoice" button to create Invoice and validate the invoice.
 -
   !python {model: hr.timesheet.invoice.create.final}: |
-    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_agrolait")]})
index 68e827e..d009630 100644 (file)
   I click on "Create Invoice" button to create Invoice and validate the invoice.
 -
   !python {model: hr.timesheet.invoice.create.final}: |
-    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_agrolait")]})