Browse Source

[MIG] b_shift : code cleaning for 12.0

pull/143/head
Elouan Le Bars 4 years ago
parent
commit
a3b85ecf8c
  1. 2
      beesdoo_shift/models/task.py

2
beesdoo_shift/models/task.py

@ -41,8 +41,6 @@ class Task(models.Model):
)
color = fields.Integer(compute="_compute_color")
super_coop_id = fields.Many2one('res.users', string="Super Cooperative", domain=[('partner_id.super', '=', True)], track_visibility='onchange')
# TODO: Maybe is_regular and is_compensation must be merged in a
# selection field as they are mutually exclusive.
is_regular = fields.Boolean(default=False, string="Regular shift")
is_compensation = fields.Boolean(default=False, string="Compensation shift")
replaced_id = fields.Many2one('res.partner', track_visibility='onchange',

Loading…
Cancel
Save