details: https://code.tryton.org/tryton/commit/9368ffca1110
branch: 8.0
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 16808f994a5f -r 9368ffca1110 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
@@ -1972,10 +1972,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;
}
}