Configuration Helper
(0)
198
Akretion

Configuration Helper

FREE
Technical name
configuration_helper
License
AGPL-3
Secure dependencies
N/A
Configuration Helper

Configuration Helper

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

This module is intended for developer only. It does nothing used alone.

It helps to create config.settings by providing an abstract Class.

This class:

  • creates automatically related fields in ‘res.config.settings’ using those defined in ‘res.company’: it avoids duplicated field definitions.
  • company_id field with default value is created
  • onchange_company_id is defined to update all related fields
  • supported fields: char, text, integer, float, datetime, date, boolean, m2o

Table of contents

Usage

from . company import ResCompany

class WhatiwantConfigSettings(models.TransientModel):
    _inherit = ['res.config.settings', 'abstract.config.settings']
    _name = 'res.config.settings'
    # fields must be defined in ResCompany class
    # related fields are automatically generated from previous definitions
    _companyObject = ResCompany
    # all prefixed field with _prefix in res.company, will be available in 'res.config.settings' model
    _prefix = 'prefixyouchoose_'

Known issues / Roadmap

  • support (or check support) for these field types : o2m, m2m, reference, property, selection
  • automatically generate a default view for ‘res.config.settings’ (in –debug ?)

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Other credits

The development of this module has been financially supported by:

  • Camptocamp

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings
This theme does not use any external Python dependencies.

Available languages

Language % translated
Spanish (AR) / Español (AR)
83%
Italian / Italiano
83%
Croatian / hrvatski jezik
83%
Slovenian / slovenščina
66%
Romanian / română
66%
Portuguese / Português
66%
German / Deutsch
66%
French / Français
66%
Chinese (Simplified) / 简体中文
66%
Macedonian / македонски јазик
50%
Hebrew / עִבְרִי
50%
Indonesian / Bahasa Indonesia
50%
Persian / فارس
50%
Mongolian / монгол
50%
Spanish (EC) / Español (EC)
50%
Portuguese / Português
50%
Ukrainian / українська
50%
Turkish / Türkçe
50%
Finnish / Suomi
50%
Dutch (BE) / Nederlands (BE)
50%
Spanish (MX) / Español (MX)
50%
Bulgarian / български език
50%
Thai / ภาษาไทย
50%
Swedish / Svenska
50%
Polish / Język polski
50%
Spanish (DO) / Español (DO)
50%
Dutch / Nederlands
50%
Serbian (Latin) / srpski
50%
Arabic / الْعَرَبيّة
50%
Dutch / Nederlands
50%
Spanish / Español
50%
Croatian / hrvatski jezik
50%
Norwegian Bokmål / Norsk bokmål
50%
French (CH) / Français (CH)
50%
Spanish / Español
50%
Spanish (CL) / Español (CL)
50%
Slovak / Slovenský jazyk
50%
Japanese / 日本語
50%
Hungarian / Magyar
50%
Spanish (VE) / Español (VE)
50%
Spanish (PE) / Español (PE)
50%
Bosnian / bosanski jezik
50%
English (UK)
50%
Estonian / Eesti keel
50%
Vietnamese / Tiếng Việt
50%
Spanish (CO) / Español (CO)
50%
Chinese (Traditional) / 繁體中文
50%
Portuguese (BR) / Português (BR)
50%
Turkish / Türkçe
50%
French (CA) / Français (CA)
33%
Greek / Ελληνικά
16%
Spanish (CR) / Español (CR)
16%
Galician / Galego
16%
Lithuanian / Lietuvių kalba
16%
Lithuanian / Lietuvių kalba
16%
Latvian / latviešu valoda
16%
Russian / русский язык
16%
Spanish (PY) / Español (PY)
16%
Galician / Galego
16%
Vietnamese / Tiếng Việt
16%