Skip to content
Extraits de code Groupes Projets
Valider 27c5d4bc rédigé par Juliana's avatar Juliana
Parcourir les fichiers

[UPD]Change priority template + seat max

parent 1af6d7df
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
"development_status": "Beta", "development_status": "Beta",
"license": "AGPL-3", "license": "AGPL-3",
"depends": [ "depends": [
"event_session",
"partner_firstname", "partner_firstname",
"website_event", "website_event",
"event_session", "website_event_questions",
"website_event_crm_questions",
], ],
"data": [ "data": [
# security # security
......
...@@ -44,6 +44,7 @@ class EventSession(models.Model): ...@@ -44,6 +44,7 @@ class EventSession(models.Model):
compute="_compute_seats_available_unconfirmed", compute="_compute_seats_available_unconfirmed",
store=True, store=True,
) )
seats_max = fields.Integer("Nombre maximal de participants")
intervenant_ids = fields.One2many( intervenant_ids = fields.One2many(
"res.partner.intervenant", "session_id", string="Intervenants" "res.partner.intervenant", "session_id", string="Intervenants"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
id="registration_attendee_details_sessions" id="registration_attendee_details_sessions"
inherit_id="website_event.registration_attendee_details" inherit_id="website_event.registration_attendee_details"
name="Registration Attendee Details with sessions" name="Registration Attendee Details with sessions"
priority="10"
> >
<div class="row" position="replace"> <div class="row" position="replace">
<div class="row"> <div class="row">
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter