mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_inventory: fix allowed fields to be written in stock quant to add to_do field
This commit is contained in:
committed by
Denis Roussel
parent
0aacb98b03
commit
67297089a3
@@ -34,3 +34,6 @@ class StockQuant(models.Model):
|
||||
move.inventory_adjustment_id = adjustment
|
||||
rec.to_do = False
|
||||
return res
|
||||
|
||||
def _get_inventory_fields_write(self):
|
||||
return super()._get_inventory_fields_write() + ["to_do"]
|
||||
|
||||
Reference in New Issue
Block a user