Odoo18-Base/addons/hr_work_entry_holidays/__init__.py

9 lines
217 B
Python
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
def _validate_existing_work_entry(env):
env['hr.work.entry'].search([])._check_if_error()