Payment Order Extension

account_payment_multicurrency_extension
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/7.0/account_payment_multicurrency_extension
VERSION
VERSION 1.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle, OCA Transbot, vrenaville
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits account_payment.view_create_payment_order_lines
view_move_line_tree_payment account.move.line.tree.payment account.move.line tree New
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