OdooWiki OCA HUB

Base Delivery Carrier Files

base_delivery_carrier_files folder_open OCA/delivery-carrier open_in_new
Generic Modules/Warehouse License: AGPL-3

Base module for creation of carrier files (La Poste, TNT Express Shipper, ...). Files are exported as text (csv, ...). It contains :

  • the base structure to handle the export of files on Delivery Orders
  • an API to ease the generation of the files for the developers in sub-modules.

The delivery orders can be grouped in one file or be exported each one in a separate file. The files can be generated automatically on the shipment of a Delivery Order or from a manual action. They are exported to a defined path or in a document directory of your choice if the "document" module is installed.

A generic carrier file is included in the module. It can also be used as a basis to create your own sub-module.

Sub-modules already exist to generate file according to specs of :

  • La Poste (France) : delivery_carrier_file_laposte
  • TNT Express Shipper (France) : delivery_carrier_file_tnt
  • Make your own ! Look at the code of the modules above, it's trivial to create a sub-module for a carrier.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Configure carrier file exports for delivery orders and generate CSV files of shipment data, either automatically when a delivery is validated or manually from a wizard.

This module adds a new configuration screen called Carrier File, found under the Delivery menu. There you define how shipment data files are produced: a name, a type (Generic by default), whether all delivery orders are grouped into one file or one file per order, the write mode (Disk), the export folder path, and whether the file is generated automatically when a delivery order is processed.

On each delivery carrier you can link a carrier file configuration. On delivery orders (stock.picking), a new 'Carrier File Generated' checkbox shows whether the file was already produced, and a search filter 'Carrier File To Generate' lists completed outgoing deliveries that still need a file.

When an outgoing delivery is validated, the file is generated automatically if the linked carrier file is set to auto export; otherwise you can select deliveries and use the 'Generate Carrier Files' wizard, which also offers a 'Recreate files' option to overwrite existing ones. Files are written as CSV to the configured folder, and the delivery order is flagged as generated. Only outgoing transfers with a carrier and a carrier file configuration are processed.

Depends on

basestockdelivery

Menus it adds

menu_action_delivery_carrier_file_form
Models and fields (5)
  • stock.move · extends an existing model
  • stock.picking · extends an existing modelcarrier_file_generated (Carrier File Generated)
  • delivery.carrier · extends an existing modelcarrier_file_id
  • delivery.carrier.file · new modelname (Name), type (Type), write_mode (Write on), auto_export, export_path (Export Path), group_pickings
  • delivery.carrier.file.generate · new modelpickings (Delivery Orders), recreate (Recreate files)

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/delivery-carrier.

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.