From 49837c9d84b60c097eaa4cb2fca721b948c9e750 Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Sun, 28 May 2017 23:00:18 +0200 Subject: [PATCH] =?UTF-8?q?[TASK=200044=5Fb]=20Gestion=20des=20shifts=20:?= =?UTF-8?q?=20visualiser=20le=20cr=C3=A9neau=20sur=20la=20fiche=20du=20mem?= =?UTF-8?q?bre=20r=C3=A9gulier=20+=20[ADD]=20Tab=20worker=20information=20?= =?UTF-8?q?for=20all=20information=20linked=20with=20the=20work=20in=20the?= =?UTF-8?q?=20cooperative=20+=20[ADD]=20share=20type=20for=20beescoop=20+?= =?UTF-8?q?=20[ADD]=20Specific=20module=20that=20make=20the=20link=20betwe?= =?UTF-8?q?en=20beesdoo=20and=20easy=5Fmy=5Fcoop=20:=20compute=20the=20sha?= =?UTF-8?q?re=5Ftype=20base=20on=20the=20share=20bought?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beesdoo_shift/models/cooperative_status.py | 2 +- beesdoo_shift/views/cooperative_status.xml | 26 +++++++++++++--------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/beesdoo_shift/models/cooperative_status.py b/beesdoo_shift/models/cooperative_status.py index 2524e51..69ebd85 100644 --- a/beesdoo_shift/models/cooperative_status.py +++ b/beesdoo_shift/models/cooperative_status.py @@ -44,7 +44,7 @@ class ResPartner(models.Model): info_session = fields.Boolean(related='cooperative_status_ids.info_session', string='Information Session ?', readonly=True, store=True) info_session_date = fields.Datetime(related='cooperative_status_ids.info_session_date', string='Information Session Date', readonly=True, store=True) working_mode = fields.Selection(related='cooperative_status_ids.working_mode', readonly=True, store=True) - + subscribed_shift_ids = fields.Many2many('beesdoo.shift.template') @api.multi def coop_subscribe(self): return { diff --git a/beesdoo_shift/views/cooperative_status.xml b/beesdoo_shift/views/cooperative_status.xml index 1ed1bdc..a9314a0 100644 --- a/beesdoo_shift/views/cooperative_status.xml +++ b/beesdoo_shift/views/cooperative_status.xml @@ -8,18 +8,24 @@
- - - - - - - - + + + + + + + + + + + + + +