Browse Source

[FIX] b_shift: Group by status in kanban view

pull/168/head
Rémy Taymans 4 years ago
parent
commit
d65659dc2a
  1. 2
      beesdoo_shift/models/task.py

2
beesdoo_shift/models/task.py

@ -89,7 +89,7 @@ class Task(models.Model):
working_mode = fields.Selection(related="worker_id.working_mode")
def _expand_states(self, states, domain, order):
return [key for key, val in self._fields["state"].selection]
return [key for key, val in self._fields["state"].selection(self)]
@api.depends("state")
def _compute_color(self):

Loading…
Cancel
Save