v14-facturacionelectronica/l10n_co_hr_e_payroll/models/hr_employee.py

15 lines
473 B
Python

# -*- coding: utf-8 -*-
# Copyright 2021 Joan Marín <Github@JoanMarin>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import fields, models
class HrEmployee(models.Model):
_inherit = 'hr.employee'
epayroll_type_id = fields.Many2one(
comodel_name='hr.employee.epayroll.type', string='E-Payroll Type')
epayroll_subtype_id = fields.Many2one(
comodel_name='hr.employee.epayroll.subtype', string='E-Payroll Subtype')