Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
5458 Ansichten

Hello all.

I have a read-only boolean field which must be updated if some python constraints are returning false during the save of the record.

As the instance is not stored in the database until we click the "Save" button, i can't find any way to update this field. I know i could do that on an on_change method, but i must do that precisely at that moment for some client demands and to facilitate understanding.

I hope someone can help me.

Avatar
Verwerfen

Can you post your form view and say what should be done. If we can not try, it's difficult to ask you. on_change method should do the job I think. I can post answer if you give more details.

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
März 15
3409
1
Feb. 22
6837
0
Dez. 21
1864
0
März 15
3533
2
März 15
6676