Product barcode required

product_barcode_required
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/18.0/product_barcode_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Rafael Lima
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Makes barcode field required, defaults it to product's code.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_normal_form_code_mandatory_view product.product.form (from product_barcode_required) product.product field Inherits product.product_normal_form_view
product_template_only_form_view product.template.product.form (from product_barcode_required) product.template field Inherits product.product_template_only_form_view
product_variant_easy_edit_view product.product.view.form.easy (from product_barcode_required) product.product field Inherits product.product_variant_easy_edit_view
res_config_settings_view_form res.config.settings xpath Inherits product.res_config_settings_view_form
Models touched (5)

New fields (1)
  • is_barcode_required Boolean
    compute='_compute_is_barcode_required'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' help='Make variant barcode required'
Public methods (0)

No public methods.

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' readonly=False related='company_id.product_variant_barcode_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_barcode_required
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_normal_form_code_mandatory_view product.product.form (from product_barcode_required) product.product field Inherits product.product_normal_form_view
product_template_only_form_view product.template.product.form (from product_barcode_required) product.template field Inherits product.product_template_only_form_view
product_variant_easy_edit_view product.product.view.form.easy (from product_barcode_required) product.product field Inherits product.product_variant_easy_edit_view
res_config_settings_view_form res.config.settings xpath Inherits product.res_config_settings_view_form
Models touched (5)

New fields (1)
  • is_barcode_required Boolean
    compute='_compute_is_barcode_required'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' help='Make variant barcode required'
Public methods (0)

No public methods.

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' readonly=False related='company_id.product_variant_barcode_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/13.0/product_barcode_required
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSGuewen Baconnier, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_normal_form_code_mandatory_view product.product.form (from product_barcode_required) product.product field Inherits product.product_normal_form_view
product_template_only_form_view product.template.product.form (from product_barcode_required) product.template field Inherits product.product_template_only_form_view
product_variant_easy_edit_view product.product.view.form.easy (from product_barcode_required) product.product field Inherits product.product_variant_easy_edit_view
res_config_settings_view_form res.config.settings xpath Inherits product.res_config_settings_view_form
Models touched (5)

New fields (1)
  • is_barcode_required Boolean
    compute='_compute_is_barcode_required'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' help='Make variant barcode required'
Public methods (0)

No public methods.

New fields (1)
  • product_variant_barcode_required Boolean
    groups='product.group_product_variant' readonly=False related='company_id.product_variant_barcode_required'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/product-attribute
PULL REQUEST
PULL REQUEST[19.0][MIG] product_barcode_required: Migration to 19.0 (#2282)