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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
2
Odpovědi
4115
Zobrazení
Hello Fleixi,
In write method you can use self to get the current record.
Cheers!
Hello Fleixi,
In wirte method you have current record in self.
so use self. you got complete record in self,
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
1
zář 24
|
6921 | ||
Tax codes in Luxemburg
Vyřešeno
|
|
1
kvě 24
|
4003 | |
|
1
čvc 22
|
2277 | ||
|
2
dub 22
|
2741 | ||
|
1
bře 22
|
3865 |