[FIX] account_check_printing: print checks action defaults

Because of c56b746221
server action "state" (what it should execute) defaults to
Update a record

This commit corrects the check printing action accordingly

OPW 1972938

closes #32928
This commit is contained in:
Lucas Perais (lpe)
2019-04-25 09:34:14 +02:00
parent 0c46c8a929
commit 7f6309c60c
@@ -14,6 +14,7 @@
<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="state">code</field>
<field name="code">
if records:
action = records.print_checks()