summaryrefslogtreecommitdiff
path: root/addons/account_check_printing/data
diff options
context:
space:
mode:
authorqdp-odoo <qdp@odoo.com>2017-09-22 14:53:28 +0200
committerqdp-odoo <qdp@odoo.com>2017-09-22 14:53:55 +0200
commit7049aac877231454921153e6dde5470b89b107dd (patch)
tree4144b4f2621693e4005c86bd3bc26bfb345a82d8 /addons/account_check_printing/data
parentdecd00ec99e110db207a235b9d53240f15380769 (diff)
[FIX] account_check_printing: ir.actions.server state = 'code' where it deserves.
As per https://github.com/odoo/odoo/commit/c56b7462214114079823c38d38de9f194757d20c, the default changed to 'object_write' but some server actions with code were left without specifying the state value to 'code'
Diffstat (limited to 'addons/account_check_printing/data')
-rw-r--r--addons/account_check_printing/data/account_check_printing_data.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account_check_printing/data/account_check_printing_data.xml b/addons/account_check_printing/data/account_check_printing_data.xml
index 53ce8625e86..d4c3704f4d9 100644
--- a/addons/account_check_printing/data/account_check_printing_data.xml
+++ b/addons/account_check_printing/data/account_check_printing_data.xml
@@ -15,6 +15,7 @@
<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()