From 695d292c6c1cb87e0d0c740e3fa501b42d7f611b Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Mon, 14 Oct 2024 16:58:59 +0500 Subject: [PATCH] =?UTF-8?q?[FIX]=20website=5Fevent=5Fattendee=5Ffields:=20?= =?UTF-8?q?=D0=BD=D0=B5=20=D0=BD=D0=B0=D0=B4=D0=BE=20=D0=B2=D1=8B=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D0=BD=D1=8F=D1=82=D1=8C=20odoo.define=20=D0=B5?= =?UTF-8?q?=D1=81=D0=BB=D0=B8=20=D0=BD=D0=B5=20=D0=BE=D0=BF=D1=80=D0=B5?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website_event_attendee_fields/views/website_event_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website_event_attendee_fields/views/website_event_templates.xml b/website_event_attendee_fields/views/website_event_templates.xml index 46b79c6..825c4c0 100644 --- a/website_event_attendee_fields/views/website_event_templates.xml +++ b/website_event_attendee_fields/views/website_event_templates.xml @@ -121,7 +121,7 @@ if (odoo.registration_form_init) { initEventForm(); - } else { + } else if (odoo && odoo.define) { odoo.define('website_event_attendee_fields.registration_attendee_details', function(require){ require('website_event_attendee_fields.registration_form');