OdooWiki OCA HUB

Base WAMAS UBL

base_wamas_ubl folder_open OCA/edi open_in_new
Hidden License: AGPL-3

This module contains methods to parse between WAMAS file and UBL file.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds two technical wizards under an EDI > WAMAS menu that let EDI managers inspect a WAMAS file (type, telegram type and decoded data) or simulate the conversion of a WAMAS file into another WAMAS file.

This is a hidden technical module that provides the conversion engine between WAMAS files and UBL XML, plus two helper screens for EDI managers.

Where it appears in Odoo: - A new "WAMAS" menu is added under the EDI root menu, visible only to users with the technical "no one" group. - "Check WAMAS File" opens a wizard where you upload a WAMAS file and press Check. It shows the detected WAMAS type, the decoded data and the list of supported telegram types. - "Simulate WAMAS File" opens a wizard where you upload a WAMAS file and press Simulate. It produces a new WAMAS file (named OUTPUT_ plus the original filename) that you can download, and lists the supported FROM telegram to TO telegram conversions.

Business rules and behaviours: - The wizards only accept a file; the filename field is used to name the uploaded/downloaded file. - Changing the filename clears previous results. - If the file cannot be read or converted, the wizard displays an error message instead of a result. - The conversion helpers raise an error when no message type is given or when the data is not a valid dictionary.

It touches the abstract model base.wamas.ubl (conversion methods) and the two wizard models wamas.ubl.wiz.check and wamas.ubl.wiz.simulate. Access is restricted to the EDI manager group.

Menus it adds

WAMASCheck WAMAS FileSimulate WAMAS File
Models and fields (3)
  • base.wamas.ubl · new model
  • wamas.ubl.wiz.check · new modeloutput, wamas_file (WAMAS File), wamas_filename (WAMAS Filename), supported_telegram
  • wamas.ubl.wiz.simulate · new modeloutput, wamas_file (WAMAS File), wamas_filename (WAMAS Filename), output_wamas_file (Output WAMAS File), supported_telegram, output_wamas_filename (Output WAMAS Filename)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.