Add new depends from new get_eval_fields implementation
issue11164
This commit is contained in:
+2
-1
@@ -21,7 +21,8 @@ class PurchaseLine(AnalyticMixin, metaclass=PoolMeta):
|
||||
'invisible': Eval('type') != 'line',
|
||||
'readonly': Eval('purchase_state') != 'draft',
|
||||
}
|
||||
cls.analytic_accounts.depends.extend(['type', 'purchase_state'])
|
||||
cls.analytic_accounts.depends.extend(
|
||||
['type', 'purchase_state', 'purchase'])
|
||||
|
||||
def get_invoice_line(self):
|
||||
pool = Pool()
|
||||
|
||||
Reference in New Issue
Block a user