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

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??


Awatar
Odrzuć

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

Najlepsza odpowiedź

Try

self._origin.id
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 25
1422
0
gru 24
1480
1
maj 24
2943
1
sty 24
1825
2
maj 22
14764