I want to print deliveryslip report after validating stock.picking object. I overwrote the the button_vadidate function to:
self.env.ref('stock.action_report_delivery').report_action(self)res = super(CustomInventory, self).button_validate()
return res
still it doesn't work; any ideas?