Repository
OCA/hr-expense · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources/Expenses
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-expense
Last tracking update
2026-08-07 08:23:02
Authors
Odoo Community Association (OCA), Open Source Integrators
Maintainers
Odoo Community Association (OCA), Open Source Integrators
Committers
Weblate, OCA-git-bot, oca-ci, Pani-k-folk
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Employees can pay for expenses using company Credit Cards.

In this case, there is the need for the Expense to identify what Credit
Card was used for that payment.

This allows the Expense report to use the correct journal, and have the
payment accounting enty to be posted in the correct place.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_expense_form_view_inherit hr.expense form Inherits hr_expense.hr_expense_view_form
hr_expense_sheet_view_inherit hr.expense.sheet form Inherits hr_expense.view_hr_expense_sheet_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • journal_type Selection
    related='journal_id.type'
Public methods (0)

No public methods.

New fields (2)
  • payment_method_line_id Many2one → account.payment.method.line
    comodel_name='account.payment.method.line' domain="[('id', 'in', selectable_payment_method_line_ids)]" help='The payment method used when the expense is paid by the company.' string='Payment Method'
  • selectable_payment_method_line_ids Many2many → account.payment.method.line
    comodel_name='account.payment.method.line' compute='_compute_selectable_payment_method_line_ids'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
no CI data
Open since
463 days ago
Last activity
76 days ago
Repository
OCA/hr-expense
Pull request
[18.0][MIG] hr_expense_journal: Migration to 18.0 (#300)