Skip to Content
Menu
v 16.0 Third Party 15
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 147
Technical Name server_config_environment
LicenseAGPL-3
Websitehttps://www.mint-system.ch/
Versions 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 147
Technical Name server_config_environment
LicenseAGPL-3
Websitehttps://www.mint-system.ch/
Versions 16.0 17.0
License: AGPL-3

Server Config Environment

Define environments for server configurations.

For a detailed documentation have a look at https://www.odoo-wiki.org/server-config-environment.html

Configuration

  • Connect model to the server config environment:

class GitRepoBranch(models.Model):
    _name = "git.repo.branch"
    _description = "Git Repo Branch"

    field environment_id = Many2one("server.config.environment")
  • Define the server environment in the Odoo config:

[options]
environment = development
  • Use the get active environment to filter records:

environment_id = self.env['server.config.environment'].get_active_environment()
branch = self.search(['environment_id', '=', environment_id.id)

Maintainer

https://raw.githubusercontent.com/Mint-System/Wiki/master/assets/mint-system-logo.png

This module is maintained by Mint System GmbH.

For support and more information, please visit our Website.

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.
OSZAR »