Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 109 months ago
  • Required by25/25
    5 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_id Many2one → account.journal
    related='company_id.tax_cash_basis_journal_id' string='Tax Cash Basis Journal' args: 'account.journal'
Public methods (0)

No public methods.

New fields (1)
  • tax_cash_basis_rec_id Many2one → account.partial.reconcile
    help='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'
Public methods (0)

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_account Many2one → account.account
    domain=[('deprecated', '=', False)] help='Account use when creating entry for tax cash basis' string='Tax Received Account' args: 'account.account'
  • use_cash_basis Boolean
    help='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'
Public methods (0)

No public methods.

New fields (1)
  • tax_cash_basis_journal_id Many2one → account.journal
    string='Tax Cash Basis Journal' args: 'account.journal'
Public methods (0)

No public methods.

Loading…