mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_request: Allow to set to draft multiple records
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user