TIP: You can type at any time to perform a new search.
Payment - Account
account_payment · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 2.0
- Category
- Accounting/Accounting
- Folder size
- 1.89 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-08-15 22:44:17
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier ALT, Raphael Collet, Odoo Translation Bot, qdp-odoo, Géry Debongnie, Julien Castiaux, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Antoine Vandevenne (anv), Valentin Chevalier, Louis Wicket (wil), alsh-odoo, Gaetan Vanden Bergh (gavb), Thomas Becquevort (thbe), Andrew Gavgavian, Levi Siuzdak (sile), Naman Shah, hupo-odoo, Dylan Kiss (dyki), Camille Spiritus, Valeriya(vchu), Vivek Pathak, mega, Louis Gobert, Patricia Daloze (pda), Claire (clbr), Rocío Vega, gteboul, Victor Miguel Armenta Carrillo, Pierre Lamotte (pila), ppat-odoo, Shrey Mehta, Christihan Laurel [Vauxoo], Krzysztof Magusiak (krma), nape-odoo, Hazem Ibrahim, utma-odoo, bhra-odoo, Earth Patel, igbe, Jeanne Delneste, Manav Shah, Nisarg (nipl), Andrii Kompaniiets, mson-odoo
Code Analysis ⓘ
Views touched (20)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_view_form_inherit_payment |
account.move.view.form.inherit.payment | account.move | form | Inherits account.view_move_form |
account_payment.form |
Invoice Payment Form | ir.ui.view | qweb | Inherits payment.form |
account_payment.portal_docs_entry |
account_payment.portal_docs_entry | ir.ui.view | qweb | Inherits portal.portal_docs_entry |
payment_link_wizard__form_inherit_account_payment |
payment.link.wizard.form.inherit.account_payment | payment.link.wizard | form | Inherits payment.payment_link_wizard_view_form |
payment_provider_form |
payment.provider.form | payment.provider | form | Inherits payment.payment_provider_form |
payment_refund_wizard_view_form |
payment.refund.wizard.form | payment.refund.wizard | form | New |
payment_transaction_form |
payment.transaction.form | payment.transaction | form | Inherits payment.payment_transaction_form |
portal_invoice_error |
Invoice error display: payment errors | ir.ui.view | qweb | Inherits account.portal_invoice_error |
portal_invoice_page_inherit_payment |
Payment on My Invoices | ir.ui.view | qweb | Inherits account.portal_invoice_page |
portal_invoice_payment |
Invoice Payment | ir.ui.view | qweb | New |
portal_invoice_payment_paid |
Invoice Paid | ir.ui.view | qweb | New |
portal_invoice_success |
Invoice success display: payment success | ir.ui.view | qweb | Inherits account.portal_invoice_success |
portal_my_home_account_payment |
Overdue invoices | ir.ui.view | qweb | Inherits portal.portal_my_home |
portal_my_home_overdue_invoice |
Portal layout: overdue invoices | ir.ui.view | qweb | Inherits portal.portal_breadcrumbs |
portal_my_invoices_payment |
Payment on My Invoices | ir.ui.view | qweb | Inherits account.portal_my_invoices |
portal_overdue_invoices_page |
Overdue payments | ir.ui.view | qweb | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.account | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_account_journal_form |
account.journal.form.inherit.payment | account.journal | form | Inherits account.view_account_journal_form |
view_account_payment_form_inherit_payment |
view.account.payment.form.inherit.payment | account.payment | form | Inherits account.view_account_payment_form |
view_account_payment_register_form_inherit_payment |
account.payment.register.form.inherit.payment | account.payment.register | form | Inherits account.view_account_payment_register_form |
HTTP endpoints (5)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/invoice/transaction/<int:invoice_id> |
PaymentPortal.invoice_transaction |
public | jsonrpc | ALL | |
/invoice/transaction/overdue |
PaymentPortal.overdue_invoices_transaction |
public | jsonrpc | ALL | |
| (inherited route override) | PaymentPortal.payment_pay |
inherited | http | ALL | sudo |
| (inherited route override) | PortalAccount.portal_my_invoice_detail |
inherited | http | ALL | |
/my/invoices/overdue |
PortalAccount.portal_my_overdue_invoices |
public | http | GET | website |
Models touched (12)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
amount_paidMonetarycompute='_compute_amount_paid'string='Amount paid' -
authorized_transaction_idsMany2many → payment.transactioncomodel_name='payment.transaction'compute='_compute_authorized_transaction_ids'compute_sudo=Truecopy=Falsereadonly=Truestring='Authorized Transactions' -
transaction_countIntegercompute='_compute_transaction_count'string='Transaction Count' -
transaction_idsMany2many → payment.transactioncolumn1='invoice_id'column2='transaction_id'comodel_name='payment.transaction'copy=Falsereadonly=Truerelation='account_invoice_transaction_rel'string='Transactions'
-
action_view_payment_transactions(self) -
get_portal_last_transaction(self)@api.private -
payment_action_capture(self)Capture all transactions linked to this invoice. -
payment_action_void(self)Void all transactions linked to this invoice.
New fields (7)
-
amount_available_for_refundMonetarycompute='_compute_amount_available_for_refund' -
payment_token_idMany2one → payment.tokencomodel_name='payment.token'domain="[\n ('id', 'in', suitable_payment_token_ids),\n ]"help='Note that only tokens from providers allowing to capture the amount are available.'string='Saved Payment Token' -
payment_transaction_idMany2one → payment.transactionbypass_search_access=Truecomodel_name='payment.transaction'readonly=Truestring='Payment Transaction' -
refunds_countIntegercompute='_compute_refunds_count'string='Refunds Count' -
source_payment_idMany2one → account.paymentcomodel_name='account.payment'help='The source payment of related refund payments'index='btree_not_null'readonly=Truerelated='payment_transaction_id.source_transaction_id.payment_id'store=Truestring='Source Payment' -
suitable_payment_token_idsMany2many → payment.tokencomodel_name='payment.token'compute='_compute_suitable_payment_token_ids'compute_sudo=True -
use_electronic_payment_methodBooleancompute='_compute_use_electronic_payment_method'
-
action_post(self) -
action_refund_wizard(self) -
action_view_refunds(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
payment_provider_idMany2one → payment.providercomodel_name='payment.provider'compute='_compute_payment_provider_id'domain="[('code', '=', code)]"readonly=Falsestore=True -
payment_provider_stateSelectionrelated='payment_provider_id.state'
-
action_open_provider_form(self)
New fields (3)
-
payment_token_idMany2one → payment.tokencomodel_name='payment.token'compute='_compute_payment_token_id'domain="[\n ('id', 'in', suitable_payment_token_ids),\n ]"help='Note that tokens from providers set to only authorize transactions (instead of capturing the amount) are not available.'readonly=Falsestore=Truestring='Saved payment token' -
suitable_payment_token_idsMany2many → payment.tokencomodel_name='payment.token'compute='_compute_suitable_payment_token_ids' -
use_electronic_payment_methodBooleancompute='_compute_use_electronic_payment_method'
No public methods.
New fields (7)
-
discount_dateDate -
display_open_installmentsBooleancompute='_compute_display_open_installments' -
epd_infoCharcompute='_compute_epd_info'string='Early Payment Discount Information' -
has_eligible_epdBoolean -
invoice_amount_dueMonetarycompute='_compute_invoice_amount_due'currency_field='currency_id'string='Amount Due' -
open_installmentsJsonexport_string_translation=False -
open_installments_previewHtmlcompute='_compute_open_installments_preview'export_string_translation=False
No public methods.
New fields (1)
-
journal_idMany2one → account.journalcheck_company=Truecomodel_name='account.journal'compute='_compute_journal_id'copy=Falsedomain='[("type", "=", "bank")]'help='The journal in which the successful transactions are posted.'inverse='_inverse_journal_id'string='Payment Journal'
No public methods.
New fields (9)
-
amount_available_for_refundMonetaryrelated='payment_id.amount_available_for_refund'string='Maximum Refund Allowed' -
amount_to_refundMonetarycompute='_compute_amount_to_refund'readonly=Falsestore=Truestring='Refund Amount' -
currency_idMany2onerelated='transaction_id.currency_id'string='Currency' -
has_pending_refundBooleancompute='_compute_has_pending_refund'string='Has a pending refund' -
payment_amountMonetaryrelated='payment_id.amount'string='Payment Amount' -
payment_idMany2one → account.paymentcomodel_name='account.payment'default=<expr>readonly=Truestring='Payment' -
refunded_amountMonetarycompute='_compute_refunded_amount'string='Refunded Amount' -
support_refundSelectioncompute='_compute_support_refund'selection=[('none', 'Unsupported'), ('full_only', 'Full Only'), ('partial', 'Partial')]string='Refund' -
transaction_idMany2onerelated='payment_id.payment_transaction_id'string='Payment Transaction'
-
action_refund(self)
New fields (3)
-
invoice_idsMany2many → account.movecolumn1='transaction_id'column2='invoice_id'comodel_name='account.move'copy=Falsedomain=[('move_type', 'in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund'))]readonly=Truerelation='account_invoice_transaction_rel'string='Invoices' -
invoices_countIntegercompute='_compute_invoices_count'string='Invoices Count' -
payment_idMany2one → account.paymentcomodel_name='account.payment'readonly=Truestring='Payment'
-
action_view_invoices(self)Return the action for the views of the invoices linked to the transaction. Note: self.ensure_one() :return: The action :rtype: dict
New fields (1)
-
pay_invoices_onlineBooleanconfig_parameter='account_payment.enable_portal_payment'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…