From b35cbd1213eafec7c4fb5b8fb7065d5cd467b69d Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Wed, 23 Feb 2022 15:13:59 +0100
Subject: [PATCH] [fix] remove kwargs 'record=result' in related_action_custom
 to use current record

---
 datas/queue_job_data.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datas/queue_job_data.xml b/datas/queue_job_data.xml
index 01f2285..97e8623 100644
--- a/datas/queue_job_data.xml
+++ b/datas/queue_job_data.xml
@@ -16,7 +16,7 @@
             <field name="model_id" ref="cgscop_cotisation_cg.model_scop_bordereau" />
             <field name="method">validate_bordereau</field>
             <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}" />
         </record>
 
-- 
GitLab