Skip to content

Commit

Permalink
fix(DATEV export): change format for column "Fälligkeit" to %d%m%Y
Browse files Browse the repository at this point in the history
Co-authored-by: Dietmar Fischer <[email protected]>
  • Loading branch information
Didiman1998 and xXDietmarFischer authored Mar 13, 2024
1 parent cade53b commit c28c77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext_datev/utils/datev_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_datev_csv(data, filters, csv_class):
result['Beleginfo - Inhalt 6'] = result['Beleginfo - Inhalt 6'].dt.strftime('%d%m%Y')

result['Fälligkeit'] = pd.to_datetime(result['Fälligkeit'])
result['Fälligkeit'] = result['Fälligkeit'].dt.strftime('%d%m%y')
result['Fälligkeit'] = result['Fälligkeit'].dt.strftime('%d%m%Y')

result.sort_values(by='Belegdatum', inplace=True, kind='stable', ignore_index=True)

Expand Down

0 comments on commit c28c77a

Please sign in to comment.