[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user