Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3613 Widoki

Hello,

I'm currently using Odoo 12.0+e-20181025. At the moment I'm using the Helpdesk module and have been trying to modify it so that it can't be edited after it reached a certain stage. While my team managed to make it so that it can't change stage after reaching a certain stage, we realized that it can still be edited and then saved.

Is there a way to make it so that the edit/save button become invisible or at least unclickable when the ticket had reached a certain stage in the flow?

Thanks for reading and for the help. 

Awatar
Odrzuć
Najlepsza odpowiedź

You can make the fields readonly using attrs based on your stage.

Awatar
Odrzuć
Autor

That is a valid solution, but I don't think editing each of my 165 fields is going to be a good option. Thanks, I'll do that if all else is fail. Thank you.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 23
2731
1
lip 25
373
1
paź 24
1675
5
sie 23
3320
2
mar 23
10009