From 122f42282e1bea6583da2857be0fc9516776ef89 Mon Sep 17 00:00:00 2001 From: Emanuel Buzey <buzeyemanuel@gmail.com> Date: Mon, 9 Oct 2023 16:55:28 +0200 Subject: [PATCH] [FIX] energy_selfconsumption: Change attrs condition --- energy_selfconsumption/views/selfconsumption_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/energy_selfconsumption/views/selfconsumption_views.xml b/energy_selfconsumption/views/selfconsumption_views.xml index 595fbfe40..8feb39c5a 100644 --- a/energy_selfconsumption/views/selfconsumption_views.xml +++ b/energy_selfconsumption/views/selfconsumption_views.xml @@ -73,7 +73,7 @@ type="object" string="Define Invoicing Mode" name="set_invoicing_mode" - attrs="{'invisible':[('state','not in',['draft'])]}" + attrs="{'invisible':[('invoicing_mode', '!=', False)]}" /> <field -- GitLab