[FIX] l10n_us_hr_payroll: add missing semi-monthly as a default schedule pay

This commit is contained in:
Jared Kipe
2020-09-18 10:13:05 -07:00
parent a0fdfbc854
commit dd1c1a0c6d

View File

@@ -6,6 +6,11 @@ from .us_payroll_config import FUTA_TYPE_NORMAL, \
FUTA_TYPE_EXEMPT
class HrPayrollStructure(models.Model):
_inherit = 'hr.payroll.structure.type'
default_schedule_pay = fields.Selection(selection_add=[('semi-monthly', 'Semi-monthly')])
class HrPayrollStructure(models.Model):
_inherit = 'hr.payroll.structure'
schedule_pay = fields.Selection(selection_add=[('semi-monthly', 'Semi-monthly')])