diff --git a/templates/report_union_sociale.xml b/templates/report_union_sociale.xml index f474576653d0949d5d41b6daeb0d651e914f2b8b..4a6b29f909ac6f5d6ef3a6939ef5e015cc4f2acc 100644 --- a/templates/report_union_sociale.xml +++ b/templates/report_union_sociale.xml @@ -193,7 +193,7 @@ <template id="report_union_sociale"> <t t-call="web.basic_layout"> <t t-set="docs" t-value="docs.with_context(lang='fr')" /> - <t t-foreach="docs" t-as="o"> + <t t-foreach="docs.sudo()" t-as="o"> <t t-call="cgscop_cotisation_cg.report_union_sociale_document" t-lang="fr"