diff --git a/addons/l10n_co/models/res_partner.py b/addons/l10n_co/models/res_partner.py index 5c3e729d5f827f8146a340f5df23656fb00c2e04..fd59f2de26b3fb8d19a76a82d6c7910cf21e6c68 100644 --- a/addons/l10n_co/models/res_partner.py +++ b/addons/l10n_co/models/res_partner.py @@ -3,19 +3,23 @@ from odoo import api, fields, models + class ResPartner(models.Model): _inherit = 'res.partner' l10n_co_document_type = fields.Selection([('rut', 'NIT'), - ('id_document', 'Cédula'), + ('national_citizen_id', 'Cédula de ciudadanÃa'), + ('civil_registration', 'Registro Civil'), ('id_card', 'Tarjeta de Identidad'), + ('foreign_colombian_card', 'Tarjeta de extranjerÃa'), + ('foreign_resident_card', 'Cédula de extranjerÃa'), ('passport', 'Pasaporte'), - ('foreign_id_card', 'Cédula Extranjera'), - ('external_id', 'ID del Exterior'), - ('diplomatic_card', 'Carné Diplomatico'), ('residence_document', 'Salvoconducto de Permanencia'), - ('civil_registration', 'Registro Civil'), - ('national_citizen_id', 'Cédula de ciudadanÃa')], string='Document Type', + ('foreign_id_card', 'Cédula Extranjera'), + ('external_id', 'Nit de otro paÃs'), + ('niup_id', 'NIUP'), + ('diplomatic_card', 'INACTIVO - Carné Diplomatico'), + ('id_document', 'INACTIVO - Cédula')], string='Document Type', help='Indicates to what document the information in here belongs to.') l10n_co_verification_code = fields.Char(compute='_compute_verification_code', string='VC', # todo remove this field in master help='Redundancy check to verify the vat number has been typed in correctly.')