diff --git a/hotel_data_bi/models/data_bi.py b/hotel_data_bi/models/data_bi.py
index 308d34f24..5863faa81 100644
--- a/hotel_data_bi/models/data_bi.py
+++ b/hotel_data_bi/models/data_bi.py
@@ -358,7 +358,6 @@ class Data_Bi(models.Model):
n.reservation_id.state != 'cancelled'))
_logger.info("DataBi: Calculating %s Bloqued", str(len(lines)))
for line in lines:
- # if linea.reservation_id.state != 'cancelled':
if line.reservation_id.reservation_type == 'out':
id_m_b = 1
else:
@@ -368,7 +367,7 @@ class Data_Bi(models.Model):
'Fecha_desde': line.date,
'Fecha_hasta': (datetime.strptime(line.date, "%Y-%m-%d") +
timedelta(days=1)).strftime("%Y-%m-%d"),
- 'ID_Tipo_Habitacion': line.reservation_id.room_type_id.id,
+ 'ID_Tipo_Habitacion': line.reservation_id.room_id.room_type_id.id,
'ID_Motivo_Bloqueo': id_m_b,
'Nro_Habitaciones': 1})
return dic_bloqueos
diff --git a/hotel_data_bi/views/inherit_res_company.xml b/hotel_data_bi/views/inherit_res_company.xml
index 05b3865ab..7f610c7e0 100644
--- a/hotel_data_bi/views/inherit_res_company.xml
+++ b/hotel_data_bi/views/inherit_res_company.xml
@@ -1,23 +1,23 @@
-
-
-
-
-
-
-
- databi.config.view_company_form
- res.company
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ databi.config.view_company_form
+ res.company
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hotel_door_codes/views/inherit_res_company.xml b/hotel_door_codes/views/inherit_res_company.xml
index b1638a40d..5c367bdd6 100644
--- a/hotel_door_codes/views/inherit_res_company.xml
+++ b/hotel_door_codes/views/inherit_res_company.xml
@@ -1,18 +1,20 @@
-
-
-
-
-
-
- door_code.config.view_company_form
- res.company
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ door_code.config.view_company_form
+ res.company
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hotel_l10n_es/views/inherit_res_company.xml b/hotel_l10n_es/views/inherit_res_company.xml
index a44eb3729..7cd516fc6 100755
--- a/hotel_l10n_es/views/inherit_res_company.xml
+++ b/hotel_l10n_es/views/inherit_res_company.xml
@@ -1,30 +1,32 @@
-
-
-
-
-
- view.company.form
- res.company
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ view.company.form
+ res.company
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+