Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3413 Visualizzazioni

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
Abbandona
Autore

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.

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
feb 22
2931
1
dic 21
2976
2
giu 25
1345
0
mag 25
12
2
gen 25
2885