TIP: You can type at any time to perform a new search.
Account Invoice - Change Currency
account_invoice_change_currency · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Accounting & Finance
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoicing
- Last tracking update
- 2026-08-07 08:09:10
- Authors
- Vauxoo, Odoo Community Association (OCA), Komit Consulting
- Maintainers
- Vauxoo, Odoo Community Association (OCA), Komit Consulting
- Committers
- Weblate, OCA-git-bot, Luis J. Salvatierra, oca-ci
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_move_form |
account.move.form.inherit | account.move | form | Inherits account.view_move_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (3)
-
custom_rateFloatcompute='_compute_currency_change_rate'default=1digits=(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=Falsestore=True -
is_original_currencyBooleancompute='_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_idMany2one → res.currencyhelp='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'
-
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_unitMonetaryhelp='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.'
-
create(self, vals_list)@api.model_create_multi
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks running
- Open since
- 404 days ago
- Last activity
- 11 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [13.0][MIG] account_invoice_change_currency (#2057)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks running
- Open since
- 429 days ago
- Last activity
- 18 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [18.0][MIG]account_invoice_change_currency: Migration to v18 (#2030)