diff --git a/pms/models/__init__.py b/pms/models/__init__.py
index b2f6cc702..376a5b940 100644
--- a/pms/models/__init__.py
+++ b/pms/models/__init__.py
@@ -51,3 +51,4 @@ from . import ir_pms_property
from . import payment_acquirer
from . import account_analytic_line
from . import res_partner_category
+from . import res_country
diff --git a/pms/models/res_country.py b/pms/models/res_country.py
new file mode 100644
index 000000000..ddec605f9
--- /dev/null
+++ b/pms/models/res_country.py
@@ -0,0 +1,9 @@
+from odoo import fields, models, api
+
+
+class Country(models.Model):
+ _inherit = 'res.country'
+ _description = 'Country'
+ _order = 'priority, name'
+
+ priority = fields.Integer(string='Priority', default=1000)
diff --git a/pms_l10n_es/data/pms_data.xml b/pms_l10n_es/data/pms_data.xml
index ab85607d0..c5050d1cb 100644
--- a/pms_l10n_es/data/pms_data.xml
+++ b/pms_l10n_es/data/pms_data.xml
@@ -50,15 +50,15 @@ else:
02
+ id="pms.document_type_spanish_residence"
+ model="res.partner.id_category"
+ >
05
+ id="pms.document_type_european_residence"
+ model="res.partner.id_category"
+ >
05
@@ -68,9 +68,12 @@ else:
06
+ id="pms.document_type_identification_document"
+ model="res.partner.id_category"
+ >
06
+
+ 10
+