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: Item qty gets reset to default on adding items using Add Multiple button #12244

Merged
merged 2 commits into from Feb 4, 2021

Conversation

Anuja-pawar
Copy link
Contributor

@Anuja-pawar Anuja-pawar commented Jan 20, 2021

Issue:
On adding items using Add Multiple button, Qty gets reset to default (1).

This issue can be replicated on Sales Order, Purchase Order etc wherever Add Multiple button is. (with Items Table)

Screen-Recording-2021-01-20-at-7 11 17-PM

Solution:
Making a single call to set values for Item code & Qty instead of two separate calls solves the issue.

Screen-Recording-2021-01-20-at-7 44 36-PM

@Anuja-pawar Anuja-pawar requested a review from a team as a code owner January 20, 2021 18:18
@Anuja-pawar Anuja-pawar requested review from prssanna and removed request for a team January 20, 2021 18:18
@Anuja-pawar Anuja-pawar changed the title fix: Preventing item qty from resetting to default on adding items using Add Multiple button fix: Item qty gets reset to default on adding items using Add Multiple button Jan 20, 2021
@mergify mergify bot merged commit d35ac49 into frappe:develop Feb 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants