Dear Scot,
yes you can give 'name': 'Invoice -'+'('+'Invoice number' + ')' in return from wizard to print report.
for example: this is function is call from print button in wizard.
def custom_invoice_print(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'sent': True}, context=context)
data = self.read(cr, uid, ids)[0]
self_browse = self.browse(cr, uid, ids)
datas = {
'ids': ids,
'model': 'account.invoice',
'form': self.read(cr, uid, ids[0], context=context)
}
return {
'type': 'ir.actions.report.xml',
'report_name': 'account.invoice2',
'datas': datas,
'name': 'Invoice- ' + '(' + self_browse[0].number + ')' ,
'nodestroy' : True
}
Result: Invoice- (INV14-09_018).pdf
Updated answer:
if you are use rml report then override the report tag like this
<report auto="False" id="sale.report_sale_order" model="sale.order" name="sale.order"
rml="sale/report/sale_order.rml" string="whatever you want to name of the report"
usage="default"/>
Hope this helpfully
Regards,
Ankit H Gandhi.