Stock Realign Moves and Quants

Align stock move lines and stock quants. This modules fixes the symptoms and not the root cause.

Technical Name:
Camptocamp, Coop IT Easy SCRLfs
  • Odoo Version

Terms and Conditions

Stock Realign Moves and Quants

Beta License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

A bug in Odoo 12 leads to the desynchronisation of the stock quants and the stock move lines. The root cause has yet to be found. This modules fixes the symptoms and not the cause. It aims to 1. Realign the stock quants and the stock move lines 2. Correct on the fly future desynchronisation

To do that, we assume the source of truth are the move lines rather than the quants.

More information on this issue:

Table of contents


This module adds a wizard in the menu

Inventory > Configuration > Align Stock Moves and Quants

This wizard is only accessible to admin user.

In this wizard, enter the date from which you want to fix the alignement. Good dates are the first ever move (default) or the switch to Odoo 12.

Upon validation, the wizard

  • computes the stock based on the stock move lines,
  • fixes the quants with that value (cf server logs),
  • opens an inventory with all the fixed product.

Both columns, theoretical quantity and verified quantity display the same value. This is normal, theoretical quantity is based on the new fixed quants and verified quantity is set by the wizard based on the moves.

This is a good time to make an actual inventory on those product and fix the values in the inventory.

Finally, click on validate to finish the process.

This module also adds a fix to quant to prevent blocking the pickings in the future.

Known issues / Roadmap

CAREFUL : this module has not been tested on a warehouse with multi-location or using packages.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Camptocamp
  • Coop IT Easy SCRLfs



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

You are welcome to contribute. To learn how please visit

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products