In odoo 15, any time I create a work order, the status by default is "waiting for another wo" and the starting date is replanned to the end of the previous work order. I want to have my WO running in parallel and by default in ready state. I don't want odoo to reschedule dates for the new work orders.
To pytanie dostało ostrzeżenie
1
Odpowiedz
4171
Widoki
Thanks @Cybrosys, but that did not work for me.
Just as a reference, I solved the problem by:
Changing the default value from "Waiting for another wo" to "ready" and
redefining the following compute methods
date_planned_start = fields.Datetime(
compute=lambda self: self._compute_date_planned_start(),
default=lambda self: self._default_date_planned_start(),
string='Planned Start',
)
date_planned_finished = fields.Datetime(
compute=lambda self: self._compute_date_planned_start(),
string='Planned End',
)
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
0
sie 24
|
2998 | ||
|
|
1
maj 24
|
3674 | ||
|
|
0
maj 24
|
3154 | ||
|
|
2
lut 24
|
3740 | ||
|
|
2
mar 23
|
4392 |
Hi,
Please refer to this forum answer: https://www.odoo.com/forum/help-1/workaround-to-how-to-manage-operations-in-parallel-in-the-same-work-center-205360