Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by20/25
    4 modules depend on it
  • Maturity25/25
    In 12 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
4
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.34 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

Description

A tax defined as python code consists of two snippets of python code which are executed in a local environment containing data such as the unit price, product or partner.

"Applicable Code" defines if the tax is to be applied.

"Python Code" defines the amount of the tax.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_in, l10n_my, l10n_pk, pos_account_tax_python

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
view_tax_form_inherited account.tax.form.inherited account.tax form Inherits account.view_tax_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (3)
  • amount_type Selection
    ondelete={'code': <expr>} selection_add=[('code', 'Custom Formula')]
  • formula Text
    default='price_unit * 0.10' help='Compute the amount of the tax.\n\n:param base: float, actual amount on which the tax is applied\n:param price_unit: float\n:param quantity: float\n:param product: A object representing the product\n' string='Formula'
  • formula_decoded_info Json
    compute='_compute_formula_decoded_info'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…