2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data noupdate="1">
|
|
|
|
|
|
|
|
<record id="account_payment_method_check" model="account.payment.method">
|
|
|
|
<field name="name">Checks</field>
|
|
|
|
<field name="code">check_printing</field>
|
|
|
|
<field name="payment_type">outbound</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<function model="account.journal" name="_enable_check_printing_on_bank_journals"/>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.server" id="action_account_print_checks">
|
|
|
|
<field name="name">Print Checks</field>
|
|
|
|
<field name="model_id" ref="account.model_account_payment"/>
|
|
|
|
<field name="binding_model_id" ref="account.model_account_payment" />
|
|
|
|
<field name="state">code</field>
|
|
|
|
<field name="code">
|
|
|
|
if records:
|
|
|
|
action = records.print_checks()
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|