KEMBAR78
Do not create an Inventory Adjustment when we finalize an Audit · Issue #5307 · rubyforgood/human-essentials · GitHub
Skip to content

Do not create an Inventory Adjustment when we finalize an Audit #5307

@awwaiid

Description

@awwaiid

Summary

Right now we show '0 changes' in the inventory adjustment summary when we create an audit. Change it so that audits don't create an inventory adjustment at all.

Why

Reduce potential confusion; we don't need this anymore after adding inventory events!

Details

To see: sign in as org_admin1@example.com. Enter and finalize an audit, then go into Inventory|Inventory Adjustments. You will see an entry for the audit.

Instead, when the audit is finalized, remove the bit of code that actually creates an adjustment, it is no longer needed. See app/controllers/audits_controller.rb def finalize.

Criteria for completion

  • Behavior as described
  • Automated tests updated (this might be deleting existing incorrect tests)
  • No user guide update needed

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions