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(ux): change batch selection message to alert #36500

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

rtdany10
Copy link
Contributor

@rtdany10 rtdany10 commented Aug 5, 2023

Batch not found msgprint to alert if not for throw

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Aug 5, 2023
@s-aga-r s-aga-r added fix-linter and removed needs-tests This PR needs automated unit-tests. labels Aug 5, 2023
@rtdany10
Copy link
Contributor Author

rtdany10 commented Aug 5, 2023

@s-aga-r seems like the function is getting called multiple times? There are 2 alert box on screen for a single item.

@rtdany10
Copy link
Contributor Author

rtdany10 commented Aug 5, 2023

I guess a better solution would be to add a checkbox in Stock Settings to enable auto batch picking. Thoughts?

@s-aga-r
Copy link
Contributor

s-aga-r commented Aug 5, 2023

I guess a better solution would be to add a checkbox in Stock Settings to enable auto batch picking. Thoughts?

Already added in v15 (for Serial and Batch Bundle)

@s-aga-r s-aga-r removed the fix-linter label Aug 5, 2023
@rtdany10
Copy link
Contributor Author

rtdany10 commented Aug 6, 2023

How about not displaying the message if throw is false?

@mergify mergify bot closed this Aug 11, 2023
@mergify
Copy link
Contributor

mergify bot commented Aug 11, 2023

This pull request has been automatically closed by Mergify.

@mergify
Copy link
Contributor

mergify bot commented Aug 11, 2023

@rtdany10, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch

@rtdany10
Copy link
Contributor Author

@s-aga-r please merge this for now

@s-aga-r s-aga-r reopened this Aug 17, 2023
@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Aug 17, 2023
@s-aga-r s-aga-r added backport version-14-hotfix backport to version 14 and removed needs-tests This PR needs automated unit-tests. labels Aug 17, 2023
@s-aga-r s-aga-r merged commit 641fe77 into frappe:version-14 Aug 17, 2023
19 of 20 checks passed
frappe-pr-bot pushed a commit that referenced this pull request Aug 17, 2023
## [14.35.1](v14.35.0...v14.35.1) (2023-08-17)

### Bug Fixes

* **ux:** change batch selection message to alert ([#36500](#36500)) ([641fe77](641fe77))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.35.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

mergify bot pushed a commit that referenced this pull request Aug 17, 2023
* fix(ux): change batch selection message to alert

* chore: linters

(cherry picked from commit 641fe77)
s-aga-r pushed a commit that referenced this pull request Aug 17, 2023
…36697)

fix(ux): change batch selection message to alert (#36500)

* fix(ux): change batch selection message to alert

* chore: linters

(cherry picked from commit 641fe77)

Co-authored-by: Dany Robert <danyrt@wahni.com>
@s-aga-r
Copy link
Contributor

s-aga-r commented Aug 17, 2023

@rtdany10 please make sure to raise PR in the hotfix branch next time.

@ankush
Copy link
Member

ankush commented Aug 17, 2023

@rtdany10 / @s-aga-r don't release changes like this.

You can copy PR to hotfix if it's required by doing @mergify copy branch

@rtdany10
Copy link
Contributor Author

My bad, will be careful next time

frappe-pr-bot pushed a commit that referenced this pull request Aug 23, 2023
# [14.36.0](v14.35.2...v14.36.0) (2023-08-23)

### Bug Fixes

* Accounts Payable Currency bug ([94612b9](94612b9))
* Add company filters for account ([e62ffa9](e62ffa9))
* add missing items labels back ([#36737](#36737)) ([3634e80](3634e80))
* broken advance field in Accounts Receivable summary rpt ([296a4d7](296a4d7))
* broken consolidated report due to finance book filter ([5bd2a09](5bd2a09))
* check tax and charges if it is passed ([1f76c69](1f76c69))
* clear dimension defaults after test ([2a467a9](2a467a9))
* dict value for dimension for gl entries defined without the dimension ([11ba553](11ba553))
* dimension name in remark ([01ae513](01ae513))
* divide offsetting amount for multiple dimensions ([1269f2d](1269f2d))
* divide offsetting amount only when account exists ([2c8c3a0](2c8c3a0))
* Document Name link validation in Bank Reconciliation Tool ([#36495](#36495)) ([83cbc1b](83cbc1b)), closes [#35540](#35540) [#35540](#35540)
* don't throw if item does not have default BOM (backport [#36709](#36709)) ([#36734](#36734)) ([e1bd9a7](e1bd9a7))
* duplicate acc dimension in test ([cdb66bf](cdb66bf))
* fetch acc dimensions correctly when fieldname is different from name ([7ac35b4](7ac35b4))
* fetch accounting dimension details specific to company ([c1f1a21](c1f1a21))
* include gain/loss journal in AR/AP reports ([4606079](4606079))
* incorrect gl balance on multi company setup ([cb9aad3](cb9aad3))
* incorrect schedule in asset value adjustment ([#36725](#36725)) ([a0575ed](a0575ed))
* make offsetting entry for acc dimensions ([3198f26](3198f26))
* make offsetting entry for all doctypes ([f578c32](f578c32))
* mode of payment fetched from pos profile company in POS ([c74a414](c74a414))
* not able to make stock entry ([#36759](#36759)) ([873ee38](873ee38))
* Procurement Tracker report not showing material request items ([#36768](#36768)) ([6a9935c](6a9935c))
* reset dimension defaults when company changedin test ([37ef6e9](37ef6e9))
* **RFQ:** make "update password" and "submit quotation" buttons the same size (backport [#36667](#36667)) ([#36686](#36686)) ([36147ec](36147ec))
* timeout error coming during reposting ([#36715](#36715)) ([620b21f](620b21f))
* **ux:** change batch selection message to alert (backport [#36500](#36500)) ([#36697](#36697)) ([0a4947a](0a4947a))
* **UX:** Ignore prepared report ([3e23e1f](3e23e1f))

### Features

* **RFQ:** make email message fully configurable (backport [#36353](#36353)) ([#36531](#36531)) ([c308bd5](c308bd5))
* Tick on checkbox to include draft timesheets (backport [#36577](#36577)) ([#36640](#36640)) ([9668615](9668615))
* utility to repost accounting ledgers without cancellation ([#36469](#36469)) ([f8d6fe6](f8d6fe6))

### Performance Improvements

* pull latest details only for referenced vouchers ([47345e8](47345e8))
@rtdany10 rtdany10 deleted the batch-msg branch August 25, 2023 10:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants