I need to completely change the invoice layout. I'm inheriting "account.report_invoice_document" and replacing everything inside:
I've removed "external_layout" and replaced it with only this:
But I have but trouble with a blank space above actual content. I've read that I can change a paper format and remove top margin. But this will also break other reports that use normal layout.
How do I do this? Can I assign custom paper format only for invoices? How? Or is there other way?
Also this class="article" seems to be necessary for some reason.
Using Odoo 13