Expenses - Odoo 20 Community Book

The Expenses app is for the money that your people spend for the company: a lunch with a supplier, a train ticket, the kilometers driven with a private car. The employee writes the expense and attaches the receipt. A manager approves or refuses it. An accountant posts it and pays it back. Odoo keeps every step, so you can always see who asked, who said yes and when the money was paid.

In this chapter we use the eight people of the Employees chapter. We make expenses for lunches, trains, mileage and a phone top-up, and we follow them through the whole road: draft, submitted, approved, posted and paid. We also see a refused expense, a split, a duplicate and an expense over the limit of a job position. At the end you will know the screens, the buttons and the settings of the app.

Words used in this chapter:

Expense. One line of spending: what was bought, the amount, the date, the person and the receipt.

Expense product (category). The kind of spending, for example Meals or Travel. Each product has its own tax, account and rules.

Receipt. The proof of the spending, a photo or a PDF, attached to the expense.

Submit. The employee sends the expense to the approver.

Approver (manager). The person who says yes or no to an expense.

Reimbursement. How the money goes back. Either the company pays the employee back (Employee, through a purchase receipt), or the company paid by itself and nothing is owed (None, paid by company).

Journal entry. The accounting record that Odoo makes when an expense is approved. Here it is a purchase receipt of the employee.

Posted and Paid. Posted: the accountant confirmed the entry. Paid: the money went to the employee.

Edition note. The Expenses app (module hr_expense) is part of Odoo 20 Community. It needs the Accounting and the Employees apps. Two small modules join it when their app is there: Sales (sale_expense, to bill the expense again to a customer) and Project (project_hr_expense, to charge the expense to a project). The payslip reimbursement, the OCR of receipts and the company cards need Odoo Enterprise and are listed in the last section.

Opening the Expenses App

Click the Expenses icon on the home screen. The first screen is the list of your own expenses. When you have none, Odoo shows a blurred example with the message Upload or drop an expense receipt.

odoo Development

The menu bar has three entries:

My Expenses. Two screens: My Expenses (your own expenses) and Expenses to Process (the expenses that wait for your approval and the other open ones).

Reporting. Expenses Analysis (section 7).

Configuration. Settings, Expense Products and, in developer mode, Activity Types (sections 1, 2 and 8).

odoo Development

Sam Carter, Noah Bennett, Ava Morgan, Emma Clarke, Olivia Hart and Liam Foster are the people who spend. The Administrator approves.

WhatsApp