[FIX]account_followup : fix bug in test where year was hardcoded and it is not the...
[odoo/odoo.git] / addons / account_followup / test / account_followup.yml
index 54dd328..ceb7ec2 100644 (file)
@@ -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'