[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 Kitti U
parent d98c89119b
commit 49d7cb6309

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):