OdooWiki OCA HUB

CO2 : Expense Reports

sustainability_hr_expense_report folder_open OCA/sustainability open_in_new
Accounting/Sustainability License: AGPL-3

Provide CO2 accounting data for expense reports

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a CO2 (carbon) amount to expense lines and expense reports, calculated automatically from the product or the expense account, with a lock/unlock button to freeze or recalculate it.

This module brings carbon accounting into the Expenses app. Each expense line now carries a CO2 value (carbon debt) that Odoo computes automatically from the product or the expense account used, based on the line's quantity, amount, date and company currency. The value is recalculated when the product, account, quantity, total amount or date changes, and only while the expense is still in draft.

On the expense line form, a CO2 field appears next to the taxes, with a small lock/unlock button. Locking the value stops Odoo from recalculating it; unlocking lets it be recomputed again.

The same CO2 field and lock/unlock button are also shown on the expense report (sheet) form, just before the total amount, so approvers can see the carbon impact of the whole report.

When an expense is posted to accounting, the carbon debt and its locked status are copied onto the resulting journal entry line, so the carbon information follows the expense into the books.

Expense lines are treated as carbon inflows (purchases/consumption). The module relies on the general sustainability module for the carbon computation logic and only adds the expense-specific wiring and screens.

Depends on

hr_expensesustainability
Models and fields (1)
  • hr.expense · new model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/sustainability.

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.