[IMP] stock_request: Allow to set to draft multiple records

This commit is contained in:
Enric Tobella
2019-07-12 12:56:26 +02:00
committed by hveficent
parent 4fb3d58927
commit e93cf53b36

View File

@@ -199,7 +199,7 @@ class StockRequest(models.Model):
return True
def action_draft(self):
self.state = 'draft'
self.write({'state': 'draft'})
return True
def action_cancel(self):