elgentos/magento2-inventory-log

Magento 2 - Inventory Log

Installs: 41 235

Dependents: 0

Suggesters: 0

Security: 0

Stars: 29

Watchers: 3

Forks: 23

Open Issues: 12

Type:magento2-module

1.1.8 2024-10-01 07:32 UTC

This package is auto-updated.

Last update: 2024-10-31 07:44:08 UTC


README

This extension was originally written by KiwiCommerce but has been archived since November 2020. Since we (at elgentos) feel this extension is the best inventory logger extension available, we decided to adopt it.

Overview

  • Keep the log of product inventory for every single transaction. Ex. Product import, Order placed, Insert/Update operation through queries and lot more.
  • Admin knows when and why the inventory changed.
  • This extension keeps a log of inventory when:
    • Order placed from frontend, admin and API
    • Product import
    • Manually product inventory change by admin
    • Directly inventory insert update in a database
    • Product created using API
    • Credit Memo generation
    • Order fail and Cancel

Installation

This extension only works on Magento 2.4.x. Upgrade y'all.

composer require elgentos/magento2-inventory-log
php bin/magento setup:upgrade

Inventory Log per Product

Navigate to Product > Catalog and Click on edit link of the product. Then click 'Inventory Log' under Quantity option. You'll see a graph plotting the 100 most recent stock movements, and a grid showing all stock movements.

image

Inventory Log Grid

A grid with all stock movement can now be found under Reports > (Products) Stock Movement.

image

Stock Movement Graph

From the Inventory Log Grid, you can click on Graph to see the same graph as on the product edit page;

image

Configuration

You need to follow this path. Stores > Configuration > Catalog > Inventory > Stock Options > Inventory Log Enabled.

Constraints

  • Database user must have to get the create trigger permission in order to use this extension.
  • After enabling disabled extension using the command, admin/user will have to enable the extension again from the store configuration.

Contribution

Lots of thanks goes to KiwiCommerce for initially developing this extension. We know open-source maintenance is hard, so we appreciate it!