コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
6961 ビュー

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!




アバター
破棄

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

関連投稿 返信 ビュー 活動
1
3月 24
8878
1
1月 16
5264
2
11月 15
8164
0
3月 25
1287
0
1月 25
3388