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

Hi,

I'm trying to open a record through JavaScript. I am able to get it through "do_action". Everything is fine, its opening in tree view but when I'm clicking a particular record its opening in form view in edit mode but i need to make it readonly. Can anyone help me with what i should write in do_action to make the form readonly.

var action = ({

//what i should write here

});

self.do_action(action);


Thank you!




Avatar
Verwerfen

Hello Ajay,

Have you got a solution to your problem?

Hello Ajay,

I think for this you need to pass some context form do_action and override the fields_view_get method

with this method you can modify the attribute of <form> to set edit="false"

Regards,

Aktiv Software

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 24
8922
1
Jan. 16
5366
2
Nov. 15
8262
0
März 25
1415
0
Jan. 25
3493