[WIP] Changed tests + litigation
[odoo/odoo.git] / addons / account_followup / test / account_followup.yml
1 -
2   In order to test account follow-up module in OpenERP, I change the state of invoice to "open".
3 -
4   !record {model: account.invoice, id: account.demo_invoice_0}:
5     check_total: 14.0
6 -
7   !workflow {model: account.invoice, action: invoice_open, ref: account.demo_invoice_0}
8 -
9   I create a follow-up.
10 -
11   !record {model: account.followup.print, id: account_followup_print_0}:
12     {}
13
14   I will process follow-ups
15
16   !python {model: account.followup.print}:  |
17     self.do_process(cr, uid, [ref("account_followup_print_0")], {"active_ids": [ref("account_followup.account_followup_print_menu")], "active_id": ref("account_followup.account_followup_print_menu"),})