Search 1.8 billion lines of Odoo code on GitHub


Author: Ecosoft, Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0-add-hr_expense_cancel_confirm
Repository: ecosoft-odoo/hr-expense
Dependencies: account, and hr_expense
Languages: HTML (389, 30.3%), Python (566, 44.0%), XML (227, 17.7%), and reStructuredText (103, 8.0%)
Other branches: 13.0-enh-hr_expense_petty_cash_history, 13.0-fix-payment_diff, 13.0-imp-advance_clearing, 13.0-imp-hr_expense_advance_clearing-analytic_tag, 13.0-imp-hr_expense_petty_cash-active, 13.0-mig-hr_expense_advance_clearing_sequence, 13.0-mig-hr_expense_petty_cash, 13.0-mig-hr_expense_petty_cash_sequence, 14.0-add-hr_expense_o2m_widget, 14.0-add-hr_expense_pay_to_vendor, 14.0-add-hr_expense_payment_widget_amount, 14.0-add-hr_expense_tax_adjust, 14.0-add-hr_expense_work_acceptance, 14.0-conflict-hr_expense_cancel_payment, 14.0-copier, 14.0-enh-hr_expense_advance_clearing-return_advance, 14.0-enh-hr_expense_advance_clearing-validate_over_return, 14.0-enh-hr_expense_cancel-not_delete_move, 14.0-fix-advance_clearing-not_allow_cancel_pv, 14.0-fix-error_substate, 14.0-fix-hr_expense_advance_clearing-button_clear, 14.0-fix-hr_expense_payment-paid_by_company, 14.0-fix-hr_expense_tier_validation, 14.0-mig-hr_expense_petty_cash, 14.0-upd-copier, 15.0-mig-hr_expense_payment_widget_amount, and 15.0-mig-hr_expense_petty_cash
Other repositories: 001101/hr, Carlos672/hr, Change2improve/hr, Digital5-Odoo/hr, ERPLibre/hr, Escodoo/hr, ForgeFlow/hr, Gabinete-Digital/hr-expense, HarshalBhoir/hr, HashBangCoop/hr, Ingeos/hr, MallorcaSoft/hr, NeatNerdPrime/hr, NextERP-Romania/hr, OCA-MUK/hr, OCA/hr, OCA/hr-expense, PNLUG/hr, RealSolutionsLux/hr, SanteLibre/hr, Studio73/hr, TechnovicInfotech/hr, Tecnativa/hr, Vauxoo/hr, acsone/hr, anhvu-sg/hr, area-scm/hr, aurestic/hr, brain-tec/hr, brainbeanapps/hr, brian10048/hr, busmanapps/hr, camptocamp/hr, captivea-rdi/hr, codentsoftware/hr, coopiteasy/hr, dainiervg1988/hr, ecosoft-odoo/hr, elego/oca-hr, enmasys/hr, farinoire/hr, gab-net/hr, hendrixcosta/hr, ideaspositivas-group/hr, invitu/hr, ip-candres/hr, janverb/hr, jonisunz/hr, kullykiki/hr, labaggio/hr, landoo-es/hr, levkar/hr, lideritjnma/hr, marcelofrare/hr, mauraco-group/hr, mefiskafka/hr-1, miguelguzmanr/hr, mymage/hr, napr/hr, netfarm/hr, onesteinbv/hr, onurugur/hr, ovnicraft/hr, patrickrwilson/hr, quentinDupont/hr, ricardus34/hr, sanube/hr, sendalpegat/hr, sherpya/hr, steingabelgaard/hr, sysdiary/hr, takinobori/oca-hr, tegin/hr, thinkasoft-dev/hr, ursais/hr, vmelnych/hr, wahello/hr, watcharaporn-git/hr, whileom/hr, and xpertiz/hr

Petty Cash

Beta License: AGPL-3 OCA/hr-expense Translate me on Weblate Try me on Runbot

This module work about expense that paid by petty cash.

General Process:

  1. Create Petty Cash Holder
  2. Transfer cash to Petty Cash Holder (by using Vendor Bill)
  3. You can create expense paid by petty cash and select petty cash holder.
  4. Then balance of petty cash holder less than amount of expense, you must transfer cash to petty cash holder before Submit Report to Manager.

Table of contents


Create a Petty Cash Account

  1. Go to Invoicing > Configuration > Chart of accounts
  2. Create a new petty cash account
  3. Type = Bank and Cash or Account type that is asset


  • You will need the "Show Full Accounting Features" to see accounting data


Create a Petty Cash Holder

  1. Go to Invoicing > Configuration > Petty Cash
  2. Create a new petty cash holder
  3. Select Petty Cash Account and Journal (optional)

Add Balance for Petty Cash Holder

  1. Go to Invoicing > Vendor > Bill
  2. Create a new vendor bill
  3. Select Vendor (Petty Cash Holder)
  4. Check Petty Cash will auto line with Unit Price = Max Limit - Balance

Create an Expense paid by Petty Cash

  1. Go to Expenses > My Expenses
  2. Create a new expense
  3. Select Paid by = Petty Cash and Select Petty Cash Holder

Create an Expense Report paid by Petty Cash

  1. Go to Expenses > My Expense Reports
  2. Create a new expense report
  3. Select or Create expenses Paid by Petty Cash and same Petty Cash Holder

Note : Bill and Expense will default journal from petty cash holder, if you configure journal in petty cash holder.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Ecosoft



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/hr-expense project on GitHub.

You are welcome to contribute. To learn how please visit