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:
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 IDNameModelTypeStatus
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…