Files
enterprise-addons/hr_contract_salary_payroll/models/hr_payroll_headcount.py
T

10 lines
301 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class HrPayrollHeadcountLine(models.Model):
_inherit = 'hr.payroll.headcount.line'
employer_cost = fields.Monetary(related='version_id.monthly_yearly_costs', string='Employer Cost')