Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7445 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

No need magic :)

Just return description of new row. See more detail.

Avatar
Zrušit

how i can do it can you please explain more

Related Posts Odpovědi Zobrazení Aktivita
3
srp 24
15338
2
čvn 23
4265
0
říj 17
2584
1
čvc 16
10797
0
bře 15
3780