Skip to content

Commit

Permalink
fix: ignore permissions while mapping DN Item
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Oct 30, 2023
1 parent 500435b commit afc64ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/selling/doctype/sales_order/sales_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ def update_dn_item(source, target, source_parent):
"postprocess": update_dn_item,
}
},
ignore_permissions=True,
)

dn_item.qty = flt(sre.reserved_qty) * flt(dn_item.get("conversion_factor", 1))
Expand Down

0 comments on commit afc64ed

Please sign in to comment.