From d925fcf913e0e553afc9041c52c3846ac19b42e9 Mon Sep 17 00:00:00 2001 From: camilogs Date: Wed, 30 Aug 2023 21:19:29 -0500 Subject: [PATCH] =?UTF-8?q?fix(Bot=C3=B3n=20reabrir=20seguimiento):=20Se?= =?UTF-8?q?=20arreglan=20las=20evaluaciones=20de=20'invisible'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prospect_trace.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prospect_trace.py b/prospect_trace.py index 3f683b4..6371f11 100644 --- a/prospect_trace.py +++ b/prospect_trace.py @@ -64,8 +64,9 @@ class ProspectTrace(ModelSQL, ModelView): 'depends': ['state'] }, 'reopen_trace': { - 'invisible': Eval('state') == 'open' - or Eval('state') == 'with_pending_calls', + 'invisible': (Eval('state') == 'open') + | (Eval('state') == 'with_pending_calls'), + 'depends': ['state'] } })