Skip to Content
मेन्यू
This question has been flagged
2 Replies
15142 Views

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


Avatar
Discard

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

Best Answer

Try

self._origin.id
Avatar
Discard
Related Posts Replies Views Activity
1
जन॰ 25
1307
0
दिस॰ 24
1316
1
मई 24
2739
1
जन॰ 24
1738
2
मई 22
14644