Repository
OCA/bank-payment · module folder · Try on Runboat
Module version
1.1
Category
Accounting
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 06:56:13
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Alexandre Fayolle, OCA Transbot, vrenaville
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Payment Order
==================

Add improved move line selection for multi-currency

Contributors
------------

* Vincent revaville <vincent.renaville@camptocamp.com>

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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