mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 19:18:32 +00:00
fix: not able to select the item in the sales invoice
(cherry picked from commit 35388e7a04)
This commit is contained in:
committed by
Mergify
parent
9702a192d7
commit
a649001886
@@ -187,6 +187,9 @@ def update_stock(ctx, out, doc=None):
|
|||||||
and out.warehouse
|
and out.warehouse
|
||||||
and out.stock_qty > 0
|
and out.stock_qty > 0
|
||||||
):
|
):
|
||||||
|
if doc and isinstance(doc, dict):
|
||||||
|
doc = frappe._dict(doc)
|
||||||
|
|
||||||
kwargs = frappe._dict(
|
kwargs = frappe._dict(
|
||||||
{
|
{
|
||||||
"item_code": ctx.item_code,
|
"item_code": ctx.item_code,
|
||||||
|
|||||||
Reference in New Issue
Block a user