Add new depends from new get_eval_fields implementation
issue11164
This commit is contained in:
1 parent
e511c74dc5
commit
801d647349
1 file changed
+1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user