diff options
| author | Raphael Collet <rco@openerp.com> | 2016-09-02 15:58:39 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-09-02 17:28:12 +0200 |
| commit | 9e64f9f9514194d74e166b032add8511182f2677 (patch) | |
| tree | 5086710c04c6b923be18a6d1d97b3f0f3a2a9c4a /openerp/addons/base/module/wizard/base_module_configuration.py | |
| parent | 11812b0b9e82b2b1b9041d8250ce01e7b4a5f7ee (diff) | |
[REF] openerp: move `openerp` to `odoo`
Diffstat (limited to 'openerp/addons/base/module/wizard/base_module_configuration.py')
| -rw-r--r-- | openerp/addons/base/module/wizard/base_module_configuration.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/openerp/addons/base/module/wizard/base_module_configuration.py b/openerp/addons/base/module/wizard/base_module_configuration.py deleted file mode 100644 index 1e889cade42..00000000000 --- a/openerp/addons/base/module/wizard/base_module_configuration.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from odoo import api, models, _ - - -class BaseModuleConfiguration(models.TransientModel): - _name = "base.module.configuration" - - @api.multi - def start(self): - todos_domain = ['|', ('type','=','recurring'), ('state', '=', 'open')] - if self.env['ir.actions.todo'].search_count(todos_domain): - # Run the config wizards - return self.env['res.config'].start() - else: - # When there is no wizard todo it will display message - view = self.env.ref('base.view_base_module_configuration_form') - return { - 'name': _('System Configuration done'), - 'view_type': 'form', - 'view_mode': 'form', - 'res_model': 'base.mdule.configuration', - 'view_id': [view.id], - 'type': 'ir.actions.act_window', - 'target': 'new', - } |
