[IMP]: Improved warning message for mrp
bzr revid: pso@tinyerp.com-20120718065550-0phn8tsxqouyopd0
This commit is contained in:
@@ -444,7 +444,7 @@ msgstr ""
|
||||
#. module: mrp_operations
|
||||
#: code:addons/mrp_operations/mrp_operations.py:466
|
||||
#, python-format
|
||||
msgid "Operation has already started !' 'You can either Pause/Finish/Cancel the operation.'))"
|
||||
msgid "Operation has already started! You can either Pause/Finish/Cancel the operation.'))"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_operations
|
||||
|
||||
@@ -513,7 +513,7 @@ class mrp_operations_operation(osv.osv):
|
||||
code_lst.append(oper.code_id.start_stop)
|
||||
if code.start_stop=='start':
|
||||
if 'start' in code_lst:
|
||||
raise osv.except_osv(_('Sorry!'),_('Operation has already started !' 'You can either Pause/Finish/Cancel the operation.'))
|
||||
raise osv.except_osv(_('Sorry!'),_('Operation has already started! You can either Pause/Finish/Cancel the operation.'))
|
||||
return False
|
||||
if code.start_stop=='pause':
|
||||
if code_lst[len(code_lst)-1]!='resume' and code_lst[len(code_lst)-1]!='start':
|
||||
|
||||
Reference in New Issue
Block a user