summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorToufik Ben Jaa <tbe@odoo.com>2018-11-15 11:39:05 +0000
committerToufik Ben Jaa <tbe@odoo.com>2018-11-15 11:39:05 +0000
commit4dae545bf9f886cc41a42150c29e6b0c7efaac5d (patch)
treeef18e38b77a6143ed098d0716101a91c6fab7b8e /addons/web_editor/static/src/xml
parent7077f18e3a3e5ccb8f877fae99f49d87574bac7e (diff)
[FIX] mass_mailing_sale: check access on SO & invoice report
- When computing the count of quotations count and the invoiced amount on a mass mailing, we do not check if the current user has access to the models `sale.order` and `account.invoice.report`. This fix first check the access rights on the models, if the current user doesn't have read access, then we set the computed value to 0. closes odoo/odoo#28717
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions