Configuration Helper

Configuration Helper

by Contaura LLC · original work by Akretion, OCA
configuration_helper
$ 29.00

1.0

One purchase covers every version. Already bought it? Sign in.

Configuration Helper

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 ?)
Technical nameconfiguration_helper
Module version12.0.1.0.0
Tulio versions1.0
CategoryTools
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsAkretion, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Requires (Tulio core)base
Lines of code55
Downloads0
Released12/06/2026
12.0.1.0.0 Tulio 1.0 · 12/06/2026