Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 23 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

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

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

Description

Set favorite product attributes and attribute values per company. Only the favorite attributes and values will be displayed in the dropdown menu in a product template form.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
attribute_tree_view product.attribute tree Inherits product.attribute_tree_view
product_attribute_view_form product.attribute form Inherits product.product_attribute_view_form
product_attribute_view_search product.attribute search New
product_template_only_form_view product_template_form_view product.template form Inherits product.product_template_only_form_view
res_config_settings_view_form res.config.settings form Inherits stock.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • is_favorite Boolean
    company_dependent=True default=True help='If checked, this record can be linked to a product template.' string='Favorite'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • is_favorite Boolean
    related='attribute_id.is_favorite'
Public methods (0)

No public methods.

New fields (2)
  • new_attribute_favorite_for_all_companies Boolean
    config_parameter='product_attribute_company_favorite.product_attribute_enable_for_all_companies' help="When a new attribute is created,\n set it as favorite for all companies.\n Otherwise it is only set as favorite for the user's current company" string='Set new attribute as favorite for all companies'
  • new_attribute_value_favorite_for_all_companies Boolean
    config_parameter='product_attribute_company_favorite.product_attribute_value_enable_for_all_companies' help="When a new attribute value is created,\n set it as favorite for all companies.\n Otherwise it is only set as favorite for the user's current company" string='Set new attributes value as favorite for all companies'
Public methods (0)

No public methods.

Loading…