details:   https://code.tryton.org/tryton/commit/5731abbdb2c7
branch:    default
user:      Sergi Almacellas Abellana <[email protected]>
date:      Mon Jul 06 20:05:23 2026 +0200
description:
        Test column_ methods in tests_fields_methods
diffstat:

 trytond/trytond/tests/test_tryton.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 82b14340e545 -r 5731abbdb2c7 trytond/trytond/tests/test_tryton.py
--- a/trytond/trytond/tests/test_tryton.py      Tue Jul 07 19:19:25 2026 +0200
+++ b/trytond/trytond/tests/test_tryton.py      Mon Jul 06 20:05:23 2026 +0200
@@ -699,6 +699,8 @@
                         getattr(model, attr)()
                 elif attr.startswith('order_'):
                     model.search([], order=[(attr[len('order_'):], None)])
+                elif attr.startswith('column_'):
+                    model.search([(attr[len('column_'):], '=', None)])
                 elif attr.startswith('domain_'):
                     model.search([(attr[len('domain_'):], '=', None)])
                 elif any(attr.startswith(p) for p in [

Reply via email to