Account Parallel Currency
account_parallel_currency · OCA/account-consolidation
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
account_account— Class 'account_account' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (4 occurrences in this file) migration-old-api-base · sourceaccount_account— Class 'account_account' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · sourceaccount_parallel_mapping— Class 'account_parallel_mapping' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_parallel_mapping— Class 'account_parallel_mapping' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceres_company— Class 'res_company' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceres_company— Class 'res_company' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · 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
This module handles parallel accounting entries based on different currencies. It is useful for companies who have to manage accounting with more than one currency at the same time. For instance, companies who have to produce balances on different currencies.
In order to use the module, you have to define one company for each parallel chart of accounts. Then you have to map parallel accounts and parallel journals through the related forms.
A 'Parallel Account Mapping' wizard is provided. It is intended to be run when the same chart of account is used for the parallel companies. It allows to automatically map the 'master' account to 'parallel' accounts, based on account code.
When posting new journal entries, the system checks the configured parallel accounts and automatically generates the parallel entries. This is achieved keeping the companies separate, so that users of the master company don't see secondary company data (e.g. currencies and journals) but the system uses the super user in order to perform the parallel registrations.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_parallel_mapping |
account.parallel.mapping | account.parallel.mapping | form | New |
view_account_form |
account.account.form | account.account | form | Inherits account.view_account_form |
view_account_journal_form |
view_account_journal_form | account.journal | form | Inherits account.view_account_journal_form |
view_company_form |
view.company.form | res.company | form | Inherits base.view_company_form |
view_move_form |
view_move_form | account.move | form | Inherits account.view_move_form |
view_tax_code_form |
view_tax_code_form | account.tax.code | form | Inherits account.view_tax_code_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
No new fields.
Public methods (4)-
create(self, cr, uid, vals, context=None) -
create_parallel_accounts(self, cr, uid, ids, context=None) -
unlink(self, cr, uid, ids, context=None) -
write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (4)-
balance_lines(self, cr, uid, move_lines, currency_id, context=None)Balance move lines that were unbalanced due to roundings. -
button_cancel(self, cr, uid, ids, context=None) -
lines_balance(self, move_lines)returns 0 if lines are balanced, difference if unbalanced -
post(self, cr, uid, ids, context=None)
No new fields.
Public methods (1)-
do_mapping(self, cr, uid, ids, context=None)
No new fields.
Public methods (3)-
create(self, cr, uid, vals, context=None) -
create_parallel_tax_codes(self, cr, uid, ids, context=None) -
write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…