Thursday, January 28, 2021
1 change · master
Enhancements to existing features
Graph charts now use the custom label defined in the view for measure fields, instead of always falling back to the generic field name. This keeps chart labels, popovers, and measure dropdowns consistent, reducing confusion for users reading reports.
Original PR description
PURPOSE The graph view fields can have the "string" attribute. Unfortunately, it is not used by in the chart.js instance to update the labels and popover. SPEC When we define a graph view, the string attribute is ignored in the label and popover, use field strings given in view definition on more priority then field definition. TASK 2264636 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr