Repository
OCA/edi · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/edi
Last tracking update
2026-08-07 08:09:21
Authors
ACSONE SA/NV, Odoo Community Association (OCA), BCIM
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA), BCIM
Committers
Weblate, OCA-git-bot, oca-ci, Souheil Bejaoui
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
account_edi_ubl_cii_purchase_match_product_packaging
Description
Adds support for UNECE unit codes during UBL invoice import to automatically detect and
assign the appropriate unit of measure or product packaging on invoice lines.

When a UNECE code matches a product packaging, the packaging is set with priority.
Otherwise, the corresponding unit of measure is applied based on the UNECE code.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_move_form_view account.move form Inherits account_move_line_packaging.account_move_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • ubl_billed_quantity Float
    help='Technical field storing the billed quantity from the UBL import. During purchase reconciliation, it allows restoring the original supplier quantity when the quantity has been altered by packaging selection.' readonly=True
  • ubl_price_unit Float
    help='Technical field storing the unit price from the UBL import.' readonly=True string='UBL P.U'
  • ubl_unece_unit_code Char
    help='Technical field storing the UNECE unit code from UBL import. Used during purchase reconciliation to identify the corresponding packaging when a purchase order line is manually selected.' readonly=True string='Unece Unit Code'
Public methods (0)

No public methods.