fix: Sider + Fields UX
- remove extra space (sider)
- PR: Bring rejected qty in grid view
- PI: Rename `Stock Qty` to `Accepted Qty in Stock UOM`
- PI: Move `Accepted Qty in Stock UOM` under Stock UOM
(cherry picked from commit afe1c45f7f)
This commit is contained in:
@@ -366,7 +366,7 @@ class BuyingController(StockController, Subcontracting):
|
||||
d.received_qty = flt(d.qty) + flt(d.rejected_qty)
|
||||
|
||||
# Check Received Qty = Accepted Qty + Rejected Qty
|
||||
val = flt(d.qty) + flt(d.rejected_qty)
|
||||
val = flt(d.qty) + flt(d.rejected_qty)
|
||||
if (flt(val, d.precision("received_qty")) != flt(d.received_qty, d.precision("received_qty"))):
|
||||
frappe.throw(_("Accepted + Rejected Qty must be equal to Received quantity for Item {0}").format(d.item_code))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user