Skip to content

Commit

Permalink
Merge PR #700 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by grindtildeath
  • Loading branch information
OCA-git-bot committed May 29, 2024
2 parents 05924cd + 83bd8f7 commit 1223d36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _prepare_create_attachment(self, result):
return vals

def import_single_file(self, file_data, result):
parsing_data = self.with_context(active_id=self.ids[0])._parse_file(file_data)
parsing_data = self._parse_file(file_data)
if not isinstance(parsing_data, list): # for backward compatibility
parsing_data = [parsing_data]
logger.info(
Expand Down

0 comments on commit 1223d36

Please sign in to comment.