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
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

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…

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)