[FIX] purchase: Print RFQ and status does not change
Due to this commit: 98cb4719db
When printing a RFQ, the status of the quotation didn't change in SENT.
opw:1849139
This commit is contained in:
@@ -323,6 +323,7 @@ class PurchaseOrder(models.Model):
|
||||
|
||||
@api.multi
|
||||
def print_quotation(self):
|
||||
self.write({'state': "sent"})
|
||||
return self.env.ref('purchase.report_purchase_quotation').report_action(self)
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user