2 In order to test account follow-up module in OpenERP, I change the state of invoice to "open".
4 !record {model: account.invoice, id: account.demo_invoice_0}:
6 date_invoice: 2012-06-2
8 - account_id : account.a_sale
11 journal_id: account.bank_journal
12 partner_id: base.res_partner_12
15 !workflow {model: account.invoice, action: invoice_open, ref: account.demo_invoice_0}
19 !record {model: account_followup.print, id: account_followup_print_0}:
22 I will process follow-ups
24 !python {model: account_followup.print}: |
25 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"),})