From 9d0549db199f12ceccf650b17dbaf2e3f9d52bcd Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Fri, 16 Jun 2023 11:30:48 +0200 Subject: [PATCH] [Fix] update action to force detailed_type on product.template --- learning_base/ir_actions_act_window_records.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/learning_base/ir_actions_act_window_records.xml b/learning_base/ir_actions_act_window_records.xml index 6535073..7f3e9d4 100644 --- a/learning_base/ir_actions_act_window_records.xml +++ b/learning_base/ir_actions_act_window_records.xml @@ -2,8 +2,8 @@ - [('is_learning', '=', 1)] - {'default_is_learning': 1} + [('detailed_type', '=', 'learning')] + {'default_detailed_type': 'learning'} <p class="o_view_nocontent_smiling_face">Créer un nouveau article</p> product.template action