Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
7567 Ansichten

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
Verwerfen
Beste Antwort

No need magic :)

Just return description of new row. See more detail.

Avatar
Verwerfen

how i can do it can you please explain more

Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Aug. 24
15569
2
Juni 23
4357
0
Okt. 17
2671
1
Juli 16
10949
0
März 15
3841