Skip to content

Commit

Permalink
Merge pull request #38167 from vishakhdesai/perm-check-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora authored Nov 18, 2023
2 parents a5a5341 + 45299fe commit 56e92b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erpnext/accounts/party.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ def set_address_details(
if shipping_address:
party_details.update(
shipping_address=shipping_address,
shipping_address_display=render_address(shipping_address),
shipping_address_display=render_address(
shipping_address, check_permissions=not ignore_permissions
),
**get_fetch_values(doctype, "shipping_address", shipping_address)
)

Expand Down

0 comments on commit 56e92b7

Please sign in to comment.