Account force early payment discount

account_force_early_discount
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/18.0/account_force_early_discount
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits account.view_account_payment_register_form
view_move_form_inherit account.move.form.inherit account.move xpath Inherits account.view_move_form
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.