-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfeb25a
commit 50d1c1f
Showing
5 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,46 @@ | ||
(developer-mode)= | ||
# Developer mode (debug mode) | ||
|
||
# Developer mode (debug mode) | ||
|
||
The developer mode (or debug mode) unlocks access to extra and advanced tools in OpenSPP. There are several ways to activate the developer mode: through the Settings or the URL. | ||
|
||
## Activate through the settings | ||
|
||
To activate the debug mode, open the OpenSPP database settings, go to **Settings → General Settings → Developer Tools** and click **Activate the developer mode**. Make sure that you have installed at least one app to see the **Developer Tools** section in the **Settings** module. | ||
|
||
![Overview of the debug options under settings in Odoo.](developer_mode/settings.png "Overview of the debug options under settings in Odoo.") | ||
![Overview of the debug options under settings in Odoo.](developer_mode/1.png "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. | ||
|
||
Once activated, the _Deactivate the developer mode_ option becomes available. | ||
|
||
## Activate through the URL | ||
|
||
You can activate the debug mode by adding an extra query string to the database's URL. To activate, add `?debug=1` or `?debug=true` after `/web` in the URL. To deactivate, change the value to `?debug=0` instead. | ||
|
||
![Overview of a URL with the debug mode command added.](developer_mode/url.png "Overview of a URL with the debug mode command added.") | ||
![Overview of a URL with the debug mode command added.](developer_mode/2.png "Overview of a URL with the debug mode command added.") | ||
|
||
```{tip} | ||
Additional modes are available for developers: `?debug=assets` enables the [assets mode](#frontendframeworkassets_debug_mode), and `?debug=tests` enables the [tests mode](#frontendframeworktests_debug_mode). | ||
``` | ||
|
||
## Locate the developer mode tools | ||
------------------------------- | ||
|
||
The user can access the developer mode tools by clicking on the *Open Developer Tools* button or the bug icon located in the OpenSPP header, after activating developer mode. | ||
--- | ||
|
||
![OpenSPP displays the console page and the debug icon.](developer_mode/button-location.png "Overview of a console page and the debug icon being shown in Odoo.") | ||
The user can access the developer mode tools by clicking on the _Open Developer Tools_ button or the bug icon located in the OpenSPP header, after activating developer mode. | ||
|
||
![OpenSPP displays the console page and the debug icon.](developer_mode/3.png "Overview of a console page and the debug icon being shown in Odoo.") | ||
|
||
This menu has extra tools that are useful to understand or edit technical data, such as the views or actions of a page. On a page that has filters, actions, and view options, the developer mode tools contain some useful menu items such as: | ||
|
||
- *Edit Action* | ||
- *Manage Filters* | ||
- _Edit Action_ | ||
- _Manage Filters_ | ||
- Edit the current view (for example, Kanban, List, Graph, etc.) | ||
- See the *Fields View Get* | ||
- See the _Fields View Get_ | ||
|
||
```{note} | ||
This page is adapted from the Odoo documentation on {ref}`odoo:developer-mode`. | ||
``` | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters