$ 29.00
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 name | configuration_helper |
|---|---|
| Module version | 12.0.1.0.0 |
| Tulio versions | 1.0 |
| Category | Tools |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Akretion, OCA |
| License | AGPL-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 code | 55 |
| Downloads | 0 |
| Released | 12/06/2026 |