This module can be activated from Sustainability settings to add CO2e infos on inventory.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a CO2 (carbon) figure to stock transfers (deliveries and receipts) by asking the Climatiq service for the freight emissions of each shipment, and records that carbon cost in a posted accounting entry.
When a stock transfer is marked as done, Odoo can calculate the carbon emissions of its transport and store the result in a new CO2 field on the transfer. The figure is also shown in the transfer list view, and a 'Re-compute CO2' action is available on transfers to run the calculation again.
The calculation uses the warehouse address as origin, the customer/supplier address as destination, the shipping weight, and a transport mode (road, air, sea or rail). The mode is taken from the partner if set, otherwise from the company default. Results are cached per origin, destination, unit and transport mode, so repeated routes reuse the stored ratio instead of calling the service again.
A new 'Climatiq API' section appears under Sustainability settings with the API URL and key, maximum number of deliveries processed at once, default transport mode, uncertainty percentage, distance tolerance, upstream and downstream freight products, and the journal and account used for the carbon entry. Partners get their own default transport mode.
For each processed transfer, a posted vendor-bill-style entry is created (or updated) with the carbon amount, linked to the transfer; receipts use the upstream product, other transfers the downstream product. Carbon origins can be filtered by stock transfer. A 'Freight Route Computations' menu lists each API call with route, mode, CO2 ratio, request, response and error message.
If required settings, origin or destination are missing, or too many transfers are processed at once, a warning is shown and nothing is computed.
Depends on
Menus it adds
Models and fields (8)
- res.company · extends an existing modelcarbon_freight_tolerance (Tolerance), carbon_freight_account_id (Carbon Freight Account), carbon_freight_journal_id (Carbon Freight Journal), carbon_freight_transport_mode (Default Transport Mode), carbon_freight_climatiq_api_key, carbon_freight_climatiq_api_url, carbon_freight_product_upstream (Product for Upstream Freight), carbon_freight_max_delivery_count (Max deliveries to process), carbon_freight_product_downstream (Product for Downstream Freight), carbon_freight_uncertainty_percentage (Uncertainty)
- res.partner · extends an existing modelcarbon_freight_transport_mode (Default Transport Mode)
- account.move · extends an existing modelcarbon_freight_picking_id (Stock Transfer)
- stock.picking · new modelcarbon_debt (CO2), carbon_currency_id (Carbon Currency), carbon_line_origin_ids (Origins), carbon_line_origin_qty, carbon_freight_move_ids
- carbon.line.mixin · extends an existing model
- carbon.line.origin · extends an existing modelmove_carbon_freight_picking_id
- res.config.settings · extends an existing modelcarbon_freight_tolerance (Tolerance), carbon_freight_account_id (Carbon Freight Account), carbon_freight_journal_id (Carbon Freight Journal), carbon_freight_transport_mode (Default Transport Mode), carbon_freight_climatiq_api_key (Climatiq API Key), carbon_freight_climatiq_api_url (Climatiq API URL), carbon_freight_product_upstream (Product for Upstream Freight), carbon_freight_max_delivery_count (Max Deliveries to Process), carbon_freight_product_downstream (Product for Downstream Freight), carbon_freight_uncertainty_percentage (Carbon Uncertainty Percentage)
- sustainability.stock.freight.computation · new modelorigin, co2_ratio, co2_display (CO2 ratio), destination, weight_unit (Unit), api_response, error_message, transport_mode, request_payload
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/sustainability.
terminal Installation and usage
No verified informationInstallation 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.
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.