diff options
| author | malex-emesa <alexander.makarychev@emesa.nl> | 2020-01-08 13:33:40 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-01-08 15:47:09 +0000 |
| commit | b02c46c5aefdb337a4428341b64ebf1b771aea5b (patch) | |
| tree | 9bd510ad29994ac80839de27b4ad43f72172be08 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 1761a5c501fb53f04550e72d247a64829687c372 (diff) | |
[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#42971
X-original-commit: de1dbc9bfba3ec205c75590d3e38b20d30b39c39
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
