Health
62/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 109 months ago
-
Required by25/255 modules depend on it
-
Maturity12/25In 2 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
5
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.25 MB
Module directory on disk
Code analysis
2 migration notes
6 models
2 views
0 HTTP endpoints
Migration considerations
AccountPartialReconcileCashBasis— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_tax_form_cash_basis_inherit— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · 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
Add an option on tax to allow them to be cash based, meaning that during reconciliation, if there is a tax with
cash basis involved, a new journal entry will be create containing those taxes value.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_cash_basis_base_account, l10n_es_aeat_mod303_cash_basis, l10n_es_aeat_sii_cash_basis, l10n_it_vat_registries_cash_basis, l10n_mx
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_config_cash_basis_inherit_form |
view.account.config.cash.basis.form.inherit | account.config.settings | form | Inherits account.view_account_config_settings |
view_tax_form_cash_basis_inherit |
tax.form.cash.basis.inherit | account.tax | form | Inherits account.view_tax_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (1)
-
tax_cash_basis_journal_idMany2one → account.journalrelated='company_id.tax_cash_basis_journal_id'string='Tax Cash Basis Journal' args: 'account.journal'
No public methods.
New fields (1)
-
tax_cash_basis_rec_idMany2one → account.partial.reconcilehelp='Technical field used to keep track of the tax cash basis reconciliation.This is needed when cancelling the source: it will post the inverse journal entry to cancel that part too.'string='Tax Cash Basis Entry of' args: 'account.partial.reconcile'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
create(self, vals)@api.model
New fields (0)
No new fields.
Public methods (3)-
create(self, vals)@api.model -
create_tax_cash_basis_entry(self, value_before_reconciliation) -
unlink(self)@api.multi
New fields (2)
-
cash_basis_accountMany2one → account.accountdomain=[('deprecated', '=', False)]help='Account use when creating entry for tax cash basis'string='Tax Received Account' args: 'account.account' -
use_cash_basisBooleanhelp='Select this if the tax should use cash basis,which will create an entry for this tax on a given account during reconciliation' args: 'Use Cash Basis'
No public methods.
New fields (1)
-
tax_cash_basis_journal_idMany2one → account.journalstring='Tax Cash Basis Journal' args: 'account.journal'
No public methods.
Loading…