[IMP] mrp_repair: Corrected warning message.

bzr revid: uco@tinyerp.com-20100520125350-w4zg37ta70e9pt3q
This commit is contained in:
uco (OpenERP)
2010-05-20 18:23:50 +05:30
parent 5a61a94007
commit cbe03042ef
+1 -1
View File
@@ -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 {}