mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
[fix] Fetch UOM conversion and stock_uom from BOM into material request (#12513)
* [fix]Fetch UOM conversion and stock_uom from BOM into material Request * Update material_request.js
This commit is contained in:
committed by
Nabin Hait
parent
2bfa1803e9
commit
052b51ab20
@@ -170,6 +170,8 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten
|
|||||||
d.description = item.description;
|
d.description = item.description;
|
||||||
d.warehouse = values.warehouse;
|
d.warehouse = values.warehouse;
|
||||||
d.uom = item.stock_uom;
|
d.uom = item.stock_uom;
|
||||||
|
d.stock_uom = item.stock_uom;
|
||||||
|
d.conversion_factor = 1;
|
||||||
d.qty = item.qty;
|
d.qty = item.qty;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user