Skip to content

Commit

Permalink
[FIX] stock_inventory: fix allowed fields to be written in stock quan…
Browse files Browse the repository at this point in the history
…t to add to_do field
  • Loading branch information
AlexPForgeFlow committed Sep 20, 2023
1 parent 5835f4d commit be501a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stock_inventory/models/stock_quant.py
Original file line number Diff line number Diff line change
@@ -39,3 +39,6 @@ def _apply_inventory(self):
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"]

0 comments on commit be501a4

Please sign in to comment.