How to reproduce * install website_theme_install; * go on Apps -> Apply scheduled upgrades; * Hit Cancel; * there is a crash because somehow when writing on module self is a void recordset and self.name is therefore False and cannot starts with 'theme'; This commit fixes that by ensuring self is not void before checking its name.