Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
7048 Zobrazení

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
bře 24
8929
1
led 16
5372
2
lis 15
8267
0
bře 25
1419
0
led 25
3495