Minor fixes

This commit is contained in:
Nabin Hait
2018-01-02 11:50:29 +05:30
parent 2ac1835f7d
commit 96b264b314
2 changed files with 3 additions and 3 deletions

View File

@@ -431,7 +431,7 @@ class BuyingController(StockController):
d.schedule_date = self.schedule_date
if d.schedule_date and getdate(d.schedule_date) < getdate(self.transaction_date):
frappe.throw(_("Expected Date cannot be before Transaction Date"))
frappe.throw(_("Row #{0}: Reqd by Date cannot be before Transaction Date").format(d.idx))
else:
frappe.throw(_("Please enter Schedule Date"))
frappe.throw(_("Please enter Reqd by Date"))