Merge pull request #45810 from rohitwaghchaure/fixed-support-31257
fix: not able to select the item in the sales invoice
This commit is contained in:
@@ -193,6 +193,9 @@ def update_stock(ctx, out, doc=None):
|
||||
and out.warehouse
|
||||
and out.stock_qty > 0
|
||||
):
|
||||
if doc and isinstance(doc, dict):
|
||||
doc = frappe._dict(doc)
|
||||
|
||||
kwargs = frappe._dict(
|
||||
{
|
||||
"item_code": ctx.item_code,
|
||||
|
||||
Reference in New Issue
Block a user