Try to assign automatically planned shipments in the past

Closes #13030
(grafted from e3bd5809ef0341afef8f9b65635d14bd2f9b37d5)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2024-02-09 16:44:46 +01:00
parent 4da191fd3c
commit 1ae4c8a2f4
+1 -1
View File
@@ -79,7 +79,7 @@ class ShipmentAssignMixin(ShipmentMixin):
return [
('company', '=', context.get('company')),
('state', '=', 'waiting'),
('planned_date', '=', Date.today()),
('planned_date', '<=', Date.today()),
]
@classmethod