Account Payment Invoice Selection Shortcut
account_payment_shortcut · OCA/bank-payment
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 128 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 6.1
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.01 MB
Module directory on disk
Code analysis
3 migration notes
1 model
0 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
payment_order_create— Class 'payment_order_create' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · 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
When composing a payment order, select all candidates by default (in the second step of the "Select invoices to pay" wizard).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (1)-
default_get(self, cr, uid, fields_list, context=None)Automatically add the candidate move lines to the payment order, instead of only applying them to the domain. We make use of the fact that the search_entries method passes an action without a res_id so that a new instance is created. Inject the line_ids, which have been placed in the context at object creation time.
Loading…