Forgot to rollback .xlsx format

This commit is contained in:
Abdul Aziz Amrullah 2026-06-19 11:03:46 +07:00
parent c6bce13803
commit 6badef7778

View File

@ -239,9 +239,9 @@ class PosExportBcWizard(models.TransientModel):
end_str = self.end_date.strftime('%y%m%d')
if export_all:
file_name = f"POS_{company_ident}_{start_str}_to_{end_str}_OLD_ALL.xls"
file_name = f"POS_{company_ident}_{start_str}_to_{end_str}_OLD_ALL.xlsx"
elif old_format:
file_name = f"POS_{company_ident}_{start_str}_to_{end_str}_OLD.xls"
file_name = f"POS_{company_ident}_{start_str}_to_{end_str}_OLD.xlsx"
else:
file_name = f"POS_{company_ident}_{start_str}_to_{end_str}.xlsx"