TIP: You can type at any time to perform a new search.
Account Move Line Amount Currency
account_move_line_used_currency · OCA/account-financial-tools
Security findings
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. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move_line SET amount_used_currency = amount_currency, used_currency_id = currency_id WHERE currency_id IS NOT NULL;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/account-financial-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Accounts
- Folder size
- 0.04 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-financial-tools
- Last tracking update
- 2026-08-07 07:47:35
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- Weblate, OCA-git-bot, oca-ci, Dhaval Talpada
Code Analysis
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…