Skip to content
Snippets Groups Projects
Commit 082eef13 authored by Jérome Maes's avatar Jérome Maes
Browse files

[FIX] account: invoice should be stored the first it is printed

parent 44685b59
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
report_type="qweb-pdf"
name="account.report_invoice"
file="account.report_invoice"
attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
/>
<record id="account_invoices" model="ir.actions.report.xml">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment