Add 'Print Order' on PO (there was already a 'Print RFQ button'...)
This commit is contained in:
@@ -49,6 +49,11 @@ class PurchaseOrder(models.Model):
|
||||
})
|
||||
return res
|
||||
|
||||
def print_order(self):
|
||||
action = self.env['report'].get_action(
|
||||
self, 'purchase.report_purchaseorder')
|
||||
return action
|
||||
|
||||
|
||||
class StockPicking(models.Model):
|
||||
_inherit = 'stock.picking'
|
||||
|
||||
Reference in New Issue
Block a user