Merge lp:~akretion-team/openerp-product-attributes/base_custom_attributes-inherited-domain into lp:~product-core-editors/openerp-product-attributes/7.0
Proposed by
Raphaël Valyi - http://www.akretion.com
Status: | Merged |
---|---|
Merged at revision: | 209 |
Proposed branch: | lp:~akretion-team/openerp-product-attributes/base_custom_attributes-inherited-domain |
Merge into: | lp:~product-core-editors/openerp-product-attributes/7.0 |
Diff against target: |
11 lines (+0/-1) 1 file modified
base_custom_attributes/custom_attributes.py (+0/-1) |
To merge this branch: | bzr merge lp:~akretion-team/openerp-product-attributes/base_custom_attributes-inherited-domain |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | code review, no test | Approve | |
Pedro Manuel Baeza | Approve | ||
Review via email: mp+177243@code.launchpad.net |
Description of the change
As discussed on twitter with some CampToCamp member (hell I cannot remember who exactly), domain is already inherited from ir.fields parent object and should not be defined again
(domain usage is an advanced usage: when custom options point to OpenERP classes and should allow only a specific domain or in a product configurator prospective with dynamic domains).
To post a comment you must log in.
Indeed, ir.models.field already contains a domain field, but I have the doubt if this removal impact on other modules, because the inherit is not direct, but through the field_id field. Can this be a problem for other modules that uses this module as base?
Thanks for your great work.