OdooWiki OCA HUB

HR Expense - Pay To Vendor

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

This module allow expense "Pay to Vendor" as option when user select, Paid By Company.

Pay to Vendor is suitable for cases when user wanted to buy something, i.e., Plane Ticket, but do not want to pay money him/herself and use expense as the way to make payment order to accounting department.

When expense has posted journal entry, the AR will be set to Vendor (and not the Employee). Then, register the payment will be clearing the AR to Bank.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets employees request that the company pays a vendor directly through an expense, instead of reimbursing the employee. When the expense is paid by company, you can pick the vendor who should receive the money.

This module adds a "To Vendor" field on expense lines and expense sheets. The field only appears when the expense is set to be paid by the company (payment mode "company_account"). On an individual expense, you can choose the vendor while the expense is still in draft or submitted; once it is approved or done, the field becomes read-only.

On an expense sheet, the vendor is shown automatically from the expense lines and cannot be edited there. A check prevents submitting a sheet where the expenses paid by the company point to different vendors: all such expenses must be for the same vendor, otherwise Odoo shows an error.

When the sheet is approved and its journal entry is created, the accounting entry is posted automatically for expenses that are paid by the company and have a vendor. The payable amount is then recorded against the vendor instead of the employee, using the vendor's payable account. When you register the payment, the payment lines are assigned to that vendor and their labels are prefixed with the vendor name, so the payment clears the vendor's payable balance to the bank.

It touches the expense and expense sheet screens and the related accounting entries and payments.

Depends on

hr_expense
Models and fields (2)
  • hr.expense · extends an existing modelvendor_id (To Vendor)
  • hr.expense.sheet · extends an existing modelvendor_id (To Vendor)

Text generated by AI (DeepSeek) from reading the Odoo 16.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 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Go to Expenses -> My Expenses -> Expenses to Submit and create a new Expense with Company as Paid By, and a Vendor as Pay to Vendor
  • Click on Submit to Manager button
  • Click on Approve button
  • Click on Post Journal Entries button, the Receivable will be on Vendor
  • Click on Register Payment button, fill in the data of the wizard and click on Validate button

You can now check that the partner in journal entries are on Vendor, and not on Employee.

No verified information in OCA: Installation, Configuration.

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.