Skip to content
Health
45/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Only bot commits
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 18.0

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

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 1 migration note 2 models 4 views 0 HTTP endpoints

Description

Business Need

In Colombia, every company must declare its CIIU economic activity codes (Clasificación Industrial Internacional Uniforme) as defined by the DANE and required by the DIAN for electronic invoicing and withholding tax calculations.

Approach

This module adds an l10n.co.economic.activity model with CIIU codes and extends res.partner with fields for primary, secondary, and other economic activities. Data is pre-loaded with official CIIU codes used by the DIAN.

Useful Information

  • Depends on: base, contacts, account, base_address_extended
  • Works well with: l10n_co_withholding, l10n_co_electronic_invoice
  • Suggested setup: Required for Colombian electronic invoicing and withholding tax configuration

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_co_withholding

Code analysis

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

Views touched 4

XML IDNameModelTypeStatus
view_l10n_co_economic_activity_form l10n.co.economic.activity.form l10n.co.economic.activity form New
view_l10n_co_economic_activity_search l10n.co.economic.activity.search l10n.co.economic.activity search New
view_l10n_co_economic_activity_tree l10n.co.economic.activity.tree l10n.co.economic.activity list New
view_partner_form_l10n_co_economic_activities res.partner.form.l10n.co.economic.activities res.partner form Inherits account.view_partner_property_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • active Boolean
    default=True help='Indica si la actividad económica está activa' string='Activo'
  • code Char
    help='Código CIIU de la actividad económica' index=True required=True string='Código'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True string='Nombre Completo'
  • name Char
    help='Descripción de la actividad económica' required=True string='Descripción' translate=True
Public methods (0)

No public methods.

New fields (3)
  • l10n_co_economic_activity_id Many2one → l10n.co.economic.activity
    comodel_name='l10n.co.economic.activity' help='Actividad económica principal según CIIU Colombia' index=True string='Actividad Económica Principal'
  • l10n_co_other_activity_ids Many2many → l10n.co.economic.activity
    column1='partner_id' column2='activity_id' comodel_name='l10n.co.economic.activity' help='Otras actividades económicas según CIIU Colombia' relation='res_partner_other_economic_activities_rel' string='Otras Actividades Económicas'
  • l10n_co_secondary_activity_id Many2one → l10n.co.economic.activity
    comodel_name='l10n.co.economic.activity' help='Actividad económica secundaria según CIIU Colombia' index=True string='Actividad Económica Secundaria'
Public methods (0)

No public methods.