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

hi all,

i am in developer mode, is there any feature while running an app, i can know about model, view actual file (.py, .xml etc.) is actually running?

asking because there are many prebuilt apps, if i need to customize this will be difficult to find.

regards


アバター
破棄
著作者

thank you @Jack Dane for reply and guide lines and also information about chrome extension :)

I prohibitted to use comment option on your post so I used Answer option. don't know why I am allowed to Answer here? anyway, here is another problem which I have asked earlier in other posts, how I can get notification of Answer / Comment on my Post(s) when I logged in here like other than Odoo forums.

最善の回答

To view the "view" files, once in developer mode you can click the bug in the top right screen when on an app. This is what I use when inheriting views to place fields. Bug->Edit View: {view name}. 

To view a model's fields you can go into settings->technical->models to view all the fields which are in the model. This helps to know the values of the fields which are represented on each model. 

The only way I know you can view Python code is to either download the community version of Odoo locally or use the Github repository as reference for any code to use. https://github.com/odoo/odoo. 

While in debug mode you can also view technical details about a specific field. If you hover over the field label you will see the technical field name, model name, domians etc. 

If you haven't already, get this extension, it is very helpful https://chrome.google.com/webstore/detail/odoo-debug/hmdmhilocobgohohpdpolmibjklfgkbi. 

I hope I have answered you question, thanks, 

アバター
破棄
関連投稿 返信 ビュー 活動
1
2月 22
3228
1
12月 21
3238
1
7月 25
2234
2
7月 25
7720
2
7月 25
4137