details: https://code.tryton.org/tryton/commit/6c21448d020f
branch: 7.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 4e7eb165d97d -r 6c21448d020f sao/src/common.js
--- a/sao/src/common.js Mon Jun 22 11:14:23 2026 +0200
+++ b/sao/src/common.js Mon Jun 29 18:06:10 2026 +0200
@@ -1951,10 +1951,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;
}
}