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.")