Skip to content

Commit

Permalink
Merge pull request #39688 from s-aga-r/FIX-9169
Browse files Browse the repository at this point in the history
fix: remove applied pricing rule on qty change
  • Loading branch information
s-aga-r authored Feb 5, 2024
2 parents 6e6c818 + 7c6a5a0 commit 4d614c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def set_missing_item_details(self, for_validate=False):
if self.get("is_subcontracted"):
args["is_subcontracted"] = self.is_subcontracted

ret = get_item_details(args, self, for_validate=True, overwrite_warehouse=False)
ret = get_item_details(args, self, for_validate=for_validate, overwrite_warehouse=False)

for fieldname, value in ret.items():
if item.meta.get_field(fieldname) and value is not None:
Expand Down

0 comments on commit 4d614c1

Please sign in to comment.