Contract - Auto Payment
contract_payment_auto · OCA/contract
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 10.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
AGPL-3
No conflicts with its dependencies
Folder size
0.27 MB
Module directory on disk
Code analysis
2 migration notes
4 models
3 views
0 HTTP endpoints
Migration considerations
contract_contract_form_view— 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 · sourcecontract_template_form_view— 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 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…