58 lines
1.7 KiB
ReStructuredText
58 lines
1.7 KiB
ReStructuredText
|
|
.. _developer-mode:
|
|||
|
|
|
|||
|
|
===========================
|
|||
|
|
Developer Mode (debug mode)
|
|||
|
|
===========================
|
|||
|
|
|
|||
|
|
The developer mode (or debug mode) gives you access to extra and advanced tools.
|
|||
|
|
|
|||
|
|
Activate through the Settings
|
|||
|
|
=============================
|
|||
|
|
|
|||
|
|
Go to :menuselection:`Settings --> Activate the developer mode`.
|
|||
|
|
|
|||
|
|
.. image:: settings.png
|
|||
|
|
: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.
|
|||
|
|
|
|||
|
|
Activate 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.
|
|||
|
|
| 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.
|
|||
|
|
|
|||
|
|
.. image:: monkey.png
|
|||
|
|
:align: center
|
|||
|
|
:alt: View of odoo’s debug icon in a chrome’s toolbar
|
|||
|
|
|
|||
|
|
Activate through the URL
|
|||
|
|
========================
|
|||
|
|
|
|||
|
|
In the URL add ``?debug=1`` or ``?debug=true`` after *web*.
|
|||
|
|
|
|||
|
|
.. image:: url.png
|
|||
|
|
:align: center
|
|||
|
|
:alt: Overview of an url with the debug mode command added in Odoo
|
|||
|
|
|
|||
|
|
.. tip::
|
|||
|
|
Developers: type ``?debug=assets`` and activate the mode with assets.
|
|||
|
|
|
|||
|
|
Locate the mode tools
|
|||
|
|
=====================
|
|||
|
|
|
|||
|
|
The Developer mode tools can be accessed from the *Open Developer Tools* button, located on the
|
|||
|
|
header of your pages.
|
|||
|
|
|
|||
|
|
.. image:: button_location.png
|
|||
|
|
:align: center
|
|||
|
|
:alt: Overview of a console page and the debug icon being shown in Odoo
|
|||
|
|
|