details: https://code.tryton.org/tryton/commit/cfd1ae749fc2
branch: default
user: Nicolas Évrard <[email protected]>
date: Thu Sep 03 11:52:08 2026 +0000
description:
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Cédric Krier <[email protected]>
diffstat:
trytond/trytond/tests/test_field_depends.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 9d5d21d76b46 -r cfd1ae749fc2 trytond/trytond/tests/test_field_depends.py
--- a/trytond/trytond/tests/test_field_depends.py Thu Sep 03 12:24:29
2026 +0200
+++ b/trytond/trytond/tests/test_field_depends.py Thu Sep 03 11:52:08
2026 +0000
@@ -275,7 +275,10 @@
bar = fields.Char("Bar")
baz = fields.Function(fields.Char("Baz"))
- @fields.depends('foo', 'baz')
+ @fields.depends(
+ 'foo', # with a getter
+ 'baz', # without getter
+ )
def on_change_test(self):
pass