master
StephanSainleger 4 years ago
parent
commit
bc2ec882e0
  1. 16
      odoo.md

16
odoo.md

@ -1,13 +1,15 @@
# Development hacks
## Dev features in compose.yml
```--dev <feature,feature,...,feature>```
* all: all the features below are activated
* xml: read template qweb from xml file directly instead of database. Once a template has been modified in database, it will be not be read from the xml file until the next update/init.
* reload: restart server when python file are updated (may not be detected depending on the text editor used)
* qweb: break in the evaluation of qweb template when a node contains t-debug='debugger'
* (i)p(u)db: start the chosen python debugger in the code when an unexpected error is raised before logging and returning the error.
```
-"--dev <feature,feature,...,feature>"
```
List of features:
* **all**: all the features below are activated
* **xml**: read template qweb from xml file directly instead of database. Once a template has been modified in database, it will be not be read from the xml file until the next update/init.
* **reload**: restart server when python file are updated (may not be detected depending on the text editor used)
* **qweb**: break in the evaluation of qweb template when a node contains t-debug='debugger'
* **(i)p(u)db**: start the chosen python debugger in the code when an unexpected error is raised before logging and returning the error.
# Troubleshooting

Loading…
Cancel
Save