Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7476 Weergaven

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
Annuleer
Beste antwoord

No need magic :)

Just return description of new row. See more detail.

Avatar
Annuleer

how i can do it can you please explain more

Gerelateerde posts Antwoorden Weergaven Activiteit
3
aug. 24
15420
2
jun. 23
4301
0
okt. 17
2600
1
jul. 16
10815
0
mrt. 15
3798