TIP: You can type at any time to perform a new search.
Account Cash Discount Payment
account_cash_discount_payment · OCA/account-payment
- Repository
- OCA/account-payment · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Accounting
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-payment
- Last tracking update
- 2026-08-07 07:47:38
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-travis, fshah, geomer198
- Odoo dependencies
- Python dependencies
- lxml
- System dependencies
- None
- Required by
- account_cash_discount_reconcile_write_off, account_cash_discount_write_off
- Description
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_line_tree_view |
account.move.line.tree (in account_cash_discount_payment) | account.move.line | tree | Inherits account.view_move_line_tree |
account_payment_line_create_form_view |
account.payment.line.create.form (in account_cash_discount_payment) | account.payment.line.create | form | Inherits account_payment_order.account_payment_line_create_form |
account_payment_line_form_view |
account.payment.line.form (account_cash_discount_payment) | account.payment.line | form | Inherits account_payment_order.account_payment_line_form |
account_payment_line_tree_view |
account.payment.line.tree (account_cash_discount_payment) | account.payment.line | tree | Inherits account_payment_order.account_payment_line_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
discount_amountMonetaryreadonly=Truerelated='move_id.discount_amount' -
discount_due_dateDatereadonly=Truerelated='move_id.discount_due_date'
No public methods.
New fields (5)
-
discount_amountMonetaryreadonly=Truerelated='move_line_id.move_id.real_discount_amount' -
discount_due_dateDatereadonly=Truerelated='move_line_id.move_id.discount_due_date' -
pay_with_discountBooleandefault=False -
pay_with_discount_allowedBooleancompute='_compute_pay_with_discount_allowed' -
toggle_pay_with_discount_allowedBooleancompute='_compute_toggle_pay_with_discount_allowed'
-
toggle_pay_with_discount(self)
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'))]
-
move_line_filters_change(self)@api.onchange('date_type', 'move_date', 'due_date', 'journal_ids', 'invoice', 'target_move', 'allow_blocked', 'payment_mode', 'cash_discount_date')
Loading…
Loading…