我在 odoo 14 中创建了一个报告,但我只想从按钮触发,所以我想从打印菜单中隐藏....
<record id="report_export_sale_order" model="ir.actions.report">
<field name="name">Print Packing List</field>
<field name="model">sale.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">sales_enhancement.report_export_so</field>
<field name="report_file">sales_enhancement.report_export_so</field>
<field name="binding_model_id" ref="model_sale_order"/>
<field name="binding_type">report</field>
</record>