From 46becbcb2c6dee2d133941d038835883e1d51af6 Mon Sep 17 00:00:00 2001 From: EliseDup Date: Sat, 22 Apr 2017 11:59:48 +0200 Subject: [PATCH] =?UTF-8?q?[ADD][TASK=200047]=20Faire=20le=20suivi=20des?= =?UTF-8?q?=20inscriptions=20aux=20s=C3=A9ances=20info/inscriptions=20shif?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beesdoo_base/models/partner.py | 3 +++ beesdoo_base/views/partner.xml | 15 +++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/beesdoo_base/models/partner.py b/beesdoo_base/models/partner.py index 2c7c2ed..853e3d9 100644 --- a/beesdoo_base/models/partner.py +++ b/beesdoo_base/models/partner.py @@ -21,6 +21,9 @@ class Partner(models.Model): member_card_to_be_printed = fields.Boolean('Print BEES card?') last_printed = fields.Datetime('Last printed on') + info_session = fields.Boolean('Information Session ?') + info_session_date = fields.Datetime('Information Session Date') + @api.onchange('first_name', 'last_name') def _on_change_name(self): self.name = concat_names(self.first_name, self.last_name) diff --git a/beesdoo_base/views/partner.xml b/beesdoo_base/views/partner.xml index 458f70c..771470d 100644 --- a/beesdoo_base/views/partner.xml +++ b/beesdoo_base/views/partner.xml @@ -33,13 +33,20 @@ - - - + + + + + + + + - +