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

print(self._origin.promotion_id.id)

print value 

odoo.models.NewId object at 0x7f21fb068ac8


for test in self._origin.promotion_id: 

 print(test.id)

print value 

odoo.models.NewId object at 0x7f21fb068ac8



print(self._origin.promotion_id.name)

print value 

TEST it giving perfect result 


other then ID other column i can easily access but in this time i need ID 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mai 15
20707
3
apr. 23
11996
0
dec. 24
1414
2
iul. 24
2211
1
mar. 24
2453