TIP: You can type at any time to perform a new search.
Contract - Auto Payment
contract_payment_auto · OCA/contract
Security findings
Migration considerations
contract_contract_form_view— For a target of Odoo 17.0+: view 'contract_contract_form_view' 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 · sourcecontract_template_form_view— For a target of Odoo 17.0+: view 'contract_template_form_view' 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
- OCA/contract · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Contract Management
- Folder size
- 0.27 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/contract
- Last tracking update
- 2026-08-07 08:09:28
- Authors
- Odoo Community Association (OCA), LasLabs
- Maintainers
- Odoo Community Association (OCA), LasLabs
- Committers
- Weblate, OCA-git-bot, oca-ci, Ivan Vilata-i-Balaguer, louck
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
contract_contract_form_view |
Contract Auto Pay | contract.contract | form | Inherits contract.contract_contract_customer_form_view |
contract_template_form_view |
Contract Template Auto Pay | contract.template | form | Inherits contract.contract_template_form_view |
view_partner_form |
Res Partner Auto Pay | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
auto_pay_attemptsInteger -
auto_pay_failedDatetime
No public methods.
New fields (6)
-
auto_pay_retriesIntegerdefault=<expr>help='Amount times to retry failed/declined automatic payment before giving up.' -
auto_pay_retry_hoursIntegerdefault=<expr>help='Amount of hours that should lapse until a failed automatic is retried.' -
invoice_mail_template_idMany2one → mail.templatecomodel_name='mail.template'context=_context_mail_templatesdefault=<expr>domain="[('model', '=', 'account.move')]"help='During the automatic payment process, an invoice will be created and validated. If this template is selected, it will automatically be sent to the customer during this process using the defined template.'string='Invoice Message' -
is_auto_payBooleandefault=Falsehelp='Check this to enable automatic payment for invoices that are created for this contract.'string='Auto Pay?' -
pay_fail_mail_template_idMany2one → mail.templatecomodel_name='mail.template'context=_context_mail_templatesdefault=<expr>domain="[('model', '=', 'account.move')]"help='If automatic payment fails for some reason, this message will be sent to the billed partner.'string='Payment Failed Message' -
pay_retry_mail_template_idMany2one → mail.templatecomodel_name='mail.template'context=_context_mail_templatesdefault=<expr>domain="[('model', '=', 'account.move')]"help='If automatic payment fails for some reason, but will be re-attempted later, this message will be sent to the billed partner.'string='Payment Retry Message'
No public methods.
New fields (1)
-
payment_token_idMany2one → payment.tokencomodel_name='payment.token'context="{'default_partner_id': partner_id}"domain="[('partner_id', '=', partner_id)]"help="This is the payment token that will be used to automatically reconcile debts against this account. If none is set, the bill to partner's default token will be used."string='Payment Token'
-
cron_retry_auto_pay(self)@api.modelRetry automatic payments for appropriate invoices.
New fields (1)
-
payment_token_idMany2one → payment.tokencomodel_name='payment.token'domain="[('id', 'in', payment_token_ids)]"help='This is the payment token that will be used to automatically reconcile debts for this partner, if there is not one already set on the analytic account.'string='Payment Token'
No public methods.
Loading…