Account Move Line Amount Currency
account_move_line_used_currency · OCA/account-financial-tools
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 48 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
1 model
3 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move_line SET amount_used_currency = balance, used_currency_id = company_currency_id WHERE currency_id IS NULL;` - re-check the table/column names still match after upgrading. (2 occurrences in this file) migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_move_line_form |
account.move.line.form | account.move.line | form | Inherits account.view_move_line_form |
view_move_line_tree |
account.move.line.tree | account.move.line | tree | Inherits account.view_move_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (2)
-
amount_used_currencyMonetarycompute='_compute_used_currency'help="This amount is the foreign amount currency, if used, and the company currency, if no foreign currency is used. It's purposeis to allow reporting on journal items combining foreign and company currencies."store=Truestring='Amount (Used Currency)' -
used_currency_idMany2one → res.currencycompute='_compute_used_currency'help='Used currency of the journal item. It is the foreign currency, or the company currency, where the foreign currency has not been used.'store=Truestring='Used Currency' args: 'res.currency'
No public methods.
Loading…