edi_voxel_oca
Provide the foundational Odoo infrastructure needed to exchange XML documents with Voxel’s baVel EDI platform.
Key Features
- res.company: Allows enabling Voxel integration per company and configuring automatic, fixed-time, or delayed sending windows with associated login credentials.
- res.config.settings: Exposes the company’s Voxel enablement, scheduling options, and credentials in the general settings UI for easy maintenance.
- res.partner: Adds a partner-level Voxel toggle and strips any ES prefix from VAT numbers before they are sent to Voxel.
- account.tax: Extends taxes with the official Voxel tax code list so exported documents always carry the expected fiscal identifiers.
- uom.uom: Adds a Voxel unit-of-measure code selection (units, kg, pallets, etc.) to translate product quantities into baVel terminology.
- voxel.login: Introduces a dedicated model for storing multiple Voxel endpoints and credentials linked to each company.
- voxel.mixin: Provides reusable helpers that render XML reports, enqueue queue_job tasks with ETA handling, send documents to the Outbox, and track their Voxel state.
- voxel.mixin: Polls Voxel Inbox and Error folders to import documents, capture processing logs, delete remote files, and mark accepted or failed records accordingly.
- voxel.mixin: Looks up customer-specific product codes when building exports so Voxel receives the SKU expected by the destination partner.
- queue.job: Adds sudo-enabled helpers to force immediate execution, cancel pending tasks, or requeue failed Voxel jobs.