summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-29 10:29:12 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-29 13:37:22 +0100
commit5b230c34cb960f3f729d6612735dd9c3c896b785 (patch)
tree417d38abeedafce51cdf54ec7fb720dfe2ff3059 /addons/web/static/src/js/fields/basic_fields.js
parent8b8f04e14c9ed3cc6c319ef23c3f374c618ac0c5 (diff)
[FIX] web: noshow list view aggregates w/ currency
In df69b5bb the aggregates of a column with currency was shown only if records were of the same currency when a grouping was closed. But when the list view is grouped, this would cause a number of issue: - error if with first grouping is opened, another one is closed - if the first grouping was closed aggregates were always shown - the code only acts when closing a grouping - aggregates could be shown when they should not - aggregates could be not shown when they should So this commit change things so this feature is ignored when the list view is grouped. There is also a fix so `currency_field` of the column is used instead of just using `currency_id` that may be wrong. note: only for saas-14 and saas-15 (feature is not present in saas-16) opw-810835 closes #22598
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions