details:   https://code.tryton.org/tryton/commit/9fc345b4ebe8
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Mon Jun 29 18:06:10 2026 +0200
description:
        Clausify each clause of the parsed domain on date/time equality

        Closes #14917
        (grafted from 31fa77ee3dba8b633395d383b2d890333bf9aff3)
diffstat:

 sao/src/common.js |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (18 lines):

diff -r 1da54cb461fe -r 9fc345b4ebe8 sao/src/common.js
--- a/sao/src/common.js Thu Jun 25 15:26:30 2026 +0200
+++ b/sao/src/common.js Mon Jun 29 18:06:10 2026 +0200
@@ -1963,10 +1963,10 @@
                                     date.hour(), date.minute(), date.second(),
                                     date.millisecond())
                                 next_day.add(1, 'day');
-                                result.push(this._clausify([
-                                    [field_name, '>=', date],
-                                    [field_name, '<', next_day]
-                                ]));
+                                result.push([
+                                    this._clausify([field_name, '>=', date]),
+                                    this._clausify([field_name, '<', 
next_day]),
+                                ]);
                                 return;
                             }
                         }

Reply via email to