From 801d647349bc8c04cd8e509bcd27bd220da9e0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 30 Jan 2022 20:17:47 +0100 Subject: [PATCH] Add new depends from new get_eval_fields implementation issue11164 --- carrier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/carrier.py b/carrier.py index 97e8aada34..d9be9dd871 100644 --- a/carrier.py +++ b/carrier.py @@ -89,6 +89,7 @@ class WeightPriceList(ModelSQL, ModelView): help="The carrier that the price list belongs to.") weight = fields.Float('Weight', digits=(16, Eval('_parent_carrier', {}).get('weight_uom_digits', 2)), + depends=['carrier'], help="The lower limit for the price.") price = Monetary( "Price", currency='currency', digits='currency',