v 8.0 v 9.0 Third Party 368
Download for v 8.0
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name server_mode
LicenseAGPL-3
Websitehttp://www.adhoc.com.ar
Versions 8.0 9.0
You bought this module and need support? Click here!

Server Mode

This modules disable some functions when running databases on odoo servers with parameter server_mode = "some value" This module is also inherited by other modules so that you can disable functionalities depending on server mode. To use it: * import with: from openerp.addons.server_mode.mode import get_mode * use it like following:

  • if mode() == 'test':
  • if mode() == 'develop'
  • if mode():

... etc

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.