How to override create/write method and call your function during this methods?
Any kind examples would be appreciated
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How to override create/write method and call your function during this methods?
Any kind examples would be appreciated
Hi,
You can override the create and write method as follows,
Inherit the corresponding model first, then
Thanks
+1, accepted your answer. Thanks for the good answer.
@Yenthe: Its your link in the answer :)
what happend when i do not return res. just use res = super(ResPartner, self).write(values).
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
сент. 21
|
3923 | |||
|
1
дек. 19
|
5012 | |||
|
2
янв. 19
|
7475 | |||
|
1
апр. 15
|
5299 | |||
|
1
мар. 23
|
6992 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Look into: http://learnopenerp.blogspot.com/2017/11/how-to-override-odoo-functions.html