Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
3
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 10 migration notes 7 models 14 views 0 HTTP endpoints

Description

This module adds the possibility to easily create custom attributes in any OpenERP business object. See the product_custom_attributes module for instance.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
unidecode
System dependencies
None
Required by
partner_custom_attributes, product_custom_attributes, production_lot_custom_attributes

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…