Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1182 Vistas

Hello,

i need your help.


I want to override the message_new Function of the helpdesk_ticket.py in the Helpdesk Module.

Here is the Code:


I want add some code before the ticket will be created:

Here is my Code:



Odoo runs only the Original-Code but not my changes. After the call ticket = super()  Odoo use the Original and not the overwritten Code.


Does anyone knows what my Problem is?


Thanks in advance 

André

Avatar
Descartar
Autor Mejor respuesta

Could this be a Problem becaus i try to overwrite an overwritten function? 


Avatar
Descartar