diff --git a/addons/account/account_report.xml b/addons/account/account_report.xml index ac6355399b8..98929af59a8 100644 --- a/addons/account/account_report.xml +++ b/addons/account/account_report.xml @@ -16,7 +16,8 @@ name="account.invoice" rml="account/report/invoice.rml" string="Invoices" - attachment="(object.state in ('open','paid')) and (time.strftime('%Y-%m-%d')+'-'+object.number)"/> + attachment="(object.state in ('open','paid')) and (time.strftime('%Y-%m-%d')+'-'+object.number)" + attachment_use="1"/>