mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Co-authored-by: Nishka Gosalia <58264710+nishkagosalia@users.noreply.github.com> fix: edit stock uom qty for purchase documents (#55135)
This commit is contained in:
@@ -294,9 +294,8 @@ def clean_all_descriptions():
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_enable_stock_uom_editing():
|
||||
return frappe.get_cached_value(
|
||||
return frappe.get_single_value(
|
||||
"Stock Settings",
|
||||
None,
|
||||
["allow_to_edit_stock_uom_qty_for_sales", "allow_to_edit_stock_uom_qty_for_purchase"],
|
||||
as_dict=1,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user