We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e383192 + 25fb2e4 commit 0e425f4Copy full SHA for 0e425f4
edi_storage_oca/models/edi_backend.py
@@ -166,9 +166,10 @@ def _storage_get_input_filenames(self, exchange_type):
166
if exchange_type.exchange_file_ext:
167
bits.append(r"\." + exchange_type.exchange_file_ext)
168
pattern = "".join(bits)
169
- full_paths = utils.find_files(self.storage_id, pattern, full_input_dir_pending)
170
- pending_path_len = len(full_input_dir_pending)
171
- return [p[pending_path_len:].strip("/") for p in full_paths]
+ relative_paths = utils.find_files(
+ self.storage_id, pattern, full_input_dir_pending
+ )
172
+ return [p.strip("/") for p in relative_paths]
173
174
def _storage_new_exchange_record_vals(self, file_name):
175
return {
0 commit comments