Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond for openSUSE:Factory checked 
in at 2026-02-05 18:01:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond (Old)
 and      /work/SRC/openSUSE:Factory/.trytond.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond"

Thu Feb  5 18:01:11 2026 rev:116 rq:1331415 version:7.0.45

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond/trytond.changes  2026-01-20 
21:04:09.335087169 +0100
+++ /work/SRC/openSUSE:Factory/.trytond.new.1670/trytond.changes        
2026-02-05 18:06:51.663869424 +0100
@@ -1,0 +2,5 @@
+Thu Feb  5 11:24:34 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.45 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond-7.0.44.tar.gz

New:
----
  trytond-7.0.45.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond.spec ++++++
--- /var/tmp/diff_new_pack.QBgD9M/_old  2026-02-05 18:06:52.383899672 +0100
+++ /var/tmp/diff_new_pack.QBgD9M/_new  2026-02-05 18:06:52.383899672 +0100
@@ -30,7 +30,7 @@
 ##%%endif
 
 Name:           trytond
-Version:        %{majorver}.44
+Version:        %{majorver}.45
 Release:        0
 Summary:        An Enterprise Resource Planning (ERP) system
 License:        GPL-3.0-or-later

++++++ trytond-7.0.44.tar.gz -> trytond-7.0.45.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.44/CHANGELOG new/trytond-7.0.45/CHANGELOG
--- old/trytond-7.0.44/CHANGELOG        2026-01-15 21:56:50.000000000 +0100
+++ new/trytond-7.0.45/CHANGELOG        2026-02-01 10:57:27.000000000 +0100
@@ -1,4 +1,9 @@
 
+Version 7.0.45 - 2026-02-01
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.44 - 2026-01-15
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.44/PKG-INFO new/trytond-7.0.45/PKG-INFO
--- old/trytond-7.0.44/PKG-INFO 2026-01-15 21:56:53.218824600 +0100
+++ new/trytond-7.0.45/PKG-INFO 2026-02-01 10:57:30.973886500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond
-Version: 7.0.44
+Version: 7.0.45
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.44/trytond/__init__.py 
new/trytond-7.0.45/trytond/__init__.py
--- old/trytond-7.0.44/trytond/__init__.py      2026-01-14 23:42:15.000000000 
+0100
+++ new/trytond-7.0.45/trytond/__init__.py      2026-01-15 21:57:02.000000000 
+0100
@@ -10,7 +10,7 @@
 import __main__
 from lxml import etree, objectify
 
-__version__ = "7.0.44"
+__version__ = "7.0.45"
 
 if not os.environ.get('TRYTOND_APPNAME'):
     os.environ['TRYTOND_APPNAME'] = os.path.basename(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.44/trytond/backend/postgresql/table.py 
new/trytond-7.0.45/trytond/backend/postgresql/table.py
--- old/trytond-7.0.44/trytond/backend/postgresql/table.py      2025-09-22 
21:34:39.000000000 +0200
+++ new/trytond-7.0.45/trytond/backend/postgresql/table.py      2026-01-31 
13:54:21.000000000 +0100
@@ -4,6 +4,7 @@
 import re
 
 from psycopg2.sql import SQL, Identifier
+from sql import Column
 
 from trytond.backend.table import (
     IndexTranslatorInterface, TableHandlerInterface)
@@ -581,11 +582,18 @@
     @classmethod
     def _get_expression_variables(cls, expression, usage):
         variables = {
-            'expression': SQL(str(expression)),
             'collate': SQL(''),
             'opclass': SQL(''),
             'order': SQL(''),
             }
+        if isinstance(expression, Column):
+            variables['expression'] = SQL(str(expression))
+        else:
+            expression_str = str(expression)
+            if expression_str.startswith('(') and expression_str.endswith(')'):
+                variables['expression'] = SQL(expression_str)
+            else:
+                variables['expression'] = SQL(f'({expression_str})')
         if usage.options.get('collation'):
             variables['collate'] = SQL('COLLATE {}').format(
                 usage.options['collation'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond-7.0.44/trytond/model/fields/multiselection.py 
new/trytond-7.0.45/trytond/model/fields/multiselection.py
--- old/trytond-7.0.44/trytond/model/fields/multiselection.py   2025-09-22 
21:34:39.000000000 +0200
+++ new/trytond-7.0.45/trytond/model/fields/multiselection.py   2026-01-31 
14:50:21.000000000 +0100
@@ -91,7 +91,9 @@
         database = Transaction().database
         table, _ = tables[None]
         raw_column = self.sql_column(table)
-        if isinstance(value, str):
+        if value is None:
+            expression = Literal(False)
+        elif isinstance(value, str):
             try:
                 expression = database.json_key_exists(raw_column, value)
             except NotImplementedError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond-7.0.44/trytond/tests/test_field_multiselection.py 
new/trytond-7.0.45/trytond/tests/test_field_multiselection.py
--- old/trytond-7.0.44/trytond/tests/test_field_multiselection.py       
2025-09-22 21:34:39.000000000 +0200
+++ new/trytond-7.0.45/trytond/tests/test_field_multiselection.py       
2026-01-31 16:27:34.000000000 +0100
@@ -232,6 +232,32 @@
         self.assertEqual(selections, [selection])
 
     @with_transaction()
+    def test_search_in_none(self):
+        "Test search selection in None"
+        Selection = Pool().get('test.multi_selection')
+        selection, = Selection.create([{
+                    'selects': ['foo', 'bar'],
+                    }])
+
+        result = Selection.search([
+                ('selects', 'in', None),
+                ])
+        self.assertEqual(result, [])
+
+    @with_transaction()
+    def test_search_not_in_none(self):
+        "Test search selection not in None"
+        Selection = Pool().get('test.multi_selection')
+        selection, = Selection.create([{
+                    'selects': ['foo', 'bar'],
+                    }])
+
+        result = Selection.search([
+                ('selects', 'not in', None),
+                ])
+        self.assertEqual(result, [selection])
+
+    @with_transaction()
     def test_search_in_string(self):
         "Test search selection in string"
         Selection = Pool().get('test.multi_selection')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond-7.0.44/trytond.egg-info/PKG-INFO 
new/trytond-7.0.45/trytond.egg-info/PKG-INFO
--- old/trytond-7.0.44/trytond.egg-info/PKG-INFO        2026-01-15 
21:56:52.000000000 +0100
+++ new/trytond-7.0.45/trytond.egg-info/PKG-INFO        2026-02-01 
10:57:30.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond
-Version: 7.0.44
+Version: 7.0.45
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to