odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] web: Allow users to enable list view with group_by_no_leaf

Open abz-odoo opened this issue 3 years ago • 4 comments

  • Go to accounting/Report/Invoices Analysis
  • Open studio
  • enable list view
  • empty view

This code bellow compute count_field as __count because group_by_no_leaf is in the context.

But in the basic_model we don't consider this case.

https://github.com/odoo/odoo/blob/5797fd80a63309269f15bcbe4948d4429a53eec2/odoo/models.py#L2293-L2297

opw-2980923

abz-odoo avatar Sep 22 '22 14:09 abz-odoo

@fw-bot up to saas-15.3

abz-odoo avatar Sep 22 '22 14:09 abz-odoo

Pull request status dashboard

robodoo avatar Sep 22 '22 14:09 robodoo

Forward-porting to 'saas-15.3'.

fw-bot avatar Sep 22 '22 14:09 fw-bot

16.0 -> master pr: https://github.com/odoo/odoo/pull/100872

abz-odoo avatar Sep 22 '22 14:09 abz-odoo