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 Filter Warehouses (multicompany) for Product Stock tab Limit Stock By Warehouses #29695

Merged
merged 3 commits into from
May 21, 2024

Conversation

ibuiv
Copy link
Contributor

@ibuiv ibuiv commented May 15, 2024

FIX Filter Warehouses for stock limits (multicompany)

Table allowing to define stock limits by warehouses does not have to display all existing warehouses (because some of them may belong to other entites and may not be shared).
It is important, because if user has the right to create product, he/she has the right to delete those limits too.

Just added a check to ensure Entrepot->entity is in getEntity('stock')

BEFORE
image

AFTER
image

@eldy eldy merged commit 3e3640c into Dolibarr:develop May 21, 2024
2 of 5 checks passed
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