-
- Downloads
[FIX] sale_management: admin doesn't have access to sale.order.template model
If a default template is specified in a given database (it is the case by default
on runbot databases because of sale_quotation_builder), the webclient will
try to fetch its display_name (through a name_get rpc).
As this happens even if the default_sale_order_template_id field is hidden
in the view, administrators without sales rights were not able to open the settings,
because they didn't have read rights on sale.order.template model.
This commit makes sure that settings users are able to open the settings
independently of their level of rights for the Sales scope (salesman/sales manager).
Fixes #84597
closes odoo/odoo#91312
Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
Please register or sign in to comment