diff options
Diffstat (limited to 'addons/sync_base/wizard/synchronize_base.py')
| -rw-r--r-- | addons/sync_base/wizard/synchronize_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/sync_base/wizard/synchronize_base.py b/addons/sync_base/wizard/synchronize_base.py index 4a20b0cf2b5..9077b32398b 100644 --- a/addons/sync_base/wizard/synchronize_base.py +++ b/addons/sync_base/wizard/synchronize_base.py @@ -19,7 +19,7 @@ # ############################################################################## -from osv import fields,osv,orm +from osv import fields,osv from tools.translate import _ @@ -46,7 +46,7 @@ class synchronize_base(osv.osv_memory): def _get_action(self, cr, uid, tools, context=None): if not tools: - tools = 'none' + raise osv.except_osv(_("Error !"),_("Select App to synchronize with.")) return self._get_actions_dic(cr, uid, context=context)[tools] def _get_actions_dic(self, cr, uid, context=None): |
