From 4afe7981666bf8d9e40419c514140df17566ea30 Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Thu, 28 Nov 2024 11:41:23 +0100 Subject: [PATCH] stock_reception_screen_measuring_device: fix scan_requested stored 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. --- .../models/stock_reception_screen.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stock_reception_screen_measuring_device/models/stock_reception_screen.py b/stock_reception_screen_measuring_device/models/stock_reception_screen.py index a56f5be43c..a5799b22d0 100644 --- a/stock_reception_screen_measuring_device/models/stock_reception_screen.py +++ b/stock_reception_screen_measuring_device/models/stock_reception_screen.py @@ -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(