OdooWiki OCA HUB

Sale Expense Auto Re-invoice at cost

sale_expense_cost_reinvoice folder_open OCA/hr-expense open_in_new
Human Resources License: AGPL-3

With this module if you set Expense product to be re-invoiced at cost you get total amount of the Expense as cost (purchase_price) on order line.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

When an expense product is set to be re-invoiced at cost, this module puts the full expense amount as the cost on the related sales order line, so margin calculations reflect the real expense cost.

This module works together with the expense re-invoicing and sales margin features. It changes how the cost (purchase price) is filled in on sales order lines that come from an expense.

  • When an expense is re-invoiced on a sales order, the system checks whether the expense product's re-invoice policy is "at cost".
  • If it is, the full expense amount is used as the cost on the sales order line, instead of the product's normal cost.
  • The cost is then converted using the product's unit of measure, so the margin shown on the order line is based on the actual expense amount.

The module touches the sales order line and the accounting journal item used when creating the sales order line from an expense. It does not add new menus, screens, buttons, or reports. The change is automatic and only applies to expense lines whose product is configured to be re-invoiced at cost.

Depends on

Models and fields (1)
  • sale.order.line · extends an existing model

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

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/hr-expense.

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.