Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1550 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Goo Luck!

Eva P.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
1692
0
thg 12 24
1064
1
thg 4 23
5357
1
thg 3 15
4372
1
thg 3 15
26322