diff options
| author | Raphael Collet <rco@odoo.com> | 2019-04-24 10:15:14 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-04-30 07:54:49 +0000 |
| commit | f44571f550dfa34ddb1a62bbe03e78a4dadf8eda (patch) | |
| tree | 6c62f3f2ba05952fe75eb87c4dbdb543d66a3e42 /odoo/addons/base/wizard/base_module_uninstall.py | |
| parent | 63bc6013ab30acfee7fdedcd396ad3984543b99e (diff) | |
[IMP] base: remove `mapped()` where not necessary
Diffstat (limited to 'odoo/addons/base/wizard/base_module_uninstall.py')
| -rw-r--r-- | odoo/addons/base/wizard/base_module_uninstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/wizard/base_module_uninstall.py b/odoo/addons/base/wizard/base_module_uninstall.py index a3f53f38c31..5661036a8b2 100644 --- a/odoo/addons/base/wizard/base_module_uninstall.py +++ b/odoo/addons/base/wizard/base_module_uninstall.py @@ -56,5 +56,5 @@ class BaseModuleUninstall(models.TransientModel): @api.multi def action_uninstall(self): - modules = self.mapped('module_id') + modules = self.module_id return modules.button_immediate_uninstall() |
