commit
e70423aaef
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -244,7 +244,8 @@
|
|||
|
||||
<td>
|
||||
<t>
|
||||
<span t-esc="o.hours"/>
|
||||
<!-- <span t-esc="o.hours"/>-->
|
||||
<span t-esc="o.total_hours"/>
|
||||
Hour
|
||||
|
||||
</t>
|
||||
|
|
|
|||
Loading…
Reference in New Issue