From 22087c3bfe06b30da526835593effac73fcbb1d5 Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Mon, 19 Dec 2011 18:48:23 +0530 Subject: [PATCH] [IMP] account_followup: Improved ymls. bzr revid: uco@tinyerp.com-20111219131823-1l8yszpp7fq5p3y2 --- addons/account_followup/test/account_followup.yml | 4 ++-- addons/account_followup/test/account_followup_report.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account_followup/test/account_followup.yml b/addons/account_followup/test/account_followup.yml index 749cf473d39..86eabb4d994 100644 --- a/addons/account_followup/test/account_followup.yml +++ b/addons/account_followup/test/account_followup.yml @@ -1,8 +1,8 @@ - In order to test account followup module in OpenERP, I change the state of invoice to "open". - - !python {model: account.invoice}: | - self.write(cr, uid, [ref("account.demo_invoice_0")], {"check_total": 14.0}) + !record {model: account.invoice, id: account.demo_invoice_0}: + check_total: 14.0 - !workflow {model: account.invoice, action: invoice_open, ref: account.demo_invoice_0} - diff --git a/addons/account_followup/test/account_followup_report.yml b/addons/account_followup/test/account_followup_report.yml index e46d97704be..e63d61030bd 100644 --- a/addons/account_followup/test/account_followup_report.yml +++ b/addons/account_followup/test/account_followup_report.yml @@ -1,5 +1,5 @@ - - In order to test the report i print a followup report. + In order to test the report I print followup report. - !python {model: account.followup.print.all}: | import time