Browse Source

evt recurrent : etat publie

dev-rcn
root 3 years ago
parent
commit
2772e3bbab
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      models/event.py

+ 3
- 2
models/event.py View File

@ -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


Loading…
Cancel
Save