| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-payment |
| GIT | |
| GIT | https://github.com/OCA/account-payment.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-payment/tree/16.0/account_payment_term_discount |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Accounting & Finance |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Open Source Integrators |
| COMMITTERS | |
| COMMITTERS | Jordi Ballester Alomar, Weblate, OCA-git-bot, oca-ci, Christopher Ormaza |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:56 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - purchase - account - base_setup - base - web - product - bus - web_tour - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form_discounts |
account.invoice.form.discount | account.move | field | Inherits account.view_move_form |
invoice_tree_discount |
account.invoice.tree.discount | account.move | field | Inherits account.view_invoice_tree |
product_template_form_view_exclude_shipping |
product_template.form.view.exclude.shipping | product.template | xpath | Inherits product.product_template_form_view |
view_account_payment_term_form |
account.payment.term.form | account.payment.register | field | Inherits account.view_account_payment_register_form |
view_payment_term_disc_form |
account.payment.term.disc.form | account.payment.term | xpath | Inherits account.view_payment_term_form |
view_payment_term_disc_tree |
account.payment.term.disc.tree | account.payment.term | field | Inherits account.view_payment_term_tree |
check_payment_discount
Boolean
compute='_compute_payment_disc'
discount_amt
Monetary
compute='_compute_discount_amt'
help='Discount amount possible with the given payment term'
store=True
args: 'Discount Possible'
discount_date
Date
compute='_compute_discount_date'
help='Compute discount on the invoice based on the payment term discount percentage.and the current date'
store=True
discount_taken
Monetary
copy=False
args: 'Discount taken'
shipping_lines_total
Monetary
compute='_compute_shipping_lines_total'
help='Exclude shipping lines total from discount if applicable in terms'
No public methods.
amount_helper
Float
required=False
string='Amount helper'
discount_amt
Monetary
store=True
invoice_id
Many2one → account.move
comodel_name='account.move'
string='Invoice'
action_create_payments(self)
default_get(self, fields)
onchange_payment_amount(self)
is_discount
Boolean
help='Check this box if this payment term has a discount. If discount is used the remaining amount of the invoice will not be paid'
string='Early Payment Discount'
is_exclude_shipping_lines
Boolean
help='Check this box if you want to exclude shipping charges from discount'
string='Exclude Shipping from Discount'
is_exclude_taxes_discount
Boolean
help='Check this box if want to exclude taxes from discount'
string='Exclude Taxes from Discount'
No public methods.
discount_expense_account_id
Many2one → account.account
help='This account will be used to post the discount on sales.'
string='Discount on Sales Account'
args: 'account.account'
discount_income_account_id
Many2one → account.account
help='This account will be used to post the discount on purchases.'
string='Discount on Purchases Account'
args: 'account.account'
is_discount
Boolean
readonly=True
related='payment_id.is_discount'
string='Early Payment Discount'
OnchangeDiscount(self)
is_exclude_shipping_amount
Boolean
help='Check this box if want to exclude shipping charges from discount'
string='Exclude Shipping Amount'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-payment |
| GIT | |
| GIT | https://github.com/OCA/account-payment.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-payment/tree/14.0/account_payment_term_discount |
| VERSION | |
| VERSION | 1.1.7 |
| CATEGORY | |
| CATEGORY | Accounting & Finance |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Open Source Integrators |
| COMMITTERS | |
| COMMITTERS | Maxime Chambreuil, Daniel Reis, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-git-bot, Atchuthan Ubendran, Raphael |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:09 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - purchase - account - base_setup - base - web - product - bus - web_tour - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form_discounts |
account.invoice.form.discount | account.move | field | Inherits account.view_move_form |
invoice_tree_discount |
account.invoice.tree.discount | account.move | field | Inherits account.view_invoice_tree |
product_template_form_view_exclude_shipping |
product_template.form.view.exclude.shipping | product.template | xpath | Inherits product.product_template_form_view |
view_account_payment_term_form |
account.payment.term.form | account.payment.register | field | Inherits account.view_account_payment_register_form |
view_payment_term_disc_form |
account.payment.term.disc.form | account.payment.term | xpath | Inherits account.view_payment_term_form |
view_payment_term_disc_tree |
account.payment.term.disc.tree | account.payment.term | field | Inherits account.view_payment_term_tree |
view_payment_term_line_disc_form |
account.payment.term.line.disc.form | account.payment.term.line | xpath | Inherits account.view_payment_term_line_form |
view_payment_term_line_disc_tree |
account.payment.term.line.disc.tree | account.payment.term.line | xpath | Inherits account.view_payment_term_line_tree |
check_payment_discount
Boolean
compute='_compute_payment_disc'
args: 'Check Payment Discount'
discount_amt
Monetary
compute='_compute_discount_amt'
help='Discount amount possible with the given payment term'
store=True
args: 'Discount Possible'
discount_date
Date
compute='_compute_discount_date'
help='Compute discount on the invoice based on the payment term discount percentage.and the current date'
store=True
args: 'Discount Date'
discount_taken
Monetary
copy=False
args: 'Discount taken'
shipping_lines_total
Monetary
compute='_compute_shipping_lines_total'
help='Exclude shipping lines total from discount if applicable in terms'
args: 'Shipping Lines Total'
No public methods.
discount_amt
Monetary
store=True
invoice_id
Many2one → account.move
comodel_name='account.move'
string='Invoice'
action_create_payments(self)
default_get(self, fields)
onchange_payment_amount(self)
is_discount
Boolean
help='Check this box if this payment term has a discount. If discount is used the remaining amount of the invoice will not be paid'
string='Early Payment Discount'
is_exclude_shipping_lines
Boolean
help='Check this box if you want to exclude shipping charges from discount'
string='Exclude Shipping from Discount'
is_exclude_taxes_discount
Boolean
help='Check this box if want to exclude taxes from discount'
string='Exclude Taxes from Discount'
No public methods.
discount
Float
digits=(4, 2)
args: 'Discount (%)'
discount_days
Integer
discount_expense_account_id
Many2one → account.account
help='This account will be used to post the discount on sales.'
string='Discount on Sales Account'
args: 'account.account'
discount_income_account_id
Many2one → account.account
help='This account will be used to post the discount on purchases.'
string='Discount on Purchases Account'
args: 'account.account'
is_discount
Boolean
readonly=True
related='payment_id.is_discount'
string='Early Payment Discount'
OnchangeDiscount(self)
is_exclude_shipping_amount
Boolean
help='Check this box if want to exclude shipping charges from discount'
string='Exclude Shipping Amount'
No public methods.