Configuration Helper

Technical Name:
configuration_helper
License:
Author:
Akretion
https://odoo-community.org/web/image/product.template/792/image_1920?unique=fc323b6
  • Odoo Version

Terms and Conditions 

Configuration Helper

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

This module :

  • create automatically related fields in 'whatiwant.config.settings' using those defined in 'res.company' : it avoid 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

How to use

from . company import ResCompany

class WhatiwantClassSettings(orm.TransientModel):
    _inherit = ['res.config.settings', 'abstract.config.settings']
    _name = 'whatiwant.config.settings'
    # fields must be defined in ResCompany class
    # related fields are automatically generated from previous definitions
    _companyObject = ResCompany

Roadmap

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

Contributors

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products