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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
2
回覆
4105
瀏覽次數
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,
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
9月 24
|
6919 | ||
|
1
5月 24
|
4001 | ||
|
1
7月 22
|
2273 | ||
|
2
4月 22
|
2740 | ||
|
1
3月 22
|
3860 |