Configuration Helper
Technical Name:
configuration_helper
License:
Author:
Maintainer:
Website:
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
- David BEAL <david.beal@akretion.com>
- Sébastien BEAU <sebastien.beau@akretion.com>
- Yannick Vaucher, Camptocamp, (code refactoring from his module 'delivery_carrier_label_postlogistics')
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.
Once the user has seen at least one product this snippet will be visible.