base_ubl_generate
Provides base utilities for other Odoo modules to generate UBL XML documents with reusable party, item, and tax builders.
Key Features
- base.ubl: Provides helpers to inject country, address, language, and contact elements when building UBL parties.
- base.ubl: Builds party identification, tax scheme, and legal entity sections using partner VAT data and UNECE codes.
- base.ubl: Generates customer and supplier party blocks that handle account references and optional accounting contacts.
- base.ubl: Produces delivery nodes including address details and delivery party information.
- base.ubl: Supports delivery terms by exporting Incoterm codes into UBL structures.
- base.ubl: Outputs payment terms notes in UBL format from Odoo payment term definitions.
- base.ubl: Creates line item entries with quantities, monetary amounts, and base units compliant with UNECE codes.
- base.ubl: Enriches item definitions with seller and buyer codes, GTIN barcodes, tax categories, and attribute properties.
- base.ubl: Computes tax subtotals with currency amounts and percentage rates for each applied tax.
- base.ubl: Adds tax scheme metadata ensuring UNECE tax type and category compliance.