Repository
OCA/community-data-files · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/community-data-files
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, christian-ramos-tecnativa
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (13)
XML IDNameModelTypeStatus
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)
  • active Boolean
    default=True
  • image Image
    max_height=128 max_width=128 string='Icon'
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

New fields (1)
  • allergen_ids Many2many → allergen.allergen
    comodel_name='allergen.allergen' help='Allergens present in this product variant' string='Allergens'
Public methods (0)

No public methods.

New fields (1)
  • allergen_ids Many2many → allergen.allergen
    comodel_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=False string='Allergens'
Public methods (0)

No public methods.

New fields (1)
  • show_allergens_on_product_labels Boolean
    config_parameter='product_allergen.show_allergens_on_product_labels' help='Display allergen icons at the bottom of product labels' string='Show Allergens on Product Labels'
Public methods (0)

No public methods.