From 7d29ec2f3387460f4d8bc5a9496147b9106521eb Mon Sep 17 00:00:00 2001 From: vrenaville Date: Fri, 10 Oct 2014 15:25:40 +0200 Subject: [PATCH] [FIX] missing import time --- statement_voucher_killer/test/correct_date_in_move_line.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/statement_voucher_killer/test/correct_date_in_move_line.yml b/statement_voucher_killer/test/correct_date_in_move_line.yml index 84b29520..c7147920 100644 --- a/statement_voucher_killer/test/correct_date_in_move_line.yml +++ b/statement_voucher_killer/test/correct_date_in_move_line.yml @@ -26,6 +26,7 @@ Now I can check that that the date in move line is equal to line date - !python {model: account.move.line}: | + import time line_ids = self.search(cr, uid, [('statement_id', '=', ref('statement_test_date1'))],limit=1) line = self.browse(cr, uid, line_ids)[0] assert line.date == time.strftime('%Y-12-20'), "Date (year-12-20) not equal to = %s" % line.date