Account Invoice - Change Currency

account_invoice_change_currency
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/16.0/account_invoice_change_currency
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Vauxoo, Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Vauxoo, Komit Consulting
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Luis J. Salvatierra, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_move_form account.move.form.inherit account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (3)
  • custom_rate Float
    compute='_compute_currency_change_rate' default=1 digits=(12, 6) help='Set new currency rate to apply on the invoice.\nThis rate will be taken in order to convert amounts between the currency on the invoice and last currency' readonly=False store=True
  • is_original_currency Boolean
    compute='_compute_is_original_currency' help='Check if current currency is the original currency. This is used to hide custom rate field in the form view.'
  • original_currency_id Many2one → res.currency
    help='Store the original currency when the invoice is created or the conversion is called for the first time. This is used to calculate conversion from this currency.' args: 'res.currency'
Public methods (2)
  • action_account_change_currency(self)
    This method convert the original price unit from the original currency when the invoice was created to the current currency using the custom rate and recompute all taxes.
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • original_price_unit Monetary
    help='Store price unit from every line when the invoice is created or the conversion is called for the first time to use it to convert the amount in the new currency.'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/15.0/account_invoice_change_currency
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Vauxoo, Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Vauxoo, Komit Consulting
COMMITTERS
COMMITTERSGitHub, OCA Transbot, Weblate, OCA-git-bot, rolandojduartem, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_move_form account.move.form.inherit account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (3)
  • custom_rate Float
    compute='_compute_currency_change_rate' default=1 digits=(12, 6) help='Set new currency rate to apply on the invoice.\nThis rate will be taken in order to convert amounts between the currency on the invoice and last currency' readonly=False store=True
  • is_original_currency Boolean
    compute='_compute_is_original_currency' help='Check if current currency is the original currency. This is used to hide custom rate field in the form view.'
  • original_currency_id Many2one → res.currency
    help='Store the original currency when the invoice is created or the conversion is called for the first time. This is used to calculate conversion from this currency.' args: 'res.currency'
Public methods (2)
  • action_account_change_currency(self)
    This method convert the original price unit from the original currency when the invoice was created to the current currency using the custom rate and recompute all taxes.
  • create(self, values)
    @api.model

New fields (1)
  • original_price_unit Monetary
    help='Store price unit from every line when the invoice is created or the conversion is called for the first time to use it to convert the amount in the new currency.'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/14.0/account_invoice_change_currency
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Vauxoo, Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Vauxoo, Komit Consulting
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, rolandojduartem, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_move_form account.move.form.inherit account.move xpath Inherits account.view_move_form
Models touched (3)

New fields (3)
  • custom_rate Float
    compute='_compute_currency_change_rate' default=1 digits=(12, 6) help='Set new currency rate to apply on the invoice.\nThis rate will be taken in order to convert amounts between the currency on the invoice and last currency' readonly=False store=True
  • is_original_currency Boolean
    compute='_compute_is_original_currency' help='Check if current currency is the original currency. This is used to hide custom rate field in the form view.'
  • original_currency_id Many2one → res.currency
    help='Store the original currency when the invoice is created or the conversion is called for the first time. This is used to calculate conversion from this currency.' args: 'res.currency'
Public methods (2)
  • action_account_change_currency(self)
    This method convert the original price unit from the original currency when the invoice was created to the current currency using the custom rate and recompute all taxes.
  • create(self, values)
    @api.model

New fields (1)
  • original_price_unit Monetary
    help='Store price unit from every line when the invoice is created or the conversion is called for the first time to use it to convert the amount in the new currency.'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/account_invoice_change_currency
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Komit Consulting
COMMITTERS
COMMITTERSmreficent, Luis Torres, Hugo Adan, OCA Transbot, Moises Lopez - https://www.vauxoo.com/, oca-travis, Weblate, OCA-git-bot, Simone Rubino
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_form_inherit account.invoice.form.inherit account.invoice field Inherits account.invoice_form
account_invoice_supplier_form_inherit account.invoice.supplier.form.inherit account.invoice xpath Inherits account.invoice_supplier_form
Models touched (1)

New fields (1)
  • custom_rate Float
    default=1 digits=(12, 6) help='Set new currency rate to apply on the invoice\n.This rate will be taken in order to convert amounts between the currency on the invoice and last currency'
Public methods (5)
  • action_account_change_currency(self)
    @api.multi
  • create(self, values)
    @api.model
  • get_force_rate_state(self)
    @api.multi
  • get_last_currency_id(self, skip_update_currency=False)
    @api.multi
  • get_last_rate(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/11.0/account_invoice_change_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Komit Consulting
COMMITTERS
COMMITTERSHugo Adan, OCA Transbot, Moises Lopez - https://www.vauxoo.com/, oca-travis, OCA-git-bot, Duc Dao
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_invoice_form_inherit account.invoice.form.inherit account.invoice field Inherits account.invoice_form
account_invoice_supplier_form_inherit account.invoice.supplier.form.inherit account.invoice xpath Inherits account.invoice_supplier_form
Models touched (1)

New fields (1)
  • custom_rate Float
    default=1 digits=(12, 6) help='Set new currency rate to apply on the invoice\n.This rate will be taken in order to convert amounts between the currency on the invoice and last currency'
Public methods (5)
  • action_account_change_currency(self)
    @api.multi
  • create(self, values)
    @api.model
  • get_force_rate_state(self)
    @api.multi
  • get_last_currency_id(self, skip_update_currency=False)
    @api.multi
  • get_last_rate(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/10.0/account_invoice_change_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Komit Consulting
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Komit Consulting
COMMITTERS
COMMITTERSStefan Rijnhart, Akim Juillerat, oca-travis, OCA-git-bot, François Honoré, Duc Dao
WEBSITE
WEBSITEhttps://komit-consulting.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_form_inherit account.invoice.form.inherit account.invoice xpath Inherits account.invoice_form
account_invoice_supplier_form_inherit account.invoice.supplier.form.inherit account.invoice xpath Inherits account.invoice_supplier_form
wizard_change_currency_form_view wizard.change.currency.form.view wizard.change.invoice.currency form New
Models touched (1)

New fields (1)
  • currency_id Many2one → res.currency
    comodel_name='res.currency' help='Choose the currency you want to change' required=True string='Currency'
Public methods (1)
  • button_change_currency(self)
    @api.multi
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-invoicing
PULL REQUEST
PULL REQUEST[18.0][MIG]account_invoice_change_currency: Migration to v18 (#2030)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-invoicing
PULL REQUEST
PULL REQUEST[13.0][MIG] account_invoice_change_currency (#2057)