[fix] Purchase Receipt: Show row no. against the Rejected Warehouse mandatory error
This commit is contained in:
parent
c1e1026486
commit
aee8b5bcad
@ -99,7 +99,7 @@ class PurchaseReceipt(BuyingController):
|
||||
if flt(d.rejected_qty) and not d.rejected_warehouse:
|
||||
d.rejected_warehouse = self.rejected_warehouse
|
||||
if not d.rejected_warehouse:
|
||||
frappe.throw(_("Rejected Warehouse is mandatory against regected item"))
|
||||
frappe.throw(_("Row #{0}: Rejected Warehouse is mandatory against rejected Item {1}").format(d.idx, d.item_code))
|
||||
|
||||
# validate accepted and rejected qty
|
||||
def validate_accepted_rejected_qty(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user