[IMP] mrp_repair: Corrected warning message.
bzr revid: uco@tinyerp.com-20100520125350-w4zg37ta70e9pt3q
This commit is contained in:
@@ -44,7 +44,7 @@ class repair_cancel(osv.osv_memory):
|
||||
if repair_order.invoiced or repair_order.invoice_method == 'none':
|
||||
repair_order_obj.action_cancel(cr, uid, [record_id], context=context)
|
||||
else:
|
||||
raise osv.except_osv(_('Warning!'),_('Repair is not cancelled. It is not invoiced.'))
|
||||
raise osv.except_osv(_('Warning!'),_('Repair order is not invoiced.'))
|
||||
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user