添加功能
This commit is contained in:
@@ -286,7 +286,7 @@ class InheritHrPayslip(models.Model):
|
||||
@api.depends('total_before_tax', 'three_one', 'b_year', 'union_dues', 'tax_payable', 'individual_tax_refund')
|
||||
def _compute_actual_salary(self):
|
||||
for record in self:
|
||||
record.actual_salary = (record.total_before_tax - record.three_one - record.b_year - record.union_dues - record.tax_payable - record.individual_tax_refund)
|
||||
record.actual_salary = (record.total_before_tax - record.three_one - record.b_year - record.union_dues - record.tax_payable + record.individual_tax_refund)
|
||||
if record.employee_id.name == '罗梦烨':
|
||||
_logger.info("罗梦烨实发{} 本期应:{},31:{},年金:{}应补:{}工会{}个税{}".format(record.actual_salary, record.total_before_tax,
|
||||
record.three_one, record.b_year, record.union_dues,
|
||||
|
||||
Reference in New Issue
Block a user