From 8a90401507c7e02deb5fd8c7627c66a2f331c546 Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Wed, 2 Jan 2013 10:34:05 +0100 Subject: [PATCH] [FIX]account_followup : fix bug in test where year was hardcoded and it is not the case in the demo data bzr revid: csn@openerp.com-20130102093405-sw93j72ukkqzr9cd --- addons/account_followup/test/account_followup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_followup/test/account_followup.yml b/addons/account_followup/test/account_followup.yml index 54dd3280984..ceb7ec2ea9b 100644 --- a/addons/account_followup/test/account_followup.yml +++ b/addons/account_followup/test/account_followup.yml @@ -3,7 +3,7 @@ - !record {model: account.invoice, id: account.demo_invoice_0}: check_total: 14.0 - date_invoice: 2012-06-2 + date_invoice: !eval "'%s-06-2' %(datetime.now().year)" invoice_line: - account_id : account.a_sale name: 'Test PC'