| 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_cash_discount_base |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, OCA-git-bot, dsolanki |
| 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: - 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 |
|---|---|---|---|---|
account_move_form |
account.move.form (account_cash_discount_base) | account.move | xpath | Inherits account.view_move_form |
account_move_tree_view |
account.move.tree (in account_cash_discount_base) | account.move | field | Inherits account.view_invoice_tree |
account_payment_term_form_view |
account.payment.term.form (in account_cash_discount_base) | account.payment.term | field | Inherits account.view_payment_term_form |
report_invoice_document_inherit |
report_invoice_document_inherit | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_company_form_view |
res.company.form (in account_cash_discount_base) | res.company | xpath | Inherits base.view_company_form |
amount_total_with_discount
Monetary
compute='_compute_amount_total_with_discount'
store=True
string='Total (with discount)'
discount_amount
Monetary
compute='_compute_discount_amount'
store=True
discount_base_date
Date
compute='_compute_discount_base_date'
discount_delay
Integer
readonly=True
states=READONLY_STATES
string='Discount Delay (days)'
discount_due_date
Date
readonly=True
states=READONLY_STATES
discount_due_date_readonly
Date
compute='_compute_discount_due_date'
discount_percent
Float
digits='Discount'
readonly=True
states=READONLY_STATES
string='Discount (%)'
has_discount
Boolean
compute='_compute_has_discount'
store=True
is_cash_discount_allowed
Boolean
compute='_compute_is_cash_discount_allowed'
real_discount_amount
Monetary
compute='_compute_real_discount_amount'
string='Discount amount (minus related refunds amount)'
refunds_discount_amount
Monetary
compute='_compute_refunds_discount_amount'
store=True
residual_with_discount
Monetary
compute='_compute_residual_with_discount'
action_post(self)
discount_delay
Integer
string='Discount Delay (days)'
discount_percent
Float
digits='Discount'
string='Discount (%)'
No public methods.
cash_discount_base_amount_type
Selection
default='untaxed'
required=True
selection='_get_cash_discount_base_amount_types'
cash_discount_use_tax_adjustment
Boolean
compute='_compute_cash_discount_tax_adjustment'
store=True
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/13.0/account_cash_discount_base |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, François Honoré, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:19 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - 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 |
|---|---|---|---|---|
account_move_form |
account.move.form (account_cash_discount_base) | account.move | xpath | Inherits account.view_move_form |
account_move_tree_view |
account.move.tree (in account_cash_discount_base) | account.move | field | Inherits account.view_invoice_tree |
account_payment_term_form_view |
account.payment.term.form (in account_cash_discount_base) | account.payment.term | field | Inherits account.view_payment_term_form |
report_invoice_document_inherit |
report_invoice_document_inherit | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_company_form_view |
res.company.form (in account_cash_discount_base) | res.company | xpath | Inherits base.view_company_form |
amount_total_with_discount
Monetary
compute='_compute_amount_total_with_discount'
store=True
string='Total (with discount)'
discount_amount
Monetary
compute='_compute_discount_amount'
store=True
discount_base_date
Date
compute='_compute_discount_base_date'
discount_delay
Integer
readonly=True
states=READONLY_STATES
string='Discount Delay (days)'
discount_due_date
Date
readonly=True
states=READONLY_STATES
discount_due_date_readonly
Date
compute='_compute_discount_due_date'
discount_percent
Float
digits='Discount'
readonly=True
states=READONLY_STATES
string='Discount (%)'
has_discount
Boolean
compute='_compute_has_discount'
store=True
is_cash_discount_allowed
Boolean
compute='_compute_is_cash_discount_allowed'
real_discount_amount
Monetary
compute='_compute_real_discount_amount'
string='Discount amount (minus related refunds amount)'
refunds_discount_amount
Monetary
compute='_compute_refunds_discount_amount'
store=True
residual_with_discount
Monetary
compute='_compute_residual_with_discount'
action_post(self)
discount_delay
Integer
string='Discount Delay (days)'
discount_percent
Float
digits='Discount'
string='Discount (%)'
No public methods.
cash_discount_base_amount_type
Selection
default='untaxed'
required=True
selection='_get_cash_discount_base_amount_types'
cash_discount_use_tax_adjustment
Boolean
compute='_compute_cash_discount_tax_adjustment'
store=True
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/10.0/account_cash_discount_base |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | oca-travis, OCA-git-bot, Benjamin Willig |
| WEBSITE | |
| WEBSITE | https://github.com/acsone/account-payment |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:20:01 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - web_tour - report - analytic - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_payment_term_form_view |
account.payment.term.form (in account_cash_discount_base) | account.payment.term | field | Inherits account.view_payment_term_form |
invoice_supplier_form_inherit |
account.invoice.supplier.form (account_cash_discount_base) | account.invoice | xpath | Inherits account.invoice_supplier_form |
report_invoice_document_inherit |
report_invoice_document_inherit | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_company_form_view |
res.company.form (in account_cash_discount_base) | res.company | xpath | Inherits base.view_company_form |
amount_total_with_discount
Monetary
compute='_compute_amount_total_with_discount'
store=True
string='Total (with discount)'
discount_amount
Monetary
compute='_compute_discount_amount'
store=True
discount_base_date
Date
compute='_compute_discount_base_date'
discount_delay
Integer
readonly=True
states=READONLY_STATES
string='Discount Delay (days)'
discount_due_date
Date
readonly=True
states=READONLY_STATES
discount_due_date_readonly
Date
compute='_compute_discount_due_date'
string='Discount Due Date'
discount_percent
Float
digits=dp.get_precision('Discount')
readonly=True
states=READONLY_STATES
string='Discount (%)'
has_discount
Boolean
compute='_compute_has_discount'
store=True
real_discount_amount
Monetary
compute='_compute_real_discount_amount'
string='Discount amount (minus related refunds amount)'
refunds_discount_amount
Monetary
compute='_compute_refunds_discount_amount'
store=True
residual_with_discount
Monetary
compute='_compute_residual_with_discount'
action_move_create(self)
refund(self, date_invoice=None, date=None, description=None, journal_id=None)
discount_delay
Integer
string='Discount Delay (days)'
discount_percent
Float
digits=dp.get_precision('Discount')
string='Discount (%)'
No public methods.
cash_discount_base_amount_type
Selection
default='untaxed'
required=True
selection='_get_cash_discount_base_amount_types'
cash_discount_use_tax_adjustment
Boolean
compute='_compute_cash_discount_tax_adjustment'
store=True
No public methods.