添加功能

This commit is contained in:
李鹏宇
2026-03-27 18:46:27 +08:00
parent 521e1affac
commit 432741766c
@@ -850,8 +850,8 @@ class SoongWorkflowRecord(models.Model):
local_time = current_utc_time + timedelta(hours=8)
h = local_time.hour
m = local_time.minute
if not (h == 17 and 25 <= m <= 35):
return
# if not (h == 17 and 25 <= m <= 35):
# return
menu_id = self.env['ir.ui.menu'].search([('name', '=', '待办流程')], limit=1)
if not menu_id:
return