Skip to content
Snippets Groups Projects
Commit 52ab8af5 authored by Hubert Van de Walle (huvw)'s avatar Hubert Van de Walle (huvw) Committed by Hubert Van De Walle
Browse files

[FIX] web: multi edit in custom groupby list view


Steps to follow

  - Go to Accounting > Accounting > Sales (account.move.line model)
  - Remove any existing group by
  - Group by Products
  - Select multiples lines of the same product
  - Try to modify the account of the select line
  -> `this.localData[value] is undefined

Cause of the issue

  When grouping by a field not in the view, `list.__data` contains the
  groupedBy field value because we fetched the group through a web_read_group

Solution

  Filter out absent fields before creating the group datapoint

opw-2784995

closes odoo/odoo#88569

X-original-commit: 36c17664
Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
Signed-off-by: default avatarHubert Van De Walle <huvw@odoo.com>
parent 0a04b1f0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment