添加功能
This commit is contained in:
@@ -88,13 +88,13 @@ class ExportDateWizard(models.TransientModel):
|
||||
}
|
||||
|
||||
def _export_leave_filing(self, start_date, end_date):
|
||||
"""导出归档请假情况(is_filiing=True)"""
|
||||
"""导出归档请假情况(is_filing=True)"""
|
||||
active_ids = json.loads(self.active_ids) if self.active_ids else []
|
||||
|
||||
domain = [
|
||||
('date_from', '>=', start_date),
|
||||
('date_from', '<', end_date),
|
||||
('is_filiing', '=', True)
|
||||
('is_filing', '=', True)
|
||||
]
|
||||
if active_ids:
|
||||
domain = [('id', 'in', active_ids)] + domain
|
||||
|
||||
Reference in New Issue
Block a user