Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_manual_currency

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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

New fields (6)
  • currency_diff Boolean
    compute='_compute_currency_diff' store=True
  • is_manual Boolean
    compute='_compute_currency'
  • manual_currency Boolean
  • manual_currency_rate Float
    digits='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_currency Monetary
    compute='_compute_total_company_currency' currency_field='company_currency_id'
  • type_currency Selection
    default=<expr> selection=<expr>
Public methods (2)
  • action_refresh_currency(self)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Change string name to company currency

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • currency_diff Boolean
    compute='_compute_currency_diff' store=True
  • manual_currency Boolean
  • manual_currency_rate Float
    digits='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_currency Selection
    selection=<expr>
Public methods (1)
  • default_get(self, fields_list)
    @api.model

Loading…

Loading…