diff --git a/templates/report_scop_bordereau_payments.xml b/templates/report_scop_bordereau_payments.xml index decf3acc3de24e28d68d99ae4fb92400745b86e6..15cf0dae4eb3632914966c68e15f02043711a9aa 100644 --- a/templates/report_scop_bordereau_payments.xml +++ b/templates/report_scop_bordereau_payments.xml @@ -4,7 +4,7 @@ <template id="report_bordereau_document_with_payments"> <t t-call="web.external_layout"> - <t t-set="o" t-value="o.with_context(lang='fr')" /> + <t t-set="o" t-value="o.sudo().with_context(lang='fr')" /> <div class="page" style="font-size: 14px;"> <div class="row"> <div class="col-6 offset-6 mt64 mb64">