Odoo Help

0
0
Jake Robinson
On 9/14/18, 6:48 PM

Two options that come to mind are using has_group('base.group_no_one') on the logged in user, or checking if the URL contains debug=.

Good Luck,

Jake Robinson

Hello

Reinhart

Here you can get your solution.

Write bellow code in your method you can easily get active mode status.

from openerp.http import request

and check weather debug mode active or not.

print "====Checking Debug mode active or not=====", request.debug

HIREN DANGAR
on 9/17/18, 2:16 AM

About This Community

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

Question tools

2 follower(s)

Stats

Asked: 9/14/18, 6:44 AM
Seen: 213 times
Last updated: 9/14/18, 10:32 PM