コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
7381 ビュー

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

関連投稿 返信 ビュー 活動
3
8月 24
15093
2
6月 23
4187
0
10月 17
2483
1
7月 16
10658
0
3月 15
3685