Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
15586 Vizualizări

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


Imagine profil
Abandonează

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

Cel mai bun răspuns

Try

self._origin.id
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
ian. 25
1574
0
dec. 24
1607
1
mai 24
3142
1
ian. 24
1947
2
mai 22
14916