Skip to content

Commit

Permalink
[MIG][15.0] storage_image_import: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bizzappdev committed Sep 30, 2024
1 parent add8a48 commit bf050fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage_image_import/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "Storage Image Import",
"summary": "Add the possibility to import image for csv base on url",
"version": "14.0.1.2.0",
"version": "15.0.1.0.0",
"category": "Storage",
"website": "https://github.com/OCA/storage",
"author": " Akretion, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion storage_image_import/models/image_relation_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _create_image_from_url(self, url):
_logger.error(e)
raise ValidationError(
_("Fail to import image {} check if the url is valid").format(url)
)
) from e

def _get_existing_image_from_url(self, url):
return self.env["storage.image"].search([("imported_from_url", "=", url)])
Expand Down

0 comments on commit bf050fb

Please sign in to comment.