97 lines
4.1 KiB
XML
97 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
|
|
Remove Odoo's default PDF reports from each model's Print dropdown
|
|
so users can't accidentally send the unbranded version. Setting
|
|
`binding_model_id` to False leaves the underlying report intact;
|
|
an admin can re-enable any of these from Settings → Technical →
|
|
Actions → Reports.
|
|
|
|
Loaded last so it overrides the binding declarations shipped by
|
|
the base modules.
|
|
-->
|
|
<odoo noupdate="0">
|
|
|
|
<!-- sale.order -->
|
|
<record id="sale.action_report_saleorder" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- account.move -->
|
|
<record id="account.account_invoices" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
<record id="account.account_invoices_without_payment" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- stock.picking -->
|
|
<record id="stock.action_report_delivery" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- purchase.order: PO + RFQ -->
|
|
<record id="purchase.action_report_purchase_order" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
<record id="purchase.report_purchase_quotation" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- sale.order: pro-forma -->
|
|
<record id="sale.action_report_pro_forma_invoice" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- account.payment -->
|
|
<record id="account.action_report_payment_receipt" model="ir.actions.report">
|
|
<field name="binding_model_id" eval="False"/>
|
|
<field name="binding_type">action</field>
|
|
</record>
|
|
|
|
<!-- ================================================================
|
|
Print-menu sequencing — pin Fusion reports to the top.
|
|
Portrait = 10 (primary), Landscape = 15 (secondary).
|
|
================================================================ -->
|
|
<record id="fusion_reports_templates.action_report_fr_sale_portrait" model="ir.actions.report">
|
|
<field name="sequence" eval="10"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_sale_landscape" model="ir.actions.report">
|
|
<field name="sequence" eval="15"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_invoice_portrait" model="ir.actions.report">
|
|
<field name="sequence" eval="10"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_invoice_landscape" model="ir.actions.report">
|
|
<field name="sequence" eval="15"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_delivery_portrait" model="ir.actions.report">
|
|
<field name="sequence" eval="10"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_delivery_landscape" model="ir.actions.report">
|
|
<field name="sequence" eval="15"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_purchase_portrait" model="ir.actions.report">
|
|
<field name="sequence" eval="10"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_purchase_landscape" model="ir.actions.report">
|
|
<field name="sequence" eval="15"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_receipt_portrait" model="ir.actions.report">
|
|
<field name="sequence" eval="10"/>
|
|
</record>
|
|
<record id="fusion_reports_templates.action_report_fr_receipt_landscape" model="ir.actions.report">
|
|
<field name="sequence" eval="15"/>
|
|
</record>
|
|
|
|
</odoo>
|