Product Packaging UNECE

product_packaging_unece
REPOSITORY
REPOSITORYOCA/community-data-files
GIT
GIThttps://github.com/OCA/community-data-files.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/community-data-files/tree/16.0/product_packaging_unece
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV, BCIM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV, BCIM
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Souheil Bejaoui
WEBSITE
WEBSITEhttps://github.com/OCA/community-data-files
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - base_unece
OCA/product-attribute:
    - product_packaging_level
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
UNECE Rec 21 code set on the packaging level and propagated to related product packaging
to identify the packaging type.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_packaging_level_form_view product.packaging.level xpath Inherits product_packaging_level.view_product_packaging_level_form
unece_code_list_search unece.code.list filter Inherits base_unece.unece_code_list_search
Models touched (2)

New fields (1)
  • unece_type_ids Many2many → unece.code.list
    comodel_name='unece.code.list' domain=[('type', '=', 'packaging_type')] help='Select the Packaging Type Codes of the official nomenclature of the United Nations Economic Commission for Europe (UNECE), DataElement Rec 21)' string='UNECE Packaging Types'
Public methods (4)
  • create(self, vals_list)
    @api.model_create_multi
  • get_packaging_level_ids_for_codes(self, *unece_codes)
  • unlink(self)
  • write(self, vals)

New fields (1)
  • type Selection
    ondelete={'packaging_type': 'cascade'} selection_add=[('packaging_type', 'Packaging Types (UNECE Rec 21)')]
Public methods (0)

No public methods.