Discount on batch payments

account_payment_batch_process_discount
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/16.0/account_payment_batch_process_discount
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_payment_batch_process
    - account_payment_term_discount
OCA/bank-payment:
    - account_payment_order
    - account_payment_partner
    - account_payment_mode
odoo/odoo:
    - account_check_printing
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES num2words
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_move_form_discount_date account.move.form.discount.date account.move field Inherits account.view_move_form
account_move_search_discount_date account.move.search.discount.date account.move xpath Inherits account.view_account_invoice_filter
Models touched (4)

New fields (1)
  • valid_discount_date Date
Public methods (1)
  • action_post(self)

New fields (0)

No new fields.

Public methods (4)
  • auto_fill_payments(self)
  • get_batch_payment_amount(self, invoice=None, payment_date=None)
  • get_invoice_payment_line(self, invoice)
  • onchange_payment_date(self)
    @api.onchange('payment_date')

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • onchange_amount(self)
    @api.onchange('amount')
  • onchange_payment_diff_handling(self)
    @api.onchange('payment_difference_handling')
    Special case: When payment diff amount is 0, payment difference handling should be in 'open' action
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/14.0/account_payment_batch_process_discount
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSGitHub, Daniel Reis, oca-travis, Weblate, OCA-git-bot, Sandip Mangukiya, Murtaza Mithaiwala, Hardik-OSI
WEBSITE
WEBSITEhttps://github.com/OCA/account-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_payment_batch_process
    - account_payment_term_discount
OCA/bank-payment:
    - account_payment_order
    - account_payment_partner
    - account_payment_mode
odoo/odoo:
    - account_check_printing
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES num2words
lxml
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_move_form_discount_date account.move.form.discount.date account.move field Inherits account.view_move_form
account_move_search_discount_date account.move.search.discount.date account.move xpath Inherits account.view_account_invoice_filter
Models touched (4)

New fields (1)
  • valid_discount_date Date
    string='Valid Discount Date'
Public methods (1)
  • action_post(self)

New fields (0)

No new fields.

Public methods (4)
  • auto_fill_payments(self)
  • get_batch_payment_amount(self, invoice=None, payment_date=None)
  • get_invoice_payment_line(self, invoice)
  • onchange_payment_date(self)
    @api.onchange('payment_date')

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • onchange_amount(self)
    @api.onchange('amount')
  • onchange_payment_diff_handling(self)
    @api.onchange('payment_difference_handling')
    Special case: When payment diff amount is 0, payment difference handling should be in 'open' action