diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-09-25 15:39:28 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-09-25 15:58:24 +0200 |
| commit | 01e92a0fa84715efd967844e198dfe880d39021a (patch) | |
| tree | 5bc1944a7e87a684eabadeca88a6cebb85ea4ef8 /doc/_extensions/github_link.py | |
| parent | 6f1c6f289538dcf5be3ad0a0cb4e1061e54086f8 (diff) | |
[FIX] website_theme_install: do not crash when canceling update
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.
Diffstat (limited to 'doc/_extensions/github_link.py')
0 files changed, 0 insertions, 0 deletions
