Account EDI UBL move line uom and packaging By UNECE
account_edi_ubl_move_line_uom_and_packaging_unece · OCA/edi
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
account_move_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
- Odoo dependencies
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- account_edi_ubl_cii_purchase_match_product_packaging
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
No new fields.
Public methods (0)No public methods.
-
ubl_billed_quantityFloathelp='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_unitFloathelp='Technical field storing the unit price from the UBL import.'readonly=Truestring='UBL P.U' -
ubl_unece_unit_codeCharhelp='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=Truestring='Unece Unit Code'
No public methods.