Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
abe071c4
Commit
abe071c4
authored
Jan 22, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounting_l10n_fr: python3 support WIP
🚧
parent
d656c24c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
bt5/erp5_accounting_l10n_fr/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr/AccountingTransactionModule_aggregateFrenchAccountingTransactionFile.py
...sactionModule_aggregateFrenchAccountingTransactionFile.py
+3
-1
No files found.
bt5/erp5_accounting_l10n_fr/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr/AccountingTransactionModule_aggregateFrenchAccountingTransactionFile.py
View file @
abe071c4
...
@@ -21,7 +21,9 @@ if test_compta_demat_compatibility:
...
@@ -21,7 +21,9 @@ if test_compta_demat_compatibility:
# https://github.com/DGFiP/Test-Compta-Demat/issues/39
# https://github.com/DGFiP/Test-Compta-Demat/issues/39
fec_file
=
unicodedata
.
normalize
(
fec_file
=
unicodedata
.
normalize
(
'NFKD'
,
fec_file
.
replace
(
u"€"
,
"EUR"
)
'NFKD'
,
fec_file
.
replace
(
u"€"
,
"EUR"
)
).
encode
(
'ascii'
,
'ignore'
)
).
encode
(
'ascii'
,
'ignore'
).
decode
(
'ascii'
)
zipbuffer
=
BytesIO
()
zipbuffer
=
BytesIO
()
zipfilename
=
at_date
.
strftime
(
'FEC-%Y%m%d.zip'
)
zipfilename
=
at_date
.
strftime
(
'FEC-%Y%m%d.zip'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment