Quantcast
Channel: PrestaShop Developers' blog
Viewing all articles
Browse latest Browse all 922

Advanced Stock Management patches

$
0
0

It has been in the pipeline for a while, it’s now official, PrestaShop 1.6.1.11 will ship some patches concerning the advanced stock management. In beta at first, it will allow you to judge the stability of this release, and important fixes that have been applied to this version. So your feedback is really important to us!

Reorganization of advanced stock management screen

We have simplified the views of advanced stock management, to bring more consistency.

Stock management

This tab now only displays products for which advanced stock management is enabled. This makes it impossible to add stock to ineligible products. Besides, products transfers and stock line removals are only allowed with the id_stock parameter, which prevents errors linked to stock movements.

Stock management

Stock movement

In this tab, a few changes:

  • we have fixed movement order: movements are now proposed from the newest to the oldest,
  • a patch that fixes the icons display has been introduced.

Stock movement

Instant stock status

This tab is the one that has been the least affected, only columns with wrong outputs have been corrected. Products are listed by combinations, with stock quantities (physical and usable) which are now valid. We removed the real quantity column altogether: it was supposed to take into account supply orders, which in fact were never linked to stock quantities. So the column was simply useless in this state.

Instant stock status

Supply orders

With regards to supplier orders, a bug related to status changes (specifically the completely received status) has been fixed. Previously, stock quantities were not updated in physical receipts. Now, when an order is fully received, stock movement is added to the history and stocks are updated properly!

Supply orders

See Github & Forge

All the changes that have been made to advanced stock management can be found here: #7117.

This PR fixes a lot of Forge issues, some of them:

Remember

These patches focus on improving the display and edition of stocks. So they don’t solve every other problem with advanced stock management.

Ideally, you should enable advanced stock management only on new products, or a product which doesn’t have an order in progress. Otherwise, a problem of consistency between the product page (available quantity) and the stock page (real quantity) is known to happen. To solve this consistency problem, you’ll have to process all open customer orders that were created before you activated ASM.

  1. To do so, it is important you use (or create) an order status that considers the products as shipped or delivered, then switch the current orders to this new status.
  2. This will remove the reservation of the products but won’t decrease the physical stock since no warehouse was attached to the order at that time. So you might then have to adjust your physical quantity.

How to help us

You can test this release, only in a test environment and tell us what works and what doesn’t. You can open a Forge issue and flag your problem with advanced_stock_management label, also, you can give us your impression by reacting to this post.

We hope you’ll like these fixes!

Try 1.6.1.11 beta now!


Viewing all articles
Browse latest Browse all 922

Trending Articles