Skip to content

Commit

Permalink
stock_reception_screen_measuring_device: fix scan_requested stored
Browse files Browse the repository at this point in the history
There's no need to store this flag as it's used only for UI purpose on the rec screen.
This way useless computation to update the field are avoided.
  • Loading branch information
simahawk committed Nov 28, 2024
1 parent 1fb7ec3 commit 4afe798
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class StockReceptionScreen(models.Model):
help="A scan from the measuring device was requested",
default=False,
compute="_compute_scan_requested",
store=True,
)

@api.depends(
Expand Down

0 comments on commit 4afe798

Please sign in to comment.