| 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_financial_discount |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Account |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Akim Juillerat, Weblate, OCA-git-bot, oca-ci |
| 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 |
|---|---|---|---|---|
report_payment_receipt_document |
report_payment_receipt_document | ir.ui.view | qweb | Inherits account.report_payment_receipt_document |
view_account_config_settings |
account settings | res.config.settings | xpath | Inherits account.res_config_settings_view_form |
view_account_invoice_filter_inherit |
account.invoice.select.inherit | account.move | xpath | Inherits account.view_account_invoice_filter |
view_account_payment_register_form_inherit |
account.payment.register.form.inherit | account.payment.register | xpath | Inherits account.view_account_payment_register_form |
view_account_reconcile_model_form |
account.reconcile.model.form | account.reconcile.model | field | Inherits account.view_account_reconcile_model_form |
view_invoice_tree_inherit |
account.invoice.tree.inherit | account.move | field | Inherits account.view_invoice_tree |
view_move_form_inherit |
account.move.form.inherit | account.move | xpath | Inherits account.view_move_form |
view_payment_term_form |
account.payment.term.form | account.payment.term | xpath | Inherits account.view_payment_term_form |
display_force_financial_discount
Boolean
compute='_compute_financial_discount_data'
force_financial_discount
Boolean
default=False
help='If marked, financial discount will be applied even if the discount date is passed'
args: 'Force financial discount'
has_discount_available
Boolean
compute='_compute_financial_discount_data'
search='_search_has_financial_discount'
args: 'Has discount available'
No public methods.
amount_discount
Monetary
currency_field='company_currency_id'
default=0.0
args: 'Financial Discount amount in company currency'
amount_discount_currency
Monetary
default=0.0
args: 'Financial Discount amount in an optional other currency if it is a multi-currency entry.'
amount_discount_tax
Monetary
currency_field='company_currency_id'
default=0.0
date_discount
Date
discount_tax_line_id
Many2one → account.move.line
index=True
args: 'account.move.line'
No public methods.
force_financial_discount
Boolean
help='Force financial discount even if the date is past and the flag is not set on the invoices.\nNote that financial discounts will be applied for invoices havingthe flag set, even if this checkbox is not marked.'
string='Apply Financial Discount Past Date'
payment_method_id
Many2one
compute='_compute_payment_method_id'
show_force_financial_discount
Boolean
compute='_compute_show_force_financial_discount'
with_financial_discount
Boolean
compute='_compute_with_financial_discount'
No public methods.
days_discount
Integer
percent_discount
Float
calc_discount_date(self, date_ref=False)
write(self, values)
apply_financial_discounts
Boolean
string='Consider financial discounts'
financial_discount_expense_account_id
Many2one → account.account
readonly=False
related='company_id.financial_discount_expense_account_id'
string='Expense write-off account'
args: 'account.account'
financial_discount_label
Char
default='Financial discount'
string='Write-off label'
financial_discount_revenue_account_id
Many2one → account.account
readonly=False
related='company_id.financial_discount_revenue_account_id'
string='Revenue write-off account'
args: 'account.account'
financial_discount_tolerance
Float
help='Tolerance for the application of financial discounts. Use 0.05 toapply discount up to a difference of 5 cts between statement lineand move lines.'
No public methods.
financial_discount_expense_account_id
Many2one → account.account
string='Financial discount writeoff expense account'
args: 'account.account'
financial_discount_revenue_account_id
Many2one → account.account
string='Financial discount writeoff revenue account'
args: 'account.account'
No public methods.
financial_discount_expense_account_id
Many2one → account.account
readonly=False
related='company_id.financial_discount_expense_account_id'
string='Financial discount expense write-off account'
args: 'account.account'
financial_discount_revenue_account_id
Many2one → account.account
readonly=False
related='company_id.financial_discount_revenue_account_id'
string='Financial discount revenue write-off account'
args: 'account.account'
No public methods.