Skip to Content
Menu
This question has been flagged

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

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
169
0
Nov 23
1063
0
Mar 15
3299
0
Oct 24
1321
2
Jul 24
1108