How can I hide the standard report from the drop-down menu of the print button on Odoo 8?

I replaced the report from the stock module with my own version.

How can I hide the standard odoo report from the print button popup menu. I want to do this without deleting the standard report?

I tried, unsuccessfully, to set the field menu for the stock report identifier inside the record tag.

I am wondering where Odoo stores the menu="False" attribute of the report tag. Since the table ir_act_report_xml does not have a menu field.

+5
source share
1 answer

We just need to override the identifiers for the basic stock report, and you can try to do something 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 updated information on existing basic inventory identifiers. Report compilation in my custom module.

I hope this will be useful for you .. :)

+7
source

All Articles