changeset 1a4ae89fb050 in modules/carrier_weight:default
details:
https://hg.tryton.org/modules/carrier_weight?cmd=changeset&node=1a4ae89fb050
description:
Add new depends from new get_eval_fields implementation
issue11164
diffstat:
carrier.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 6f38dfd2a33f -r 1a4ae89fb050 carrier.py
--- a/carrier.py Sat Dec 18 16:31:07 2021 +0100
+++ b/carrier.py Sun Jan 30 20:17:47 2022 +0100
@@ -89,6 +89,7 @@
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',