From 61e8d5e7b5f4b6f65f1f6b6ba4f61f3a01c10e99 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Jun 2024 11:23:52 +0200 Subject: [PATCH] [FIX] website_event_membership_restriction: Wrong disabled condition The button should be disabled when both the own partner and its commercial partner aren't members, not one of them. Duplicated variable evaluation removed as well. --- .../views/event_templates.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/website_event_membership_restriction/views/event_templates.xml b/website_event_membership_restriction/views/event_templates.xml index 31d0dadf3..8f1931e2c 100644 --- a/website_event_membership_restriction/views/event_templates.xml +++ b/website_event_membership_restriction/views/event_templates.xml @@ -7,6 +7,15 @@ inherit_id="website_event.registration_template" priority="999" > + + + + + + -