Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 20 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…