Payment Difference on HR expenses
hr_expense_payment_difference · OCA/hr-expense
OCA/hr 12.0 → OCA/hr-expense 13.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 71 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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
1 migration note
3 models
1 view
0 HTTP endpoints
Migration considerations
hr_expense_sheet_register_payment_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_expense_sheet_register_payment_view_form |
hr.expense.sheet.register.payment.wizard.form.payment.difference | hr.expense.sheet.register.payment.wizard | form | Inherits hr_expense.hr_expense_sheet_register_payment_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
difference_residualMonetarycompute='_compute_difference_residual'
No public methods.
New fields (4)
-
payment_differenceMonetarycompute='_compute_payment_difference'readonly=True -
payment_difference_handlingSelectioncopy=Falsedefault='open' args: [('open', 'Keep open'), ('reconcile', 'Mark invoice as fully paid')] -
writeoff_account_idMany2one → account.accountcomodel_name='account.account'copy=Falsedomain=[('deprecated', '=', False)]string='Difference Account' -
writeoff_labelChardefault='Write-Off'help='Change label of the counterpart that will hold the payment difference'string='Journal Item Label'
-
default_get(self, fields)@api.model -
expense_post_payment(self)
Loading…