From 30a37af5defc26890d5142507cf03e8dab536b4f Mon Sep 17 00:00:00 2001 From: sinergia Date: Thu, 2 Nov 2023 13:17:19 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Se=20a=C3=B1ade=20depends=20al=20bot?= =?UTF-8?q?=C3=B3n=20de=20cerrar=20tareas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- call.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/call.py b/call.py index fb4eb5f..162970f 100644 --- a/call.py +++ b/call.py @@ -77,7 +77,8 @@ class PendingTask(ModelSQL, ModelView): super(PendingTask, cls).__setup__() cls._buttons.update({ 'close_task': { - 'invisible': Eval('state') == 'done' + 'invisible': Eval('state') == 'done', + 'depends': ['state'], } })