添加功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user