Skip to Content
Menu
This question has been flagged
1 Reply
2819 Views

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


Avatar
Discard
Author

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.

Best Answer

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, 

Avatar
Discard
Related Posts Replies Views Activity
1
Feb 22
1851
1
Dec 21
2078
1
Nov 24
1484
1
Nov 24
1192
2
Sep 24
1047