Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1210 Vizualizări

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é

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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


Imagine profil
Abandonează