diff --git a/yuthon_holiday/__init__.py b/yuthon_holiday/__init__.py index c536983e2..9a7e03ede 100644 --- a/yuthon_holiday/__init__.py +++ b/yuthon_holiday/__init__.py @@ -1,2 +1 @@ -from . import models -from . import wizard \ No newline at end of file +from . import models \ No newline at end of file diff --git a/yuthon_holiday/models/inherit_hr_leave.py b/yuthon_holiday/models/inherit_hr_leave.py index 7a34c666d..dd493c688 100644 --- a/yuthon_holiday/models/inherit_hr_leave.py +++ b/yuthon_holiday/models/inherit_hr_leave.py @@ -1,16 +1,9 @@ # -*- coding: utf-8 -*- -import time from datetime import datetime, timedelta - from odoo import models, fields, api, _ from odoo.exceptions import ValidationError -# class HrLeave(models.Model): -# _inherit = 'hr.leave' -# -# batch_id = fields.Many2one(string='批量', comodel_name='hr.leave.batch', required=True, ondelete='cascade') - HOUR_SELECTION = [ ('0', '00:00'), ('0.5', '00:30'), ('1', '01:00'), ('1.5', '01:30'), diff --git a/yuthon_holiday/wizard/__init__.py b/yuthon_holiday/wizard/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/yuthon_holiday/wizard/holiday_detail_wizard.py b/yuthon_holiday/wizard/holiday_detail_wizard.py deleted file mode 100644 index e0c9ef153..000000000 --- a/yuthon_holiday/wizard/holiday_detail_wizard.py +++ /dev/null @@ -1,2 +0,0 @@ -from odoo import models, fields, api -from odoo.exceptions import ValidationError \ No newline at end of file