Hi
Anyone have tried to create a point of sale receipt from the invoice information?
I have a couple of rml reports for invoices that have custom header and footer created in the company page. Now i want to create another option in the invoices page to create a rml report similar to a point of sale receipt with the invoice information and without the header and footer information that exists in the others rml reports or in another manner and size of page.
I tried to create:
report_sxw.report_sxw(
'report.account.invoice.segunda.default',
'account.invoice',
'corp101_print_default/report/account_print_invoice_segunda_default.rml',
parser=account_invoice_1,
header="False"
)
or
report_sxw.report_sxw(
'report.account.invoice.segunda.default',
'account.invoice',
'corp101_print_default/report/account_print_invoice_segunda_default.rml',
parser=account_invoice_1,
header="external"
)
But the header and footer still appears.
Thanks
João Sequeira