From 13de087955855a2bbcd91a2e70bda85939e1343e Mon Sep 17 00:00:00 2001 From: "Atik Agewan (OpenERP)" Date: Mon, 19 Dec 2011 17:00:33 +0530 Subject: [PATCH] [IMP] account_followup:Improve the test statement bzr revid: aag@tinyerp.com-20111219113033-010wkkqjteafg7xl --- addons/account_followup/test/account_followup.yml | 8 +++----- addons/account_followup/test/account_followup_report.yml | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/account_followup/test/account_followup.yml b/addons/account_followup/test/account_followup.yml index b55a574c3e6..4f57605a950 100644 --- a/addons/account_followup/test/account_followup.yml +++ b/addons/account_followup/test/account_followup.yml @@ -1,15 +1,13 @@ - - In order to test account followup module in OpenERP, I perform action to change the state of invoice to "open". + In order to test account followup module in OpenERP, I change the state of invoice to "open". - !workflow {model: account.invoice, action: invoice_open, ref: account.demo_invoice_0} -- - I create a send followup record. - !record {model: account.followup.print, id: account_followup_print_0}: date: !eval time.strftime('%Y-%m-%d') followup_id: account_followup.demo_followup1 - - I continue followup. + I select the followup to send it to the partner. - !python {model: account.followup.print}: | self.do_continue(cr, uid, [ref("account_followup_print_0")], {"lang": 'en_US', @@ -28,7 +26,7 @@ - base.res_partner_desertic_hispafuentes partner_lang: 1 - - I send a mail to partner. + I send a followup mail to partner. - !python {model: account.followup.print.all}: | import time diff --git a/addons/account_followup/test/account_followup_report.yml b/addons/account_followup/test/account_followup_report.yml index d1b3bbbd0f0..e46d97704be 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 will print a followup report. + In order to test the report i print a followup report. - !python {model: account.followup.print.all}: | import time