I'm using OpenERP 8 odoo and I'm following the report creation tutorial but I get stuck at where i can but the report record code for example:
<report
id="account_invoices"
model="account.invoice"
string="Invoices"
report_type="qweb-pdf"
name="account.report_invoice"
file="account.report_invoice"
attachment_use="True"
attachment="(object.state in ('open','paid')) and
('INV'+(object.number or '').replace('/','')+'.pdf')"
/>
Thanks in advance Reference : http://blog.emiprotechnologies.com/create-qweb-report-odoo/