training report

This commit is contained in:
blackbelts 2025-06-18 11:14:11 +03:00
parent 2518cce77d
commit d6bb9b5d0e
2 changed files with 7 additions and 3 deletions

View File

@ -251,8 +251,11 @@ class EmployeeMissionTrainingReportXlsx(models.AbstractModel):
sheet.write(row, clm + 14, (rec.day_price + rec.train_cost_emp), format1)
sheet.write(row, clm + 15, rec.date_from, date_format)
sheet.write(row, clm + 16, rec.date_to, date_format)
sheet.write(row, clm + 17, str(rec.hours))
sheet.write(row, clm + 18, str(rec.days))
# sheet.write(row, clm + 17, str(rec.hours))
sheet.write(row, clm + 17, str(rec.days))
# sheet.write(row, clm + 18, str(rec.days))
sheet.write(row, clm + 18, str(rec.total_hours))
if self.env.user.lang != 'en_US':
sheet.write(row, clm + 19, stages[rec.official_mission_id.state], format1)
else:

View File

@ -244,7 +244,8 @@
<td>
<t>
<span t-esc="o.hours"/>
<!-- <span t-esc="o.hours"/>-->
<span t-esc="o.total_hours"/>
Hour
</t>