diff --git a/golem_activity_session_registration/models/golem_activity_session_registration.py b/golem_activity_session_registration/models/golem_activity_session_registration.py index 4e5db47..6c6aaeb 100644 --- a/golem_activity_session_registration/models/golem_activity_session_registration.py +++ b/golem_activity_session_registration/models/golem_activity_session_registration.py @@ -63,6 +63,9 @@ class GolemActivitySessionRegistration(models.Model): _name = 'golem.activity.session.registration' _description = 'GOLEM Activity Session Registration' + state = fields.Selection([('draft', 'Draft'), ('confirmed', 'Confirmed'), + ('canceled', 'Canceled')], required=True, + default='draft') member_id = fields.Many2one('golem.member', string='Member', required=True, ondelete='cascade') session_id = fields.Many2one('golem.activity.session', required=True, diff --git a/golem_activity_session_registration/views/golem_activity_session_registration_view.xml b/golem_activity_session_registration/views/golem_activity_session_registration_view.xml index 0c7f581..e0e6e5b 100644 --- a/golem_activity_session_registration/views/golem_activity_session_registration_view.xml +++ b/golem_activity_session_registration/views/golem_activity_session_registration_view.xml @@ -40,7 +40,9 @@ along with this program. If not, see . Session registration list golem.activity.session.registration - + + diff --git a/golem_activity_session_registration/views/golem_activity_view.xml b/golem_activity_session_registration/views/golem_activity_view.xml index b82e68b..a2d6a24 100644 --- a/golem_activity_session_registration/views/golem_activity_view.xml +++ b/golem_activity_session_registration/views/golem_activity_view.xml @@ -33,7 +33,9 @@ along with this program. If not, see . - + + diff --git a/golem_activity_session_registration/views/golem_member_view.xml b/golem_activity_session_registration/views/golem_member_view.xml index c40be01..cbe2691 100644 --- a/golem_activity_session_registration/views/golem_member_view.xml +++ b/golem_activity_session_registration/views/golem_member_view.xml @@ -29,7 +29,9 @@ along with this program. If not, see .

Default season activities

- + +