콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7714 화면

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
15863
2
6월 23
4521
0
10월 17
2858
1
7월 16
11138
0
3월 15
4017