Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

3

ODOO9: How to activate the developer mode automatically?

By
Drees Far
on 3/3/16, 3:30 AM 475 views

Hello everybody!!!

Can anyone help me know ho to make the activation of the developer mode automatically after the login action please.

Thanks a lot in advance.

Best Regards.

redirect=/web?debug=1 in the login form

Jérémy Kersten (jke)
on 3/3/16, 5:16 AM
1

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2983
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 3/4/16, 2:45 PM

Please ! Be aware !

NEVER RUN ONLINE SERVER (available from internet) IN DEV MODE --dev ! (not secure since console available in traceback)

2 distinct thing:

dev mode (--dev cli) server which réad xml, show console in traceback, ...

debug mode  (?debug=1 in url) which display all technicals features, but don't load asset but each file one by one !


take a look at my first comment, I continue to think that it the simple way and free to do it !


So create a view with inherit view of 'login' and mode 'extented view' with xpath to update redirect input

<xpath expr="//input[@name='redirect']" position='attributes'>
    <attribute name="t-att-value">'%s%sdebug=1' % (redirect or '/web', redirect and '?' in redirect and '&amp;' or '?')</attribute>
</xpath>

That should do the job...


0
Pinakin Nayi (pna)
On 3/4/16, 4:19 AM

Its not automatically but here chrome extension so in just one click you can activate debug mode. http://pinakinnayi.blogspot.in/2016/02/activate-debug-mode-in-one-click.html

-1
sarkar
On 3/4/16, 2:47 AM

Hello

please set option 

In windows 

openerp.config file

debug= true


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 3/3/16, 3:30 AM
Seen: 475 times
Last updated: 3/4/16, 7:01 PM