From 9dc2228bc444e063977370c5de12377f752b432e Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Mon, 10 Oct 2016 11:21:19 +0200 Subject: [PATCH] [IMP]GOLEM Activity Session Registrations : no state and not yet invoicing so no invoice mentions needed ATM --- .../models/golem_activity_session_registration.py | 5 ----- .../views/golem_activity_session_registration_view.xml | 5 +---- .../views/golem_activity_view.xml | 1 - .../views/golem_member_view.xml | 1 - 4 files changed, 1 insertion(+), 11 deletions(-) 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 ff931f5..5c3ff50 100644 --- a/golem_activity_session_registration/models/golem_activity_session_registration.py +++ b/golem_activity_session_registration/models/golem_activity_session_registration.py @@ -67,11 +67,6 @@ class GolemActivitySessionRegistration(models.Model): ondelete='cascade') session_id = fields.Many2one('golem.activity.session', required=True, string='Activity session', ondelete='cascade') - invoice_id = fields.Many2one('account.invoice', string='Invoice', - ondelete='set null') - invoice_line_id = fields.Many2one('account.invoice.line', - string='Invoice line', - ondelete='set null') season_id = fields.Many2one(string='Season', related='session_id.season_id') is_current = fields.Boolean('Current season?', 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..b552519 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 @@ -44,22 +44,19 @@ along with this program. If not, see . - - - GOLEM Activity Sesion Registration searches + GOLEM Activity Session Registration searches 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..4b1e785 100644 --- a/golem_activity_session_registration/views/golem_activity_view.xml +++ b/golem_activity_session_registration/views/golem_activity_view.xml @@ -38,7 +38,6 @@ along with this program. If not, see . domain="[('season_ids', '=', season_id)]" /> - diff --git a/golem_activity_session_registration/views/golem_member_view.xml b/golem_activity_session_registration/views/golem_member_view.xml index 7bc21a7..fc0cadd 100644 --- a/golem_activity_session_registration/views/golem_member_view.xml +++ b/golem_activity_session_registration/views/golem_member_view.xml @@ -37,7 +37,6 @@ along with this program. If not, see . domain="[('is_current', '=', True)]" /> -