Fix register payment wizard with 'payment' module
payment_fix_register_token · odoo/odoo
Merged into payment in 15.0
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 63 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis
1 migration note
1 model
1 view
0 HTTP endpoints
Migration considerations
view_account_payment_register_form_inherit_payment— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 0
No HTTP endpoints found for this module.
Models touched 1
New fields (3)
-
payment_method_codeCharrelated='payment_method_id.code' -
payment_token_idMany2one → payment.tokencomodel_name='payment.token'compute='_compute_payment_token_id'domain="[\n (payment_method_code == 'electronic', '=', 1),\n ('company_id', '=', company_id),\n ('acquirer_id.capture_manually', '=', False),\n ('acquirer_id.journal_id', '=', journal_id),\n ('partner_id', 'in', suitable_payment_token_partner_ids),\n ]"help='Note that tokens from acquirers set to only authorize transactions (instead of capturing the amount) are not available.'readonly=Falsestore=Truestring='Saved payment token' -
suitable_payment_token_partner_idsMany2many → res.partnercomodel_name='res.partner'compute='_compute_suitable_payment_token_partner_ids'
No public methods.