Skip to content

IA-4630 add categorie Stock management for project#3042

Merged
62496 merged 5 commits into
developfrom
feat/IA-4630-add_category_Stock_management_mobile_feature_flag
May 26, 2026
Merged

IA-4630 add categorie Stock management for project#3042
62496 merged 5 commits into
developfrom
feat/IA-4630-add_category_Stock_management_mobile_feature_flag

Conversation

@62496
Copy link
Copy Markdown
Collaborator

@62496 62496 commented May 21, 2026

What problem is this PR solving?

Adds a dedicated Stock management category for the mobile stock feature flag and links it to the Stock management module.

Related JIRA tickets

IA-4630

Changes

  • Added a new STM feature flag category labelled “Stock management”.
  • Moved the existing MOBILE_STOCK feature flag into this new category through a data migration.
  • Linked MOBILE_STOCK to the STOCK_MANAGEMENT module so it is hidden from project feature flags when the account does not have the module enabled.
  • Added front-end labels/translations for the new category.
  • Added tests covering MOBILE_STOCK visibility depending on the account modules.

How to test

  1. Run targeted tests:
docker compose exec -T iaso ./manage.py test iaso.tests.api.test_projects
  1. In the UI, open a project edit modal and go to the Feature flags tab.

  2. With the STOCK_MANAGEMENT module enabled on the account, verify that Mobile: Enable stock management appears under the “Stock management” category.

  3. Without the STOCK_MANAGEMENT module, verify that the flag is not displayed.

Copy link
Copy Markdown
Collaborator

@beygorghor beygorghor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the uv.lock file please.

Wroding is a bit weird, but we will keep it like that for now

Image

Comment thread uv.lock Outdated
@62496 62496 requested a review from beygorghor May 22, 2026 10:37
@62496 62496 merged commit f55f7dc into develop May 26, 2026
7 checks passed
@62496 62496 deleted the feat/IA-4630-add_category_Stock_management_mobile_feature_flag branch May 26, 2026 12:37
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.

2 participants