Account - Manual Currency
account_manual_currency · OCA/account-invoicing
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module allows users to update the currency manually for invoices that are still in the draft stage. It offers flexibility to companies when calculating currency rates for invoicing.
For example, if a company makes a deal with a vendor but the actual purchase happens on a different day, this module lets them choose whether to use the currency rate from the accounting date or a special rate agreed upon during the deal. This ensures accurate currency rate calculations for invoices, even when the purchase date and deal date differ.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_payment_register_form |
account.payment.register.form | account.payment.register | form | Inherits account.view_account_payment_register_form |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
currency_diffBooleancompute='_compute_currency_diff'store=True -
is_manualBooleancompute='_compute_currency' -
manual_currencyBoolean -
manual_currency_rateFloatdigits='Manual Currency'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 purchase order and last currency'tracking=True -
total_company_currencyMonetarycompute='_compute_total_company_currency'currency_field='company_currency_id' -
type_currencySelectiondefault=<expr>selection=<expr>
-
action_refresh_currency(self) -
get_view(self, view_id=None, view_type='form', **options)@api.modelChange string name to company currency
No new fields.
Public methods (0)No public methods.
-
currency_diffBooleancompute='_compute_currency_diff'store=True -
manual_currencyBoolean -
manual_currency_rateFloatdigits='Manual Currency'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 purchase order and last currency' -
type_currencySelectionselection=<expr>
-
default_get(self, fields_list)@api.model
Loading…
Loading…