Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Create a rml report from invoice with point of sale receipt style

By
João Sequeira
on 5/21/15, 6:08 AM 525 views

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/21/15, 6:08 AM
Seen: 525 times
Last updated: 5/21/15, 6:08 AM