snoob dogg
snoob dogg

Reputation: 2875

Enable developer mode with --dev=all?

I tried to start Odoo 11 directly in developer mode by using the arg --dev=all without having to pass by Settings then Activate the developer mode but it doesn't works. I've also a Warning about the Watchdog module which is missing but I can't find it in the module list. Does --dev=all is used for something else?

Upvotes: 3

Views: 6737

Answers (3)

Belhadjer Samir
Belhadjer Samir

Reputation: 1669

as @CZoellner sad --dev=all is used for developement mode to lead views and templates directly from files instead of database , to start debug mode from cli you can pass this --log-level=debug

Upvotes: 1

Charif DZ
Charif DZ

Reputation: 14751

You can do like this if you notice what happen when you activate developer mode it's just adding this word to the url. debug=. So just save a favorite link i don't remember exactly but it should be something like this.

  server_ip:8069/web?debug=

Upvotes: 4

CZoellner
CZoellner

Reputation: 14801

The command-line parameter/option --dev=all is used for development to load records/data (Odoo is very data-driven) like views, templates or reports directly from code instead from database. That has one big advantage: you don't have to update apps to checkout changes in that part of code (mostly .xml files). A disadvantage: translations are not working as expected.

Upvotes: 9

Related Questions