summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorrmu-odoo <rmu@openerp.com>2017-10-22 16:12:12 +0530
committerYannick Tivisse <yti@odoo.com>2018-02-05 10:11:56 +0100
commitccaea94a66f75dc8cfe8e412080e098ffbd720d1 (patch)
tree4d55c546faa77964f7d0c134b68dd6b317983066 /addons/web/static/src/js/views/basic/basic_controller.js
parent1ce899d118b3d46a816c0fc5f2f1a6f0ca9670ed (diff)
[IMP] anlaytic: display total of balance/credit/debit on group_by
Purpose ======= User not able to see his total balance per customer if user has several projects with same customer.. see here : https://www.odoo.com/web/content/3287924 Specification ============= User should be able to see the sum of the debit, credit and balance when group by partner The difficulty here is that debit,credit and balance are non-stored computed fields depending on the company and the date passed with the context. As these parameters depend on the user and the current date, we can't store the field. The simplest way to achieve this is to override the read_group method and compute the sum by hand when the values are aggregated (means when a group_by is applied).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions