diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index ad8122ac6..c606a2361 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -1035,7 +1035,6 @@ class AppletAttendance(Controller): # 根据楼层,状态(reading, unreading) 类型, 获取 列表数据 @route('/yuthon/meter/reading/list', methods=['POST'], type='http', auth='none', cors='*', csrf=False) def yuthon_meter_reading_list(self, **kw): - _logger.info('/yuthon/meter/reading/list--接口收到相应') reading_state = kw.get('state') type = kw.get('type') floor_id = int(kw.get('floor_id')) @@ -1044,11 +1043,10 @@ class AppletAttendance(Controller): first_day = today.replace(day=1, hour=0, minute=0, second=0, microsecond=0) last_day = (today.replace(day=1) + timedelta(days=32)).replace(day=1) - timedelta(days=1) last_day = last_day.replace(hour=23, minute=59, second=59, microsecond=999999) - first_day_str = first_day.strftime('%Y-%m-%d') last_day_str = last_day.strftime('%Y-%m-%d') - floor_name = request.env['yuthon.epitope.values'].sudo().search([('id', '=', floor_id)]).name + _logger.info(f'楼层{floor_name}') # domain = [('state', '=', reading_state), # ('epitope_values_id.name', '=', floor_name), # ('meter_date', '>=', first_day_str), @@ -1066,7 +1064,7 @@ class AppletAttendance(Controller): domain.append(('water_state', '!=', 'stop')) model = 'meter.water.line' records = request.env[model].sudo().search(domain) - _logger.info(f'任务数据{records}') + # _logger.info(f'任务数据{records}') result = [] for record in records: property_infos = record.yuthon_property_ids if record.yuthon_property_ids else [None] diff --git a/yuthon_property_approval/report/contract_accounts_receivable_templates.xml b/yuthon_property_approval/report/contract_accounts_receivable_templates.xml index 4d9e885a0..0af14cd86 100644 --- a/yuthon_property_approval/report/contract_accounts_receivable_templates.xml +++ b/yuthon_property_approval/report/contract_accounts_receivable_templates.xml @@ -1,7 +1,5 @@ - - +