Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Odoo Server Mode

  • All Blogs
  • Tech Blog
  • Odoo Server Mode
  • March 5, 2021 by
    Administrator

    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

    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”

    https://apps.openerp.com/apps/modules/9.0/server_mode/

    in Tech Blog
    Sender Dependent Outgoing IP Address

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)