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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
2
Odgovori
4117
Prikazi
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!
PrijaviRelated Posts | Odgovori | Prikazi | Aktivnost | |
---|---|---|---|---|
|
1
sep. 24
|
6922 | ||
Tax codes in Luxemburg
Solved
|
|
1
maj 24
|
4003 | |
|
1
jul. 22
|
2277 | ||
|
2
apr. 22
|
2741 | ||
|
1
mar. 22
|
3865 |