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: Add permission check in POS's Toggle Recent Orders (backport #46010) #46273

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 4, 2025

Support ticket: Support Ticket - 32187

In POS's Toggle Recent Orders, permission was not checked, so all invoices were visible.
So, use get_list instead of get_al to check for permissions.


This is an automatic backport of pull request #46010 done by [Mergify](https://mergify.com).

(cherry picked from commit a08bc6b)

# Conflicts:
#	erpnext/selling/page/point_of_sale/point_of_sale.py
@mergify mergify bot requested a review from deepeshgarg007 as a code owner March 4, 2025 12:34
@mergify mergify bot added the conflicts label Mar 4, 2025
@mergify mergify bot requested a review from ruthra-kumar as a code owner March 4, 2025 12:34
Copy link
Contributor Author

mergify bot commented Mar 4, 2025

Cherry-pick of a08bc6b has failed:

On branch mergify/bp/version-14-hotfix/pr-46010
Your branch is up to date with 'origin/version-14-hotfix'.

You are currently cherry-picking commit a08bc6b913.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   erpnext/selling/page/point_of_sale/point_of_sale.py

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Mar 4, 2025
@ljain112 ljain112 removed the conflicts label Mar 4, 2025
@nabinhait nabinhait merged commit 557a05b into version-14-hotfix Mar 5, 2025
10 checks passed
@nabinhait nabinhait deleted the mergify/bp/version-14-hotfix/pr-46010 branch March 5, 2025 06:34
frappe-pr-bot pushed a commit that referenced this pull request Mar 5, 2025
## [14.83.2](v14.83.1...v14.83.2) (2025-03-05)

### Bug Fixes

* Add permission check in POS's `Toggle Recent Orders` (backport [#46010](#46010)) ([#46273](#46273)) ([557a05b](557a05b))
* auto allocation for negative amount outstanding for Customers in Payment Entry ([8e02dcf](8e02dcf))
* change voucher_type and voucher_no field type to data ([df4f4d9](df4f4d9))
* consolidate gl entries by project in General Ledger Report (backport [#46314](#46314)) ([#46320](#46320)) ([b3b7e62](b3b7e62))
* do not include opening invoices in billed items to be received report ([cedf577](cedf577))
* don't allow renaming account while system is actively in use (backport [#46176](#46176)) ([#46209](#46209)) ([167069b](167069b))
* exclude cancelled gl entries ([369a692](369a692))
* incorrect batch picked in the pick list ([ac25d3e](ac25d3e))
* incorrectly billed amount in the purchase receipt ([ca94ad3](ca94ad3))
* inventory dimension for maintence visit ([69a8e0d](69a8e0d))
* only include submitted docs for internal received quantity validation (backport [#46262](#46262)) ([#46303](#46303)) ([90b5f0b](90b5f0b))
* **patch:** Ensure SLE indexes (backport [#46131](#46131)) ([#46134](#46134)) ([f8bbcab](f8bbcab))

### Performance Improvements

* don't track seen for POS Invoice (backport [#46187](#46187)) ([#46188](#46188)) ([b41ee66](b41ee66))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.83.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants