Help

2

How to make form view readonly when opened through javascript "do_action"?

Avatar
Ajay

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!




1 Comment
Avatar
Discard
Avatar
Pawan Kumar Sharma
-

Hello Ajay,

Have you got a solution to your problem?