kiwicommerce / magento2-inventory-log Goto Github PK
View Code? Open in Web Editor NEWMagento 2 - Inventory Log by KiwiCommerce
Home Page: https://kiwicommerce.co.uk/extensions/magento2-inventory-log/
Magento 2 - Inventory Log by KiwiCommerce
Home Page: https://kiwicommerce.co.uk/extensions/magento2-inventory-log/
Hello, would you please tag a new version to include the most recent commits as a release? Thanks.
phpunit/phpunit
6.2.xkiwicommerce/magento2-inventory-log
kiwicommerce/module-inventory-log
should passPHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in vendor/kiwicommerce/module-inventory-log/Test/Unit/Helper/DataTest.php on line 16
The unit tests aren't updated to work with the PHP unit version used with Magento 2.2.
Creating a credit nota with deleted products will give an error
[2020-07-28 11:42:19] main.CRITICAL: The product that was requested doesn't exist. Verify the product and try again. {"exception":"[object] (Magento\\Framework\\Exception\\NoSuchEntityException(code: 0): The product that was requested doesn't exist. Verify the product and try again. at /vendor/magento/module-catalog/Model/ProductRepository.php:310)"} []
Thanks for your amazing modules, they really help a lot and are very well coded.
In the admin log module we can revert an action, I wonder if it is possible to include this status in the inventory log that the action was reverted by your module.
To reproduce this issue you have to set index to schedule mode:
php bin/magento indexer:set-mode schedule
Originally posted by @simonemonterubbiano in #3 (comment)
Hello,
I have just installed the ext on my magento 2.2.6. It seems only log my manual changes of stock qty. When I create an order from Admin, then complete the order, there's nothing logged. I'm using Flat Catalog.
When I exec:
php bin/magento setup:upgrade
Console returns:
SQLSTATE[42000]: Syntax error or access violation: 1235 This version of MariaDB doesn't yet support 'multiple triggers with the same action time and event for one table', query was: CREATE TRIGGER stock_after_insert AFTER INSERT ON cataloginventory_stock_item FOR EACH ROW
BEGIN
DECLARE isEnable SMALLINT(5);
SELECT 1 INTO isEnable FROM core_config_data WHERE path = 'inventory_log/general/inventory_enabled' and value = 1;
IF (isEnable = 1) THEN
IF (NEW.qty IS NOT NULL) THEN
IF (NEW.ukey IS NULL) THEN
INSERT INTO kiwicommerce_stock_movement(stock_item_id,product_id,current_qty,qty_movement,old_qty,is_in_stock,message,ukey) VALUES (NEW.item_id,NEW.product_id,NEW.qty,NEW.qty,0,NEW.is_in_stock,"Stock updated by direct query Insert",NEW.ukey);
END IF;
END IF;
END IF;
END
php bin/magento Magento_Usps
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.