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

Hello odooers
when I use compute method and onchange mehtod that time I did not get ID.
but I got self =  sale.order(<NewId 0x7f5dec30b2b0>,)  & self.id = <NewId 0x7f5dec30b2b0>.
I used _origin but got sale.order().

So, How can I get ID??


아바타
취소

You cannot have ID of the record until it is saved.

베스트 답변

Try

self._origin.id
아바타
취소
관련 게시물 답글 화면 활동
1
1월 25
1492
0
12월 24
1565
1
5월 24
3058
1
1월 24
1903
2
5월 22
14853