summaryrefslogtreecommitdiff
path: root/addons/mail
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2018-04-27 10:15:24 +0200
committerjem-odoo <jem@openerp.com>2018-05-22 11:52:19 +0200
commitdafb9b263845892bf4dfb0e5eeecb525317e4e2a (patch)
treefcecd997087fdaa304146719c1470e7dfbfbe832 /addons/mail
parentb637b5aeb8c9ade36293949076be24f2f6e18c8d (diff)
[FIX] sale_expense: expense count of SO should be compute in sudo
Without this commit, reading all fields of sales order will raise an access error if user does not have access to hr.expense documents. An since the expense count is displayed on the form view, this can be annoying. This commit makes the computation of the expense count done by 'sudo', as there is not critical informations at stake.
Diffstat (limited to 'addons/mail')
0 files changed, 0 insertions, 0 deletions