Merge lp:~akretion-team/server-env-tools/module-configuration-helper-dbl into lp:~server-env-tools-core-editors/server-env-tools/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~akretion-team/server-env-tools/module-configuration-helper-dbl |
Merge into: | lp:~server-env-tools-core-editors/server-env-tools/7.0 |
Diff against target: |
233 lines (+218/-0) 3 files modified
configuration_helper/__init__.py (+22/-0) configuration_helper/__openerp__.py (+82/-0) configuration_helper/config.py (+114/-0) |
To merge this branch: | bzr merge lp:~akretion-team/server-env-tools/module-configuration-helper-dbl |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | Needs Resubmitting | ||
Florian da Costa (community) | test | Approve | |
Review via email: mp+220392@code.launchpad.net |
Commit message
[ADD] module configuration_
Description of the change
add module configuration_
This module :
* create automatically related fields in 'whatiwant.
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
Unmerged revisions
- 9. By David BEAL (ak)
-
[FIX] condition in field_to_
populate_ as_related( ) to limit fields related creation - 8. By David BEAL (ak)
-
[FIX] remove print strings
- 7. By yvaucher-c2c
-
[MERGE] from lp:~camptocamp/server-env-tools/module-configuration-helper-yvr
- 6. By David BEAL (ak)
-
[IMP] add a prefix to related fields in ...config.settings
- 5. By David BEAL (ak)
-
[IMP] complete doc
- 4. By David BEAL (ak)
-
[IMP] add create method on AbstractConfigS
ettings - 3. By David BEAL (ak)
-
[FIX] for m2o field
- 2. By David BEAL (ak)
-
[FIX] __init__ method + add doc
- 1. By David BEAL (ak)
-
[INIT] add configuration_
helper module
Used it to create a config and works well.
Code review
l.161 + l.163 + l.172 please remove commented print line
l.226 no need to quote me for this code I took it from account/ res_config. py
addons/