Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1446 Visualizzazioni

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!

Avatar
Abbandona
Risposta migliore

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

Goo Luck!

Eva P.

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
ago 24
1599
0
dic 24
1011
1
apr 23
5240
1
mar 15
4274
1
mar 15
26225