- Odoo Development Cookbook
- Holger Brunn Alexandre Fayolle Daniel Reis
- 351字
- 2021-07-16 11:00:29
Activating the Odoo developer tools
When using Odoo as a developer, you need to know how to activate Developer Mode in the web interface to access the advanced settings menu and developer information.
How to do it...
To activate Developer Mode in the web interface:
- Connect to your instance and authenticate (not necessarily as
admin
; this function is available to all users, but the Administrator has more tools available). - Click on the down arrow next to your user name in the top right corner of the page .
- In the drop-down menu, click on About.
- In the dialog box which is displayed, click on Activate the developer mode in the top right corner.
- To exit developer mode, you can edit the URL and remove that string, close your browser tab and open a new one, or use the Leave Debug Mode option at the bottom of the debug drop-down menu next to the user menu in the top right of the screen.
How it works...
When in developer mode, three things happen:
- The JavaScript and CSS code sent to the browser is not minified, which means that the web development tools of your browser are easy to use for debugging the JavaScript code (more on this in Chapter 15, Web Client Development).
- You get tooltips when hovering over a field in a form view or over a column in list view providing technical information about the field (internal name, type, and so on).
- A drop-down menu with a Bug icon is displayed next to the user's menu in the top right corner giving access to technical information about the model being displayed, the various related view definitions, the workflow, custom filter management, and so on.
推薦閱讀
- 少兒人工智能趣味入門:Scratch 3.0動(dòng)畫與游戲編程
- Java多線程編程實(shí)戰(zhàn)指南:設(shè)計(jì)模式篇(第2版)
- Visual FoxPro程序設(shè)計(jì)教程(第3版)
- Raspberry Pi Networking Cookbook(Second Edition)
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- PaaS程序設(shè)計(jì)
- oreilly精品圖書:軟件開發(fā)者路線圖叢書(共8冊(cè))
- Python程序設(shè)計(jì)
- Go并發(fā)編程實(shí)戰(zhàn)
- 深入淺出Serverless:技術(shù)原理與應(yīng)用實(shí)踐
- Node.js全程實(shí)例
- 深入分布式緩存:從原理到實(shí)踐
- 區(qū)塊鏈技術(shù)與應(yīng)用
- 匯編語言編程基礎(chǔ):基于LoongArch
- Python 3 數(shù)據(jù)分析與機(jī)器學(xué)習(xí)實(shí)戰(zhàn)