Skip to content

Commit

Permalink
Merge pull request #168 from beescoop/12.0-fix-b_shift-groupby_status
Browse files Browse the repository at this point in the history
[FIX] b_shift: Group by status in kanban view
  • Loading branch information
remytms authored Aug 18, 2020
2 parents 709a9e8 + d65659d commit d7a8433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beesdoo_shift/models/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _get_final_state(self):
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):
Expand Down

0 comments on commit d7a8433

Please sign in to comment.