2020-03-03 20:32:55 +07:00
|
|
|
|
===================================
|
|
|
|
|
Activate the Developer (Debug) Mode
|
|
|
|
|
===================================
|
|
|
|
|
|
|
|
|
|
The Developer or Debug Mode gives you access to extra and advanced tools.
|
|
|
|
|
|
|
|
|
|
Through the Settings application
|
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
|
|
Go to :menuselection:`Settings --> Activate the developer mode`.
|
|
|
|
|
|
2020-03-03 20:32:55 +07:00
|
|
|
|
.. image:: media/settings.png
|
2020-03-03 20:32:55 +07:00
|
|
|
|
:align: center
|
|
|
|
|
:alt: Overview of the debug options under settings in Odoo
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
*Activate the developer mode (with assets)* is used by developers; *Activate the developer mode
|
|
|
|
|
(with tests assets)* is used by developers and testers.
|
|
|
|
|
|
|
|
|
|
Once activated, the *Deactivate the developer mode* option becomes available.
|
|
|
|
|
|
|
|
|
|
Through a browser extension
|
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
| Go to the settings and extensions of your web browser, and search for *Odoo Debug*. Once the
|
|
|
|
|
extension is installed, a new icon will be shown on your toolbar.
|
2020-03-03 20:32:55 +07:00
|
|
|
|
| For the *Odoo Debug* extension, a single click enables a normal version of the mode, while a
|
|
|
|
|
double click enables it with assets. To deactivate it, use a single click.
|
2020-03-03 20:32:55 +07:00
|
|
|
|
|
|
|
|
|
.. image:: media/monkey.png
|
|
|
|
|
:align: center
|
|
|
|
|
:alt: View of odoo’s debug icon in a chrome’s toolbar
|
|
|
|
|
|
|
|
|
|
Through the URL
|
|
|
|
|
---------------
|
|
|
|
|
|
2020-03-03 20:32:55 +07:00
|
|
|
|
In the URL add ``?debug=1`` or ``?debug=true`` after *web*.
|
2020-03-03 20:32:55 +07:00
|
|
|
|
|
|
|
|
|
.. image:: media/url.png
|
|
|
|
|
:align: center
|
|
|
|
|
:alt: Overview of an url with the debug mode command added in Odoo
|
|
|
|
|
|
2020-03-05 22:16:56 +07:00
|
|
|
|
.. tip::
|
|
|
|
|
Developers: type ``?debug=assets`` and activate the mode with assets.
|
|
|
|
|
|
2020-03-03 20:32:55 +07:00
|
|
|
|
Locate the mode tools
|
|
|
|
|
---------------------
|
|
|
|
|
|
2020-03-03 20:32:55 +07:00
|
|
|
|
The Developer mode tools can be accessed from the *Open Developer Tools* button, located on the
|
|
|
|
|
header of your pages.
|
2020-03-03 20:32:55 +07:00
|
|
|
|
|
2020-03-03 20:32:55 +07:00
|
|
|
|
.. image:: media/button_location.png
|
2020-03-03 20:32:55 +07:00
|
|
|
|
:align: center
|
|
|
|
|
:alt: Overview of a console page and the debug icon being shown in Odoo
|