Hi,
I've created a new qweb report to substitute the default "Quotation / Order".
Here's the code:
<record id="pedido_interno_template" model="ir.actions.report">
<field name="name">Pedido Interno</field>
<field name="model">sale.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">new_report.pedido_interno_template</field>
<field name="report_file">new_report.pedido_interno_template</field>
<field name="binding_model_id" ref="sale.model_sale_order"/>
<field name="binding_type">report</field>
</record>
This code adds my "Pedido Interno" report to Print Menu, but...
Whenever I'm sending an e-mail the default report used on the PDF is still the "Quotation / Order" and not my new report
How can I make my new report the default report for emails ?