Skip to main content
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.

Metadata

Release files for odoo-addon-server_config_environment 16.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-server_config_environment 16.0.1.0.0
File Interpreter ABI Platform
odoo_addon_server_config_environment-16.0.1.0.0-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_server_config_environment-16.0.1.0.0-py3-none-any.whl

Download URL odoo_addon_server_config_environment-16.0.1.0.0-py3-none-any.whl
Size 425.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b7e0c83a40bcee5b240479679f929972da58fdfa0f11de5b2f3214b6050fe03
BLAKE2b-256 checksum
How to use checksums
901fb5f1ff5d90e3e9f5f1ed18576cbbb779502b817eb4a48f5b464229c0b54f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release history Release notifications | RSS feed

This release

16.0.1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page