Update call_center_report.py

This commit is contained in:
Darío Lodeiros
2019-03-30 13:23:33 +01:00
committed by GitHub
parent d1a2698c5c
commit 3fcd1f5011

View File

@@ -313,9 +313,9 @@ class CallCenterReportWizard(models.TransientModel):
worksheet.write(k_res+offset, 10, v_res.create_uid.name)
worksheet.write(k_res+offset, 11, v_res.price_total,
xls_cell_format_money)
worksheet.write(k_res+offset, 12, v_res.amount_room,
worksheet.write(k_res+offset, 12, v_res.price_total - v_res.discount,
xls_cell_format_money)
total_reservation_amount += v_res.amount_room
total_reservation_amount += v_res.price_total
offset += len(reservations)