From b2c7799cba0394b2d48e6c7c4b0e9c21bf39c79e Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Wed, 3 Mar 2021 14:14:26 +0000 Subject: [PATCH] [IMP] l10n_co: reuse identification types from l10n_latam_base We also remove the country_id for the foreign/external_id as otherwise, it would not be selectable if the country_id of the partner is not Colombia. closes odoo/odoo#67711 X-original-commit: 46bf5b27aaf374d6fa458170bc936251b8595c24 Signed-off-by: Cedric Snauwaert (csn) Signed-off-by: Josse Colpaert --- addons/l10n_co/data/l10n_latam.identification.type.csv | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/l10n_co/data/l10n_latam.identification.type.csv b/addons/l10n_co/data/l10n_latam.identification.type.csv index 4db9adaf590..b9ac6069a0d 100644 --- a/addons/l10n_co/data/l10n_latam.identification.type.csv +++ b/addons/l10n_co/data/l10n_latam.identification.type.csv @@ -1,11 +1,12 @@ id,name,l10n_co_document_code,country_id:id,is_vat,sequence rut,NIT,rut,base.co,TRUE,1 national_citizen_id,Cédula de ciudadanía,national_citizen_id,base.co,FALSE,2 -external_id,ID del Exterior,external_id,base.co,FALSE,3 -foreign_id_card,Cédula Extranjera,foreign_id_card,base.co,FALSE,4 -passport,Pasaporte,passport,base.co,FALSE,5 +external_id,ID del Exterior,external_id,,FALSE,3 id_card,Tarjeta de Identidad,id_card,base.co,FALSE,6 civil_registration,Registro Civil,civil_registration,base.co,FALSE,7 diplomatic_card,Carné Diplomatico,diplomatic_card,base.co,FALSE,8 residence_document,Salvoconducto de Permanencia,residence_document,base.co,FALSE,9 id_document,Cédula,id_document,base.co,FALSE,10 +l10n_latam_base.it_vat,VAT,rut,,TRUE,80 +l10n_latam_base.it_pass,Passport,passport,,FALSE,90, +l10n_latam_base.it_fid,Foreign ID,foreign_id_card,,FALSE,100