summaryrefslogtreecommitdiff
path: root/addons/sync_base/wizard/synchronize_base.py
diff options
context:
space:
mode:
authorJigar Amin <jam@tinyerp.com>2011-02-25 14:52:40 +0530
committerJigar Amin <jam@tinyerp.com>2011-02-25 14:52:40 +0530
commitd289d55e2a874e01e1718384ee735fa6fdc62d64 (patch)
treec33215033f5dee8c890d54000be89875e0f761bf /addons/sync_base/wizard/synchronize_base.py
parenteb5afa06d4921355038ef946d3974f50eb111c07 (diff)
[FIX] base_sync : usability imp and if no app slected raise message
bzr revid: jam@tinyerp.com-20110225092240-ttj1xmkbzb9p82if
Diffstat (limited to 'addons/sync_base/wizard/synchronize_base.py')
-rw-r--r--addons/sync_base/wizard/synchronize_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sync_base/wizard/synchronize_base.py b/addons/sync_base/wizard/synchronize_base.py
index 4a20b0cf2b5..8f49154f1b9 100644
--- a/addons/sync_base/wizard/synchronize_base.py
+++ b/addons/sync_base/wizard/synchronize_base.py
@@ -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):