Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7443 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

No need magic :)

Just return description of new row. See more detail.

Awatar
Odrzuć

how i can do it can you please explain more

Powiązane posty Odpowiedzi Widoki Czynność
3
sie 24
15322
2
cze 23
4259
0
paź 17
2582
1
lip 16
10793
0
mar 15
3776