details: https://code.tryton.org/tryton/commit/31fa77ee3dba
branch: default
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
diffstat:
sao/src/common.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (18 lines):
diff -r 58bde097ad51 -r 31fa77ee3dba 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
@@ -1975,10 +1975,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;
}
}