From ee7fd8ca9ca6b83b88b5f9824d92432b19301d0a Mon Sep 17 00:00:00 2001 From: Elouan Le Bars Date: Fri, 11 Oct 2019 11:50:13 +0200 Subject: [PATCH] [ADD] b_shift : attendance_sheet_id to TaskTemplate --- beesdoo_shift/models/planning.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beesdoo_shift/models/planning.py b/beesdoo_shift/models/planning.py index 46f5ab4..5f69e3c 100644 --- a/beesdoo_shift/models/planning.py +++ b/beesdoo_shift/models/planning.py @@ -81,6 +81,7 @@ class TaskTemplate(models.Model): planning_id = fields.Many2one('beesdoo.shift.planning', required=True) day_nb_id = fields.Many2one('beesdoo.shift.daynumber', string='Day', required=True) task_type_id = fields.Many2one('beesdoo.shift.type', string="Type") + attendance_sheet_id = fields.Many2one('beesdoo.shift.sheet', string="Attendance Sheet") start_time = fields.Float(required=True) end_time = fields.Float(required=True) super_coop_id = fields.Many2one('res.users', string="Super Cooperative", domain=[('partner_id.super', '=', True)])