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??
Pertanyaan ini telah diberikan tanda
2
Replies
17482
Tampilan
Try
self._origin.id
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Jan 25
|
2927 | ||
|
|
0
Des 24
|
3089 | ||
|
|
1
Mei 24
|
4971 | ||
|
|
1
Jan 24
|
3069 | ||
|
|
2
Mei 22
|
16669 |
You cannot have ID of the record until it is saved.