Name:
[FIX] mrp: avoid traceback when leave_id on workorders is not set
State:
Killed
PR State:
merged
PR Author:
Roy Le
PR Author Email:
PR:
#1011
Committer:
Roy Le
Committer Email:
roy.le@viindoo.com
Commit:
d427df96e004ef4c28ef36f6d4f77da23c09c1ed
Description:
[FIX] mrp: avoid traceback when leave_id on workorders is not set
File "/opt/odoo/16.0/addons/mrp/models/mrp_production.py", line 1408, in
_plan_workorders
'date_planned_start': min([workorder.leave_id.date_from for workorder in
workorders]),
TypeError: '<' not supported between instances of 'datetime.datetime' and 'bool'
Branch:
16.0
Instance ID:
0
Age:
Not started
Up-time:
Not finished