print stat uncomment

This commit is contained in:
root 2022-09-30 20:04:48 +05:30
parent 14847875e8
commit 86c8c0428d
1 changed files with 2 additions and 2 deletions

View File

@ -374,8 +374,8 @@ class InheritProjectProductEmployeeMap(models.Model):
#e_datetime1 = timezone(tz).localize(e_datetime).astimezone(UTC)
date_clause += " and end_datetime at time zone 'utc' at time zone (select tz from res_partner where id=3) <= %s"
query_params.append(e_datetime)
print('1111111111111', val.project_id)
print('222222222222222', query_params)
#print('1111111111111', val.project_id)
#print('222222222222222', query_params)
if val.project_id.is_sub_project == False:
query = """SELECT project_id, employee_id, SUM(unit_amount) FROM account_analytic_line
where project_id = %s and employee_id = %s {date_clause}