Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
15051 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
1270
0
dec. 24
1245
1
mai 24
2665
1
ian. 24
1682
2
mai 22
14557