Skip to Content
Menu
This question has been flagged
We work with Odoo 16 and we have the manufacturing module installed, which creates production orders and work orders from the sales module. You are already set up to create them when you create a sales order.
But for some reason, in some orders we get the following error when clicking the Plan button:

File "/home/odoo/src/odoo/addons/mrp/models/mrp_workorder.py", line 515, in _plan_workorder

start_date = max(start_date, workorder.date_planned_finished)

TypeError: '>' not supported between instances of 'bool' and 'datetime.datetime'

It doesn't happen in all of them, and I would like to know if there is something that is being left out in some, because apparently all the fields have been completed
If anyone has the correct process to generate production and work orders from the sales module, could you help me?


Avatar
Discard
Related Posts Replies Views Activity
1
Jan 24
793
1
Dec 23
1818
1
Oct 23
1273
2
Jan 23
2102
1
Dec 23
2044