添加功能

This commit is contained in:
李鹏宇
2026-02-09 09:52:03 +08:00
parent e113936b06
commit 7d4c25ebdc
2 changed files with 2 additions and 2 deletions
@@ -16,7 +16,7 @@ export class CustomOvertimeActiveExportController extends ListController {
return this.actionService.doAction({
type: 'ir.actions.act_window',
res_model: 'export.date.wizard',
name: '打印薪资',
name: '打印明细',
view_mode: 'form',
view_type: 'form',
views: [[false, 'form']],
@@ -289,7 +289,7 @@ class ExportDateWizard(models.TransientModel):
"""导出误餐归档明细"""
active_ids = json.loads(self.active_ids) if self.active_ids else []
domain = [('start_time', '>=', start_date), ('start_time', '<', end_date)]
domain = [('carry_forward_date', '>=', start_date), ('carry_forward_date', '<', end_date)]
if active_ids:
domain = [('id', 'in', active_ids)] + domain