[FIX] stock_inventory: fix allowed fields to be written in stock quant to add to_do field

This commit is contained in:
AlexPForgeFlow
2023-09-20 17:07:15 +02:00
committed by Ruchir Shukla
parent 4f7332a59b
commit 36e7b71d78

View File

@@ -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"]