Hello,
I added a menu item in the action menu of the mrp.production form.
When i click on this item, i call a python method and in this method, i do differents things in particular, i want to print the report exactly if i click on the menu "Production order" in the print menu of the form.
I tried with this line :
return self.env.ref('mrp.action_report_production_order').report_action(self)
But it doesn't work maybe because i could not find any report action for the report action_report_production_order !?
Maybe i made a mistake or there an other way to print this report from a python method ?