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
14947 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
1210
0
gru 24
1222
1
maj 24
2608
1
sty 24
1662
2
maj 22
14484