Skip to content
Snippets Groups Projects
Commit 7df3d4542582 authored by szeka.wong's avatar szeka.wong
Browse files

Migrate action server code.

parent b811fd028a4e
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,10 @@
<!-- Add action to drive reallocation periods -->
<record id="server_action_realloc_period_am" model="ir.actions.server">
<field name="code">action = object.action_realloc_period_am()</field>
<field name="code">
if records:
action = records.action_realloc_period_am()
</field>
<field name="model_id" ref="model_account_fiscalyear" />
<field name="name">Realloc Period</field>
<field name="state">code</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment