OdooWiki OCA HUB

CFDI Carta Porte - Inventarios

l10n_mx_cfdi_waybill folder_open OCA/l10n-mexico open_in_new
Stock License: LGPL-3

This module adds Mexican CFDI Carta Porte (waybill) support for inventory transfers. It provides simplified fleet management with vehicles, transporters, and waybill generation linked to stock pickings.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Create and publish Mexican CFDI Carta Porte waybills directly from inventory transfers, with simplified fleet records for vehicles, trailers and transporters.

This module lets warehouse users issue a Mexican Carta Porte (waybill) for stock transfers. On a transfer (stock.picking) a "Crear Carta Porte" button opens a new waybill form; once a waybill is published the button disappears and the document is listed in a "Carta Porte" tab on the transfer.

A new "Carta Porte" menu under Inventory contains "Contactos" (transporters), "Vehículos" (vehicles) and "Cartas Porte" (waybills). Vehicles store plate, model, vehicle configuration, gross weight, permit type/number, insurance company/number and trailers; transporters link a contact, a figure type, transport parts and a driving licence (also stored on the contact form). Products gain dangerous-material indicator/code fields.

When a waybill is created from a transfer, goods lines are generated automatically from the transfer moves, with origin/destination addresses, departure time and route distance/duration computed through OpenStreetMap geolocation. Publishing validates required data (vehicle, transporter with operator type, RFC, licence, addresses, dates, distance, product codes, units, weight, postal codes), assigns a CP/year/month serial number, builds and publishes the CFDI, attaches the PDF and XML and posts a message. Waybills can be cancelled, reset to draft or printed. Access is restricted by company.

Depends on

basebase_geolocalizebase_address_extendedstockl10n_mx_cfdi_account

Menus it adds

ContactosVehículosCarta PorteCartas Porte
Models and fields (9)
  • res.partner · extends an existing modell10n_mx_cfdi_waybill_driving_license (Licencia de Conducir)
  • base.geocoder · extends an existing model
  • stock.picking · extends an existing modelhas_waybill, waybill_ids (waybill)
  • product.template · extends an existing modell10n_mx_cfid_dangerous_material_code (Código de material Peligroso), l10n_mx_cfdi_dangerous_material_indicator (Indicador de material peligroso CFDI)
  • l10n_mx_cfdi_waybill.vehicle · new modelname (Nombre), model (Año/Modelo), plate (Número de Placa), trailers, company_id, permit_type (Tipo de Permiso), permit_number (Número de Permiso), vehicle_setup (Configuración de Vehicular), insurance_number (Número de Seguro), insurance_company (Compañía de Seguros), gross_vehicle_weight (Peso Bruto Vehicular)
  • l10n_mx_cfdi_waybill.waybill · new modelcfdi_id (CFDI), entry_ids (Entradas), vehicle_id (Vehículo), picking_ids (Traslados), transporter_ids (Contactos), federal_highway_use (Uso de carretera federal)
  • l10n_mx_cfdi_waybill.transporter · new modeltype (Tipo), type_code, company_id, partner_id (Contacto), driving_license (Licencia de Conducir), parte_transporte_ids (Partes de Transporte)
  • l10n_mx_cfdi_waybill.waybill_entry · new modelmove_id, distance (Distancia (Km)), duration (Duración (Hrs)), picking_id, product_id, waybill_id, product_qty (Cantidad), arrival_datetime (Arribo), origin_address_id, departure_datetime (Salida), destination_address_id
  • l10n_mx_cfdi_waybill.vehicle_trailer · new modeltype (Tipo de Trailer), plate (Número de Placa), company_id

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. 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.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-mexico.

terminal Installation and usage

OCA documentation · Odoo 19.0

Configure vehicles, transporters, and CFDI issuers before creating waybills from inventory transfers.

Create a waybill from a stock picking or from the Waybills menu, complete the required transport data, and publish the CFDI.

No verified information in OCA: Installation.

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.