TIP: You can type at any time to perform a new search.
Fix register payment wizard with 'payment' module
payment_fix_register_token · odoo/odoo
Security findings
Migration considerations
view_account_payment_register_form_inherit_payment— For a target of Odoo 17.0+: view 'view_account_payment_register_form_inherit_payment' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Hidden
- Folder size
- 0.01 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-08-07 05:19:52
- Authors
- Maintainers
- None
- Committers
- Laurent Smet, Xavier-Do, Antoine Vandevenne (anv)
Code Analysis
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.