From 7e1b30aaa8834f82e8487d1d5be8e77042b80064 Mon Sep 17 00:00:00 2001 From: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com> Date: Tue, 5 Mar 2024 16:04:14 +0100 Subject: [PATCH] py3: avoid None >= None comparison. --- .../TaskConstraint/date_coherency_constraint.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/TaskConstraint/date_coherency_constraint.xml b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/TaskConstraint/date_coherency_constraint.xml index 3f84c835fa0..9eee8116040 100644 --- a/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/TaskConstraint/date_coherency_constraint.xml +++ b/product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/TaskConstraint/date_coherency_constraint.xml @@ -14,7 +14,7 @@ <key> <string>expression</string> </key> <value> <string encoding="cdata"><![CDATA[ -python: object.getStopDate() >= object.getStartDate() +python: object.getStopDate() >= object.getStartDate() if object.hasStartDate() else True ]]></string> </value> </item> -- 2.30.9