I have replaced a report from the odoo stock module with my own version.
How can I hide the standard odoo report from the pull down menu list of the print button. I want to do it without deleting the standard report?
I have tried, unsuccessfully, to set the field menu for the stock report id inside a record tag.
I am wondering Where Odoo stores the menu="False"
attribute of the report tag. Because the table ir_act_report_xml
has no field menu
.
Just We need to override the ids for the base report of stock and you may try to do some things like this.
<report
string="Picking"
id="stock.action_report_picking"
model="stock.picking"
report_type="qweb-pdf"
name="stock.report_picking"
file="stock.report_picking"
menu="False"
/>
I have update my existing ids of base stock Picking report in my custom module.
I hope this should helpful for you ..:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With