Repository
OCA/account-payment · module folder · Try on Runboat
Module version
1.0.0
Category
Account
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 08:42:56
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Akim Juillerat, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to force early payment discounts past the validity
date of the discount set through the payment term.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_payment_register_form_inherit account.payment.register.form.inherit account.payment.register form Inherits account.view_account_payment_register_form
view_move_form_inherit account.move.form.inherit account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • display_force_early_discount Boolean
    compute='_compute_display_force_early_discount'
  • force_early_discount Boolean
    default=False help='If marked, early payment discount will be applied even if the discount date is passed' args: 'Force early payment discount'
Public methods (0)

No public methods.

New fields (3)
  • force_early_discount Boolean
    help='Force early payment discount even if the date is past and the flag is not set on the invoices.\nNote that early payment discounts will be applied for invoices havingthe flag set, even if this checkbox is not marked.' string='Apply Early Payment Discount Past Date'
  • show_force_early_discount Boolean
    compute='_compute_show_force_early_discount'
  • with_forced_early_discount Boolean
    compute='_compute_with_forced_early_discount'
Public methods (0)

No public methods.