Account Invoice Payment Retention
account_invoice_payment_retention · OCA/account-invoicing
Health
54/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 34 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 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
AGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis
3 migration notes
5 models
3 views
0 HTTP endpoints
Migration considerations
res_config_settings_view_form— 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 · sourceview_account_payment_register_form— 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 · sourceview_move_form— 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 |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings | form | Inherits account.res_config_settings_view_form | |
view_account_payment_register_form |
account.payment.register.form | account.payment.register | form | Inherits account.view_account_payment_register_form |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (7)
-
amount_retentionFloathelp='Retention in percent of this invoice, or by amount'readonly=Truestates={'draft': [('readonly', False)]}string='Retention' -
domain_retained_move_idsMany2many → account.movecolumn1='move_id'column2='retained_id'comodel_name='account.move'copy=Falsereadonly=Truerelation='account_move_domain_retained_rel' -
payment_retentionSelectionhelp='Suggested retention amount to be withheld on payment.\nNote: as a suggestiong, during payment, user can ignore it.'readonly=Trueselection=[('percent', 'Percent'), ('amount', 'Amount')]states={'draft': [('readonly', False)]} -
retained_move_idsMany2many → account.movecolumn1='invoice_id'column2='move_id'comodel_name='account.move'copy=Falsereadonly=Truerelation='account_invoice_move_rel'states={'draft': [('readonly', False)]}string='Return Retention' -
retention_amount_currencyMonetarycompute='_compute_retention_amount_currency'help='Based on retention type, this field show the amount to retain.'store=Truestring='Retention Amount' -
retention_methodSelectiondefault=<expr>help='Method for computing the retention\n- Untaxed Amount: The retention compute from the untaxed amount\n- Total: The retention compute from the total amount'readonly=Trueselection=[('untax', 'Untaxed Amount'), ('total', 'Total')]states={'draft': [('readonly', False)]} -
retention_residual_currencyMonetarycompute='_compute_retention_residual_currency'string='Retention Residual'
-
action_post(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
apply_payment_retentionBooleanstring='Apply Retention' -
enforce_payment_retentionBooleandefault=Truehelp='Enforce retention amount as suggested, otherwise, user can ignore the retention.'string='Enforce Retention' -
retention_amount_currencyMonetarycompute='_compute_retention_amount_currency'help='Expected amount to retain on payment currency'store=Truestring='Suggested Retention'
-
action_create_payments(self)
New fields (3)
-
retention_account_idMany2one → account.accountcomodel_name='account.account'domain=[('account_type', 'not in', ['asset_receivable', 'asset_cash', 'liability_payable'])]help='Retention account used for case payment retention' -
retention_methodSelectiondefault='untax'help='Method for computing the retention\n- Untaxed Amount: The retention compute from the untaxed amount\n- Total: The retention compute from the total amount'selection=[('untax', 'Untaxed Amount'), ('total', 'Total')] -
retention_receivable_account_idMany2one → account.accountcomodel_name='account.account'domain=[('account_type', 'not in', ['asset_receivable', 'asset_cash', 'liability_payable'])]help='Retention account used for case payment retention'
No public methods.
New fields (4)
-
group_payment_retentionBooleanimplied_group='account_invoice_payment_retention.group_payment_retention'string="Enable Invoice's Retention on Payment" -
retention_account_idMany2one → account.accountcomodel_name='account.account'help='Retention account used for case payment retention'readonly=Falserelated='company_id.retention_account_id' -
retention_methodSelectionhelp='Method for computing the retention\n- Untaxed Amount: The retention compute from the untaxed amount\n- Total: The retention compute from the total amount'readonly=Falserelated='company_id.retention_method'string='Retention Method' -
retention_receivable_account_idMany2one → account.accountcomodel_name='account.account'help='Retention receivable account used for case payment retention'readonly=Falserelated='company_id.retention_receivable_account_id'
No public methods.
Loading…
Loading…
Loading…