Browse Source

Merge pull request #168 from beescoop/12.0-fix-b_shift-groupby_status

[FIX] b_shift: Group by status in kanban view
pull/154/merge
Rémy Taymans 4 years ago
committed by GitHub
parent
commit
d7a8433e7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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