Payment Order Extension
account_payment_multicurrency_extension · OCA/bank-payment
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 141 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.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.01 MB
Module directory on disk
Code analysis
4 migration notes
2 models
2 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. (2 occurrences in this file) migration-old-api-base · sourceview_move_line_tree_payment— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
Payment Order
Add improved move line selection for multi-currency
Contributors
- Vincent revaville vincent.renaville@camptocamp.com
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_create_payment_order_lines_over |
payment.order.create.form.over | payment.order.create | form | Inherits account_payment.view_create_payment_order_lines |
view_move_line_tree_payment |
account.move.line.tree.payment | account.move.line | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
create(self, cr, uid, vals, context=None)In case of multi currency we use amount_residual_currency instead of amount_to_pay
New fields (0)
No new fields.
Public methods (1)-
create_payment(self, cr, uid, ids, context=None)We add is_multi_currency tag to be able set 'amount_currency': line.amount_residual_currency instead of 'amount_currency': line.amount_to_pay To be compliant with multi currency Already corrected in V8 but will not be corrected in V7