Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Replacing default sale order / quote PDF report in XML, something wrong as I get duplicated entries.
I am trying to replace the existing sales order / quotation PDF report with a custom one:
<!-- REPLACE EXISTING TEMPLATE SALE ORDER -->
string="Presupuesto / Pedido"
attachment = "(object.state in ('open','paid')) and ('P_'+(object.number or '').replace('/','')+'.pdf')"
<record id="sale.report_saleorder" model="ir.actions.report.xml">
<field name="paperformat_id" ref="report.paperformat_euro"/>
But unfortunatelly I am getting duplicated entries (the new entry and the old standard one which fails) in the PRINT menu.
Any tips on what I am missing?
There must be something small as similar approach works fine for invoices.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/29/15, 4:45 PM|
|Seen: 890 times|
|Last updated: 9/29/15, 4:47 PM|