From 2772e3bbabe98681f0c693f0adf6fb3438922261 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Aug 2022 10:39:29 +0200 Subject: [PATCH] evt recurrent : etat publie --- models/event.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/models/event.py b/models/event.py index 3b23cf4..e02682c 100644 --- a/models/event.py +++ b/models/event.py @@ -101,6 +101,7 @@ class KalachakraEvent(models.Model): self.update_event_google_agenda() #s'il existe des événements liés à celui-ci, mise à jour de ceux-ci #uniquement sur les champs suivants : nom, liste de diffusion, lien zoom, type de participation, lien en savoir plus + child_events=self.env['event.event'].search([('parent_event_id','=', int(self.id))]) if child_events: @@ -114,7 +115,7 @@ class KalachakraEvent(models.Model): child_event.auto_confirm=self.auto_confirm child_event.seats_limited=self.seats_limited child_event.seats_max=self.seats_max - + child_event.user_id=self.user_id child_event.address_id=self.address_id @@ -129,7 +130,7 @@ class KalachakraEvent(models.Model): child_event.cover_properties=self.cover_properties child_event.tag_ids=self.tag_ids child_event.description=self.description - child_event.is_published=self.is_published + #child_event.is_published=self.is_published child_event.participation_product_id=self.participation_product_id child_event.participation_standard_price=self.participation_standard_price child_event.participation_member_price=self.participation_member_price