Account Move Total By Account Internal Group
account_move_total_by_account_internal_group · OCA/account-financial-tools
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move_line aml0 SET account_internal_group = aa.account_type FROM account_move_line aml INNER JOIN account_account aa ON aa.id = aml.account_id WHERE aml.id = aml0.id AND aml.account_internal_group IS NULL` - re-check the table/column names still match after upgrading. 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
Displays the total balance by account internal group in the journal entries. This could be necesssary in some context. For example, when looking at the stock journal entries we would like to see the total assets, as long as we would like to see the assets increasing when there is a debit in the inventory account and deceasing when the inventory is decreased. The standard field amount_total_signed does not serve, as it shows this as a positive value in this case.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_move_user_type_tree |
account.move.user.type.tree | account.move | tree | Inherits account.view_move_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
amount_total_signed_account_internal_group_assetMonetarycompute='_compute_amount_total_signed_account_internal_group' -
amount_total_signed_account_internal_group_equityMonetarycompute='_compute_amount_total_signed_account_internal_group' -
amount_total_signed_account_internal_group_expenseMonetarycompute='_compute_amount_total_signed_account_internal_group' -
amount_total_signed_account_internal_group_incomeMonetarycompute='_compute_amount_total_signed_account_internal_group' -
amount_total_signed_account_internal_group_liabilityMonetarycompute='_compute_amount_total_signed_account_internal_group' -
amount_total_signed_account_internal_group_off_balanceMonetarycompute='_compute_amount_total_signed_account_internal_group'
No public methods.
-
account_internal_groupSelectionreadonly=Truerelated='account_id.internal_group'store=Truestring='Internal Group'
No public methods.
Loading…
Loading…