[minor] fix messages in material request

This commit is contained in:
Rushabh Mehta 2016-02-29 14:38:25 +05:30
parent e1f68b9904
commit f1083c9a74

View File

@ -363,7 +363,7 @@ def raise_production_orders(material_request):
if production_orders: if production_orders:
message = ["""<a href="#Form/Production Order/%s" target="_blank">%s</a>""" % \ message = ["""<a href="#Form/Production Order/%s" target="_blank">%s</a>""" % \
(p, p) for p in production_orders] (p, p) for p in production_orders]
msgprint(_("The following Production Orders were created : \n {0} ").format(new_line_sep(message))) msgprint(_("The following Production Orders were created:" + '\n' + new_line_sep(message)))
if errors: if errors:
msgprint(_("Productions Orders cannot be raised for : \n {0}").format(new_line_sep(errors))) msgprint(_("Productions Orders cannot be raised for:" + '\n' + new_line_sep(errors)))
return production_orders return production_orders