TIP: You can type at any time to perform a new search.
base_custom_attributes
base_custom_attributes · OCA/product-attribute
Security findings
Migration considerations
- Imports from the old `openerp.osv.orm` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
attribute_attribute— Class 'attribute_attribute' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_attribute— Class 'attribute_attribute' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_attribute— Class 'attribute_attribute' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_attribute_form_view— For a target of Odoo 17.0+: view 'attribute_attribute_form_view' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceattribute_group— Class 'attribute_group' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_group— Class 'attribute_group' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_group— Class 'attribute_group' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_location— Class 'attribute_location' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_location— Class 'attribute_location' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_option— Class 'attribute_option' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_option— Class 'attribute_option' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_option_wizard— Class 'attribute_option_wizard' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_option_wizard— Class 'attribute_option_wizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_option_wizard— Class 'attribute_option_wizard' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_set— Class 'attribute_set' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceattribute_set— Class 'attribute_set' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_set— Class 'attribute_set' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceir_model_fields— Class 'ir_model_fields' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceattribute_attribute_tree_view— View 'attribute_attribute_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceattribute_group_tree_view— View 'attribute_group_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceattribute_option_tree_view— View 'attribute_option_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceattribute_set_tree_view— View 'attribute_set_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 0.1.1
- Category
- Generic Modules/Others
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.akretion.com/
- Last tracking update
- 2026-08-07 07:09:59
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Stéphane Bidoul (ACSONE)
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- partner_custom_attributes, product_custom_attributes, production_lot_custom_attributes
- Description
This module adds the possibility to easily create custom attributes in any OpenERP business object. See the product_custom_attributes module for instance.
Code Analysis
Views touched (14)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
attribute_attribute_form_view |
attribute.attribute.form | attribute.attribute | form | New |
attribute_attribute_tree_view |
attribute.attribute.tree | attribute.attribute | tree | New |
attribute_group_form_view |
attribute.group.form | attribute.group | form | New |
attribute_group_tree_view |
attribute.group.tree | attribute.group | tree | New |
attribute_option_form_popup_view |
attribute.option.form.popup | attribute.option | form | New |
attribute_option_form_view |
attribute.option.form | attribute.option | form | New |
attribute_option_tree_view |
attribute.option.tree | attribute.option | tree | New |
attribute_option_wizard_form_view |
attribute.option.wizard | attribute.option.wizard | form | New |
attribute_set_form_view |
attribute.set.form | attribute.set | form | New |
attribute_set_tree_view |
attribute.set.tree | attribute.set | tree | New |
view_attribute_attribute_search |
attribute.attribute.list | attribute.attribute | search | New |
view_attribute_group_search |
attribute.group.list | attribute.group | search | New |
view_attribute_option_search |
attribute.option.list | attribute.option | search | New |
view_attribute_set_search |
attribute.set.list | attribute.set | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (5)-
button_add_options(self, cr, uid, ids, context=None) -
create(self, cr, uid, vals, context=None)Create an attribute.attribute When a `field_id` is given, the attribute will be linked to the existing field. The use case is to create an attribute on a field created with Python `fields`. -
onchange_field_description(self, cr, uid, ids, field_description, name, create_date, context=None) -
onchange_name(self, cr, uid, ids, name, context=None) -
relation_model_id_change(self, cr, uid, ids, relation_model_id, option_ids, context=None)removed selected options as they would be inconsistent
New fields (0)
No new fields.
Public methods (1)-
create(self, cr, uid, vals, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
name_change(self, cr, uid, ids, name, relation_model_id, context=None)
New fields (0)
No new fields.
Public methods (3)-
create(self, cr, uid, vals, context=None) -
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False) -
validate(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…