Refactor production and stock tests to remove UOM dependency #38

Merged
ImanThiyanga merged 1 commits from fix/uom-overall into Dev 2026-08-11 06:03:31 +00:00
Owner
  • Updated production.spec.ts, stock-adjustments.spec.ts, and stock-transfers.spec.ts to eliminate UOM references in API seeder and test cases.
  • Adjusted ApiSeeder methods to remove UOM parameters from stock receiving and production template creation.
  • Revised documentation to reflect changes in UOM handling, emphasizing that stock is counted in base UOM only.
  • Introduced new enums for MeasureUnit and StageQtyUnit to clarify content size and stage input quantities.
  • Implemented ItemContent service to validate and normalize content sizes.
  • Updated smoke tests to validate production stage inputs expressed in content units, ensuring correct consumption calculations.
  • Modified frontend UOM label handling to reflect the removal of per-line UOMs in document lines.
- Updated production.spec.ts, stock-adjustments.spec.ts, and stock-transfers.spec.ts to eliminate UOM references in API seeder and test cases. - Adjusted ApiSeeder methods to remove UOM parameters from stock receiving and production template creation. - Revised documentation to reflect changes in UOM handling, emphasizing that stock is counted in base UOM only. - Introduced new enums for MeasureUnit and StageQtyUnit to clarify content size and stage input quantities. - Implemented ItemContent service to validate and normalize content sizes. - Updated smoke tests to validate production stage inputs expressed in content units, ensuring correct consumption calculations. - Modified frontend UOM label handling to reflect the removal of per-line UOMs in document lines.
ImanThiyanga added 1 commit 2026-08-11 06:03:26 +00:00
- Updated production.spec.ts, stock-adjustments.spec.ts, and stock-transfers.spec.ts to eliminate UOM references in API seeder and test cases.
- Adjusted ApiSeeder methods to remove UOM parameters from stock receiving and production template creation.
- Revised documentation to reflect changes in UOM handling, emphasizing that stock is counted in base UOM only.
- Introduced new enums for MeasureUnit and StageQtyUnit to clarify content size and stage input quantities.
- Implemented ItemContent service to validate and normalize content sizes.
- Updated smoke tests to validate production stage inputs expressed in content units, ensuring correct consumption calculations.
- Modified frontend UOM label handling to reflect the removal of per-line UOMs in document lines.
ImanThiyanga merged commit 0ae80395cf into Dev 2026-08-11 06:03:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: New_REP_SYSTEM/ERP-core#38