Browse Source

[FIX] base_kanban_stage: ignore domain in _read_group_stage_ids override.

See https://github.com/OCA/server-tools/pull/982 for further info
pull/989/head
Alex Comba 7 years ago
parent
commit
820709cf06
  1. 2
      base_kanban_stage/__manifest__.py
  2. 2
      base_kanban_stage/models/base_kanban_abstract.py

2
base_kanban_stage/__manifest__.py

@ -5,7 +5,7 @@
{
'name': 'Kanban - Stage Support',
'summary': 'Provides stage model and abstract logic for inheritance',
'version': '10.0.1.1.0',
'version': '10.0.1.1.1',
'author': "LasLabs, Odoo Community Association (OCA)",
'category': 'base',
'depends': [

2
base_kanban_stage/models/base_kanban_abstract.py

@ -108,6 +108,4 @@ class BaseKanbanAbstract(models.AbstractModel):
@api.multi
def _read_group_stage_ids(self, stages, domain, order):
search_domain = [('res_model_id.model', '=', self._name)]
if domain:
search_domain.extend(domain)
return stages.search(search_domain, order=order)
Loading…
Cancel
Save