oca-technical/odoo-bringout-oca-hr-attendance-hr_attendance_modification_tracking/hr_attendance_modification_tracking/hooks.py
2025-08-29 15:43:03 +02:00

11 lines
269 B
Python

# Copyright 2020 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
def pre_init_hook(cr):
cr.execute(
"""
ALTER TABLE hr_attendance
ADD COLUMN IF NOT EXISTS time_changed_manually BOOLEAN
"""
)