Skip to content
Snippets Groups Projects
Commit b35cbd12 authored by jordan's avatar jordan
Browse files

[fix] remove kwargs 'record=result' in related_action_custom to use current record

parent 37301330
Branches
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<field name="model_id" ref="cgscop_cotisation_cg.model_scop_bordereau" /> <field name="model_id" ref="cgscop_cotisation_cg.model_scop_bordereau" />
<field name="method">validate_bordereau</field> <field name="method">validate_bordereau</field>
<field name="channel_id" ref="queue_job.channel_root" /> <field name="channel_id" ref="queue_job.channel_root" />
<field name="related_action" eval='{"func_name": "related_action_custom", "kwargs": {"record": "result"}}' /> <field name="related_action" eval='{"func_name": "related_action_custom"}' />
<field name="retry_pattern" eval="{1: 10, 5: 30, 10: 300}" /> <field name="retry_pattern" eval="{1: 10, 5: 30, 10: 300}" />
</record> </record>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment