Skip to content
Snippets Groups Projects
Commit de1dbc9b authored by malex-emesa's avatar malex-emesa Committed by Martin Trigaux
Browse files

[FIX] crm: check if name is present in measures


Fix an error which occurs during an attempt to access the string
attribute of a non existing measure
If a pivot view is defined with a "string" attribute of a field of
type "row", e.g.

   <field name="stage_id" string="Stage" type="row"/>

an error was raised "TypeError: measures[name] is undefined"

closes odoo/odoo#42941

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 3d2087a2
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment