[FIX] account: reload already printed invoices that are stored as attachment instead of generating the report again

bzr revid: qdp-launchpad@openerp.com-20120808101419-bd1hmpp3nv7byp2o
This commit is contained in:
Quentin (OpenERP) 2012-08-08 12:14:19 +02:00
parent 174e3ba5a6
commit de3513e602
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
rml="account/report/account_print_invoice.rml"
string="Invoices"
attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
attachment_use="True"
usage="default"
/>
<report id="account_transfers" model="account.transfer" name="account.transfer" string="Transfers" xml="account/report/transfer.xml" xsl="account/report/transfer.xsl"/>