Account Payment Discount
account_payment_discount · OCA/bank-payment-alternative
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.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.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
Description
This module extends the functionality of account payment base to support discount and to allow users to automatically create early payment discount move lines.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_payment_line_create_form |
account.payment.line.create | form | Inherits account_payment_batch_oca.account_payment_line_create_form | |
account_payment_line_form_view |
account.payment.line | form | Inherits account_payment_batch_oca.account_payment_line_form | |
account_payment_line_tree_view |
account.payment.line | tree | Inherits account_payment_batch_oca.account_payment_line_tree |
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 (6)
-
amount_residual_currencyMonetarycompute='_compute_amount_residual_currency' -
can_have_discountBooleanrelated='move_line_id.move_id.invoice_payment_term_id.early_discount' -
diff_amount_residual_currency_amount_discount_currencyMonetarycompute='_compute_diff_amount_residual_currency_amount_discount_currency'help='Amount of discount'string='Discount Amount' -
discount_amount_currencyMonetarycompute='_compute_discount_amount_currency'help='Total amount discount included' -
discount_dateDaterelated='move_line_id.discount_date' -
pay_with_discountBooleancompute='_compute_pay_with_discount'precompute=Truereadonly=Falsestore=True
No public methods.
New fields (2)
-
cash_discount_dateDatedefault=<expr>help='Search lines with a discount due date which is posterior to the selected date.' -
date_typeSelectionondelete={'discount_due_date': 'cascade'}selection_add=[('discount_due_date', 'Discount Due Date')]
No public methods.