Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
1004 Näkymät

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
Hylkää
Paras vastaus

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

Goo Luck!

Eva P.

Avatar
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
elok. 24
1210
0
jouluk. 24
736
1
huhtik. 23
4897
1
maalisk. 15
4055
1
maalisk. 15
25782