From 77cf224b2fdbbf9a09470b781e166a89d7419457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Thu, 3 Sep 2026 11:52:08 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cédric Krier --- trytond/trytond/tests/test_field_depends.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trytond/trytond/tests/test_field_depends.py b/trytond/trytond/tests/test_field_depends.py index cae0d2a061..bb61af4f5f 100644 --- a/trytond/trytond/tests/test_field_depends.py +++ b/trytond/trytond/tests/test_field_depends.py @@ -275,7 +275,10 @@ class FieldDependsTestCase(TestCase): 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