Skip to Content
Menu
This question has been flagged
2 Replies
4107 Rodiniai

I like to execute some custom code after a res.partner is updated. Therefor i have overridden the write method. Badly i need the complete record not only the changed values. How do i get this record.

Portretas
Atmesti
Best Answer

Hello Fleixi,

In write method you can use self  to get the current record

Cheers! 

Portretas
Atmesti
Best Answer

Hello Fleixi, 

In wirte method you have current record in self.

so use self. you got complete record in self,

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugs. 24
6920
1
geg. 24
4001
1
liep. 22
2273
2
bal. 22
2740
1
kov. 22
3860