How can I hide a standard report from the print button pull down menu list on Odoo 8?

6.5k views Asked by At

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.

1

There are 1 answers

6
DASADIYA CHAITANYA On

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 ..:)