magento2-inventory-log
magento2-inventory-log copied to clipboard
"Inventory-log" module with MSI
Hello,
We are using Magento 2.4.3-p1 with MSI. The "Inventory-log" module doesn't seem to work with MSI. With MSI, there is no link in the product sheet to access the logs. Has anyone ever used this module with MSI? Is there a way to use it with MSI?
Thank you in advance for your help.
It's actually not only that it is not displayed on the product edit page. You could theoretically still have a look at Reports > Stock Movement. However, the module currently only adds SQL triggers to cataloginventory_stock_item. MSI doesn't use this table any more. Instead, stock changes are written to inventory_source_item. Therefore, the module would need to be extended. This would probably also mean that kiwicommerce_stock_movement would need to be extended by a new column like source_code to define in which MSI source the qty was actually changed.
@peterjaap, am I missing something, or do you really only use the module with clients that have MSI completely disabled / removed / replaced?
@sprankhub we deliberately don't use MSI on any project, so you are correct; we really only use the module with clients without MSI.
Thanks for your feedback, @peterjaap! Would you accept a PR adding MSI support, though? Not sure if I get to this (depends on the client), but I wanted to check before anyway :)
@sprankhub ofcourse!