from odoo import fields, models, api, _ class HREmployeeBase(models.AbstractModel): _inherit = 'hr.employee.base' run_auto_allocations = fields.Boolean(string="Allocation")