diff --git a/addons/website/migrations/13.0.1.0/post-migration.py b/addons/website/migrations/13.0.1.0/post-migration.py index 323c62a03c33..2cf796974043 100644 --- a/addons/website/migrations/13.0.1.0/post-migration.py +++ b/addons/website/migrations/13.0.1.0/post-migration.py @@ -16,7 +16,7 @@ def _fill_website_logo(env): """ default_logo = env["website"]._default_logo() for website in env["website"].search([]): - if website.logo == default_logo: + if not website.logo or website.logo == default_logo: website.logo = website.company_id.logo