diff options
| author | Joren Van Onder <jov@odoo.com> | 2018-10-29 12:29:22 -0700 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2018-10-30 10:35:49 -0700 |
| commit | c2bc3381508bfb002cb9af3c3b6655273f8c07d6 (patch) | |
| tree | 47f3ebbbf822d5bc32ff497d6037f920add08ef3 /setup/win32 | |
| parent | ca3a1f51d83db4befac0836c5d6e377d6266c753 (diff) | |
[FIX] account_budget: properly calculate percentage sum in read_group
The percentage field is computed in _compute_percentage as a value
between 0 and 1. This is good because that's what widget="percentage"
in views expects.
This makes read_group also return a value between 0 and 1, instead of
0 and 100. Otherwise list views will show e.g. 5000% when grouping
lines that sum to 50%.
Introduced in saas-11.4 at odoo/odoo@9148960174bdb0abbee6a5b7403a8f.
*Do not forward port, already ported to 12.0 via
odoo/enterprise#2975 (odoo/enterprise@a1484e650cb013f35755d)*
opw-1904481
Diffstat (limited to 'setup/win32')
0 files changed, 0 insertions, 0 deletions
