From d65659dc2ab7b12762292512e08daf6641f76032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Tue, 18 Aug 2020 18:56:33 +0200 Subject: [PATCH] [FIX] b_shift: Group by status in kanban view --- beesdoo_shift/models/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beesdoo_shift/models/task.py b/beesdoo_shift/models/task.py index 119f8f7e9..0fa1b330f 100644 --- a/beesdoo_shift/models/task.py +++ b/beesdoo_shift/models/task.py @@ -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):