Merge pull request !410 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2024-11-09 08:30:22 +00:00
committed by Gitee
4 changed files with 1 additions and 11 deletions
+1 -2
View File
@@ -1,2 +1 @@
from . import models
from . import wizard
from . import models
@@ -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'),
View File
@@ -1,2 +0,0 @@
from odoo import models, fields, api
from odoo.exceptions import ValidationError