Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1523 Widoki

Hi everyone,

In Odoo 18 POS, clicking the "Order" button creates two orders in the backend instead of one. I added custom logic to send order details to my custom template, which works correctly, but I suspect one order is created by sync_from_ui and the other by my method.

How can I ensure only one order is created while sending the details to my template?

Any insights would be appreciated. Thanks!

Awatar
Odrzuć
Najlepsza odpowiedź

Did you try deactivating your custom module and first check if Odoo is really creating 2 orders?

Goo Luck!

Eva P.

Awatar
Odrzuć
Autor

Yes, I tested it by deactivating my custom module, and Odoo creates only one order.

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 24
1663
0
gru 24
1043
1
kwi 23
5333
1
mar 15
4360
1
mar 15
26307