[FIX] fields call center wizard

This commit is contained in:
Darío Lodeiros
2019-03-30 13:06:02 +01:00
committed by GitHub
parent 6b3bcdfbbe
commit d1a2698c5c

View File

@@ -116,8 +116,7 @@ class CallCenterReportWizard(models.TransientModel):
worksheet.write(k_res+offset, 5, v_res.adults)
worksheet.write(k_res+offset, 6, checkin_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 7, checkin_date.strftime(time_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 7, v_res.arrival_hour)
worksheet.write(k_res+offset, 8, checkout_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 9, v_res.create_uid.name)
@@ -211,8 +210,7 @@ class CallCenterReportWizard(models.TransientModel):
worksheet.write(k_res+offset, 6, v_res.adults)
worksheet.write(k_res+offset, 7, checkin_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 8, checkin_date.strftime(time_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 8, v_res.arrival_hour)
worksheet.write(k_res+offset, 9, checkout_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 10, v_res.create_uid.name)
@@ -304,13 +302,12 @@ class CallCenterReportWizard(models.TransientModel):
worksheet.write(k_res+offset, 2, v_res.folio_id.date_order,
xls_cell_format_date)
worksheet.write(k_res+offset, 3, v_res.partner_id.name)
worksheet.write(k_res+offset, 4, v_res.virtual_room_id.name)
worksheet.write(k_res+offset, 4, v_res.room_type_id.name)
worksheet.write(k_res+offset, 5, v_res.nights)
worksheet.write(k_res+offset, 6, v_res.adults)
worksheet.write(k_res+offset, 7, checkin_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 8, checkin_date.strftime(time_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 8, v_res.arrival_hour)
worksheet.write(k_res+offset, 9, checkout_date.strftime(date_format),
xls_cell_format_date)
worksheet.write(k_res+offset, 10, v_res.create_uid.name)