v 8.0 v 9.0 Third Party 362
Download for v 9.0
Technical Name server_mode
LicenseAGPL-3
Websitehttp://www.adhoc.com.ar
Also available in version v 8.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"

It also disable crons for instances with server_mode value (NOTA: tal vez veamos que nos conviene usar cron activados en no prod, en este caso podemos desactivarlos en el odoo conf usando el entrypoint para que segun el tipo o algun parametro los desactive)

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

Installation

To install this module, you need to:

  1. Just install this module

Configuration

To configure this module, you need to:

  1. Set a parameter on your odoo.conf file lie "server_mode = test"
Try me on Runbot

Known issues / Roadmap

  • ...

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • ADHOC SA: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the ADHOC SA.

To contribute to this module, please visit https://www.adhoc.com.ar.

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.