TIP: You can type at any time to perform a new search.
Account Payment Discount
account_payment_discount · OCA/bank-payment-alternative
- Repository
- OCA/bank-payment-alternative · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/bank-payment-alternative
- Last tracking update
- 2026-08-05 00:15:21
- Authors
- Odoo Community Association (OCA), ACSONE SA/NV
- Maintainers
- Odoo Community Association (OCA), ACSONE SA/NV
- Committers
- OCA-git-bot, oca-ci, Zina Rasoamanana
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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.