Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 8.0

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

Security findings
Grave / minor (static analysis)
Required by
3
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.14 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

This module adds two fields UNECE Type Code and UNECE Category Code on taxes to allow the use of the standards written by the United Nations Economic Commission for Europe (which has 56 members states in Europe, America and Central Asia, cf Wikipedia):

This codification is part of the UNCL (United Nations Code List). This codification is used for example in the two main international standards for electronic invoicing:

Dependencies

Odoo dependencies
OCA/community-data-files:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
base_business_document_import, l10n_fr_account_tax_unece, purchase_order_ubl

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
unece_code_list_search unece.code.list search Inherits base_unece.unece_code_list_search
view_tax_form unece.account.tax.form account.tax form Inherits account.view_tax_form
view_tax_tree account.tax tree Inherits account.view_tax_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (6)
  • unece_categ_code Char
    readonly=True related='unece_categ_id.code' store=True string='UNECE Category Code'
  • unece_categ_id Many2one → unece.code.list
    domain=[('type', '=', 'tax_categ')] help='Select the Tax Category Code of the official nomenclature of the United Nations Economic Commission for Europe (UNECE), DataElement 5305' ondelete='restrict' string='UNECE Tax Category' args: 'unece.code.list'
  • unece_type_code Char
    readonly=True related='unece_type_id.code' store=True string='UNECE Type Code'
  • unece_type_id Many2one → unece.code.list
    domain=[('type', '=', 'tax_type')] help='Select the Tax Type Code of the official nomenclature of the United Nations Economic Commission for Europe (UNECE), DataElement 5153' ondelete='restrict' string='UNECE Tax Type' args: 'unece.code.list'
  • unece_vatex_code Char
    related='unece_vatex_id.code' store=True string='VAT Exemption Reason Code'
  • unece_vatex_id Many2one → unece.code.list
    compute='_compute_unece_vatex_id' domain=[('type', '=', 'tax_vatex')] help='Select the VAT Exemption Reason Code (VATEX) of the official nomenclature of the European Union.' ondelete='restrict' readonly=False store=True string='VAT Exemption Reason' args: 'unece.code.list'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • type Selection
    ondelete={'tax_type': 'cascade', 'tax_categ': 'cascade', 'tax_vatex': 'cascade'} selection_add=[('tax_type', 'Tax Types (UNCL 5153)'), ('tax_categ', 'Tax Categories (UNCL 5305)'), ('tax_vatex', 'VAT Exemption Reason Codes')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…