flectra/addons/account_check_printing/data/account_check_printing_data.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

27 lines
889 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
</odoo>