fix: remove SSN field from Monthly Absence Report and hissə_3 population

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-03-31 17:32:19 +04:00
parent 4c94f766f9
commit ea66dfcb19
2 changed files with 0 additions and 8 deletions

View File

@ -186,7 +186,6 @@ def get_absence_data(company, from_date, to_date):
child_row = {
"soyadadataadı": full_name,
"fin": row.get("fin", ""),
"ssn": row.get("ssn", ""),
"işçininişləmədiyiişgünlərininsəbəbi": row.get("absent_reason", ""),
"işçininişləmədiyiişgünlərininsayı": row.get("days_absent", 0),
}

View File

@ -31,12 +31,6 @@ def get_columns():
"fieldtype": "Data",
"width": 110
},
{
"label": _("SSN"),
"fieldname": "ssn",
"fieldtype": "Data",
"width": 130
},
{
"label": _("Davamsızlığın səbəbi"),
"fieldname": "absent_reason",
@ -61,7 +55,6 @@ def get_data(filters):
e.last_name,
e.first_name,
e.passport_number AS fin,
e.ssn,
a.absent_reason,
COUNT(*) AS days_absent
FROM `tabAttendance` a