[Fix] Production order not displaying in the calendar view, if po has no operations (#11328)
This commit is contained in:
parent
2e6f6d6749
commit
e02ee898e9
@ -569,7 +569,7 @@ def get_events(start, end, filters=None):
|
|||||||
where ((ifnull(planned_start_date, '0000-00-00')!= '0000-00-00') \
|
where ((ifnull(planned_start_date, '0000-00-00')!= '0000-00-00') \
|
||||||
and (planned_start_date <= %(end)s) \
|
and (planned_start_date <= %(end)s) \
|
||||||
and ((ifnull(planned_start_date, '0000-00-00')!= '0000-00-00') \
|
and ((ifnull(planned_start_date, '0000-00-00')!= '0000-00-00') \
|
||||||
and planned_end_date >= %(start)s)) {conditions}
|
and ifnull(planned_end_date, '2199-12-31 00:00:00') >= %(start)s)) {conditions}
|
||||||
""".format(conditions=conditions), {
|
""".format(conditions=conditions), {
|
||||||
"start": start,
|
"start": start,
|
||||||
"end": end
|
"end": end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user