Skip to content

Commit

Permalink
replace slashes with dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed May 3, 2024
1 parent 7b74457 commit 695d147
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion export_invoice_edi_auchan/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ def _format_to_exportfile_auchan_edi(self, data):
return txt_file.getvalue().encode("utf-8")

def _get_export_name(self):
return self.name
return self.name.replace("/", "-")
6 changes: 6 additions & 0 deletions setup/export_invoice_edi_auchan/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 695d147

Please sign in to comment.