Saturday, August 31, 2024
2 changes
Resolved issues and error corrections
Fixed an issue where users were unexpectedly redirected away from the barcode scanning interface to the backend system when a manufacturing backorder was automatically created. Now users remain in the barcode module to continue their work, improving workflow efficiency and reducing unnecessary navigation steps.
Original PR description
### Steps to reproduce: - Enable multi-step routes in the settings - Inventory > Configuration > Warehouse Management > Operations types - Click on Manufacturing and put "Always" on create a…
### Steps to reproduce: - Enable multi-step routes in the settings - Inventory > Configuration > Warehouse Management > Operations types - Click on Manufacturing and put "Always" on create a backorder - Create a product P (no need for a bom) - Create and confirm a manufacturing order for 2 units of the product - Go to the barcode module > operations > manufacturing > the MO - Register only one unit of P and produce #### > A backorder is automatically created but you are redirected to the backend. ### Note: If you were in "ask" on create backorder or if your product had a bom and you did not register the quantities of consumed components, a pop up would appear and resolving the pop up would redirect you to the kanban view of mrp.production in the barcode module. ### Cause of the issue: The issue was originally solved by commit d90acab by overriding the `action_backorder` however, since commit 1e5c82f the action_backorder is no more part of the flow in "always" flows. opw-3890886
The Knowledge module was missing required dependencies (web_cohort and web_gantt) in its configuration file, which caused the system to crash when installing the module. This fix adds these missing dependencies to ensure the Knowledge module installs and functions properly without errors.
Original PR description
In my enterprise db for some reason i didn't have the web_cohort installed and when installing Knowledge module my db crashed because knowledge module used web_cohort dependency but that dependency was not installed and was not listed on the manifest.py, the simple fix is to add to web_cohort as a dependency 