wrkon invoice report

This commit is contained in:
sonal arora
2020-09-23 11:10:08 +05:30
parent 635a4abd79
commit c32e4dbab6
2 changed files with 6 additions and 6 deletions

View File

@@ -696,8 +696,8 @@ class EmployeeSalary(models.Model):
housing_allowance = fields.Monetary(string='HRA', tracking=True, help="House rent allowance.") housing_allowance = fields.Monetary(string='HRA', tracking=True, help="House rent allowance.")
travel_allowance = fields.Monetary(string="Travel Allowance", help="Travel allowance") travel_allowance = fields.Monetary(string="Travel Allowance", help="Travel allowance")
total_salary = fields.Float('Gross Salary') total_salary = fields.Float('Gross Salary')
loan_deduct = fields.Float('Loan Deduduction') loan_deduct = fields.Float('Loan Deduductions')
monthly_deduct = fields.Float('Other Deduction') monthly_deduct = fields.Float('Other Deductions')
deduction_start_date = fields.Date('Deduction Start Date') deduction_start_date = fields.Date('Deduction Start Date')
deduction_end_date = fields.Date('Deduction End Date') deduction_end_date = fields.Date('Deduction End Date')
currency_id = fields.Many2one(string="Currency", related='company_id.currency_id', readonly=True) currency_id = fields.Many2one(string="Currency", related='company_id.currency_id', readonly=True)

View File

@@ -102,14 +102,14 @@
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td></td> <!-- <td></td> -->
<td class="text-center">Home Currency Total</td> <td colspan="2" class="text-center">Home Currency Total</td>
<td class="text-center" style="border:1px solid;"><span t-field="o.amount"/></td> <td class="text-center" style="border:1px solid;"><span t-field="o.amount"/></td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>
<td></td> <!-- <td></td> -->
<td class="text-center">Total</td> <td colspan="2" class="text-center">Total</td>
<td class="text-center" style="border:1px solid;"><span t-field="o.amount"/></td> <td class="text-center" style="border:1px solid;"><span t-field="o.amount"/></td>
</tr> </tr>
</tbody> </tbody>