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