Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 43 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 10.0

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

Security findings
Grave / minor (static analysis)
Required by
0
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.09 MB
Module directory on disk
Code analysis 2 migration notes 3 models 1 view 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 1

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

Loading…

Loading…

Loading…

Loading…

Loading…