OdooWiki OCA HUB

Romania - Invoice Edit Currency Rate

l10n_ro_account_edit_currency_rate folder_open OCA/l10n-romania open_in_new
Localization License: AGPL-3

This module allows to edit the currency rate used to compute the debit/credit for invoice lines.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

For Romanian companies, this module lets you change the currency rate directly on a draft invoice and automatically recalculates the unit prices of the invoice lines, including lines coming from sales orders and down payments.

This module is meant for companies whose country is Romania. It changes how the currency rate field behaves on customer invoices and how invoice line prices are recalculated when that rate changes.

  • On the invoice form, the currency rate field becomes editable while the invoice is still in draft (for Romanian companies); for other countries it stays read-only once the invoice is no longer draft.
  • When you change the currency, the invoice date or the currency rate, the unit price of each invoice line is recomputed automatically. The calculation keeps the original price in the company currency and converts it using the new rate, so the debit and credit amounts stay consistent.
  • If the invoice lines come from a sales order, the module uses the sales order line price as the base. If you switch back to the sales order currency, the original sales order price is restored.
  • Down payment lines are handled specially: if a posted invoice already exists for that down payment, its price is reused (converted if needed); otherwise the sales order price is used.
  • The module also adjusts how the price of a down payment line is computed on sales orders for Romanian companies, converting amounts from previous invoices back into the sales order currency.

It touches the invoice (account.move) and sales order line (sale.order.line) models and adds no new menus or reports.

Depends on

accountsale_management
Models and fields (2)
  • account.move · extends an existing model
  • sale.order.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/l10n-romania.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.