Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
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?


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 24
1655
1
gru 23
2947
1
paź 23
2161
2
sty 23
2983
1
maj 25
3860