[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 Denis Roussel
parent 0aacb98b03
commit 67297089a3

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