Skip to content

Respect disabled stock management in inventory navigation - #1251

Merged
sridharkalaibala merged 1 commit into
developfrom
codex/gshcl-stock-navigation
Oct 11, 2026
Merged

sridharkalaibala merged 1 commit into
developfrom
codex/gshcl-stock-navigation

Conversation

@sridharkalaibala

Copy link
Copy Markdown
Contributor

When stock management is disabled, Inventory Logs, Stock Counts and Low Stock still appear in the sidebar. Cache the branch stock-management setting when loading or saving settings, and use it to hide those three entries. Historical records remain accessible and unchanged.

Validation: JavaScript syntax checks for both changed files; attribution check passed. Installer deployment is not included.

Signed-off-by: Sridhar Bala <sridharkalaibala@gmail.com>
@sridharkalaibala
sridharkalaibala merged commit b36c670 into develop Oct 11, 2026
11 checks passed
@github-actions github-actions Bot added the ready for QA Merged to develop and live on develop.posnic.io - anyone can test it label Oct 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Merged to develop. Anyone can test this - you do not need write access.

Try it at https://develop.posnic.io, or run it yourself:

git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev   # then http://localhost:3000

When you have tested it, say what you did and what happened, and set
QA passed or QA failed. If you cannot set labels, just comment -
a maintainer will.

Reporting that something is broken is as useful as fixing it. It is
better found here than by a shopkeeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for QA Merged to develop and live on develop.posnic.io - anyone can test it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant