Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: apply price list rate #31410

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Jun 20, 2022

While applying price list, field hooks did not get triggered. This is fixed by using frappe.model.set_value instead of assigning new values to item_row.

Also improved the readability a bit, for example: for(var i=0, l=children.length; i<l; i++) -> for (const child of children)

@deepeshgarg007 deepeshgarg007 merged commit 6bb203d into frappe:develop Jul 2, 2022
@barredterra barredterra deleted the apply-price-list branch July 4, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants