summaryrefslogtreecommitdiff
path: root/addons/sync_base/wizard/synchronize_base.py
diff options
context:
space:
mode:
authorUjjvala Collins (OpenERP) <uco@tinyerp.com>2011-02-28 13:10:04 +0530
committerUjjvala Collins (OpenERP) <uco@tinyerp.com>2011-02-28 13:10:04 +0530
commitba6040c3f9ecac8f9eecaa6593a648baeefc8f3f (patch)
treed5918f7d106b3a4e91c203f3c0e7b9a068baaac7 /addons/sync_base/wizard/synchronize_base.py
parent44780cf09f2878287844741864073402e75a1181 (diff)
parent515d7210065fb8fac1884e2550919aa557b73ed5 (diff)
[MERGE]
bzr revid: uco@tinyerp.com-20110228074004-7ayh2gs6ijlxc7a9
Diffstat (limited to 'addons/sync_base/wizard/synchronize_base.py')
-rw-r--r--addons/sync_base/wizard/synchronize_base.py4
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):