Product Attribute Company Favorite
product_attribute_company_favorite · OCA/product-attribute
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 23 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_favoriteBooleancompany_dependent=Truedefault=Truehelp='If checked, this record can be linked to a product template.'string='Favorite'
-
create(self, vals_list)@api.model_create_multi
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
is_favoriteBooleanrelated='attribute_id.is_favorite'
No public methods.
New fields (2)
-
new_attribute_favorite_for_all_companiesBooleanconfig_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_companiesBooleanconfig_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'
No public methods.
Loading…