From 1294dd3590bf6f2dcba3df231bb64236bc0b6d90 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 --- purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purchase.py b/purchase.py index 1ed630238c..1ee162b759 100644 --- a/purchase.py +++ b/purchase.py @@ -16,5 +16,5 @@ class Line(metaclass=PoolMeta): states={ 'invisible': Eval('type') != 'line', }, - depends=['type'], + depends=['type', 'purchase'], help="Add to the cost of the production.")