Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7707 มุมมอง

I'm trying to implement a feature that allows the user to duplicate a sales order line. This wouldn't be very hard to implement if the rows were already stored in the database and had IDs, but in this case the user should be able to duplicate a sales order line BEFORE saving the sales order.

Correct me if I'm wrong, but AFAIK the sales order lines are only stored in the database after the sales order has been saved.

Am I going to need some javascript magic here or is the some kind of a mechanism in Odoo that allows me to duplicate unsaved items?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

No need magic :)

Just return description of new row. See more detail.

อวตาร
ละทิ้ง

how i can do it can you please explain more

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 24
15850
2
มิ.ย. 23
4510
0
ต.ค. 17
2849
1
ก.ค. 16
11119
0
มี.ค. 15
4001