Product Allergen
product_allergen · OCA/community-data-files
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.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.17 MB
Module directory on disk
Code analysis
0 migration notes
4 models
13 views
0 HTTP endpoints
Description
This module adds allergen information support to products in Odoo. Also adds the posibility to show allergen icons on product labels without barcodes. This is because labels with barcodes don't have enough space to show allergens.
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 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_allergens |
product_allergens | ir.ui.view | qweb | New |
product_template_form_view_allergens |
product.template.form.allergens | product.template | form | Inherits product.product_template_only_form_view |
product_variant_form_view_allergens |
product.product.form.allergens | product.product | form | Inherits product.product_normal_form_view |
report_simple_label2x7 |
report_simple_label2x7 | ir.ui.view | qweb | Inherits product.report_simple_label2x7 |
report_simple_label4x12 |
report_simple_label4x12 | ir.ui.view | qweb | Inherits product.report_simple_label4x12 |
report_simple_label4x12_no_price |
report_simple_label4x12_no_price | ir.ui.view | qweb | Inherits product.report_simple_label4x12_no_price |
report_simple_label4x7 |
report_simple_label4x7 | ir.ui.view | qweb | Inherits product.report_simple_label4x7 |
report_simple_label_dymo |
report_simple_label_dymo | ir.ui.view | qweb | Inherits product.report_simple_label_dymo |
res_config_settings_view_form |
res.config.settings.view.form.inherit.allergen | res.config.settings | form | Inherits product.res_config_settings_view_form |
view_allergen_allergen_form |
allergen.allergen.form | allergen.allergen | form | New |
view_allergen_allergen_kanban |
allergen.allergen.kanban | allergen.allergen | kanban | New |
view_allergen_allergen_list |
allergen.allergen.list | allergen.allergen | list | New |
view_allergen_allergen_search |
allergen.allergen.search | allergen.allergen | search | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (3)
-
activeBooleandefault=True -
imageImagemax_height=128max_width=128string='Icon' -
nameCharrequired=Truetranslate=True
No public methods.
New fields (1)
-
allergen_idsMany2many → allergen.allergencomodel_name='allergen.allergen'help='Allergens present in this product variant'string='Allergens'
No public methods.
New fields (1)
-
allergen_idsMany2many → allergen.allergencomodel_name='allergen.allergen'compute='_compute_allergen_ids'help='Allergens present in this product template. When the template has a single variant, changes are applied to that variant. When there are multiple variants, this shows the union of all variant allergens.'inverse='_inverse_allergen_ids'store=Falsestring='Allergens'
No public methods.
New fields (1)
-
show_allergens_on_product_labelsBooleanconfig_parameter='product_allergen.show_allergens_on_product_labels'help='Display allergen icons at the bottom of product labels'string='Show Allergens on Product Labels'
No public methods.