v 12.0 Third Party 10
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Discuss (mail)
Lines of code 213
Technical Name stock_realign_move_and_quants
LicenseAGPL-3
Websitehttps://github.com/OCA/stock-logistics-warehouse
You bought this module and need support? Click here!

Stock Realign Moves and Quants

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

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: https://github.com/odoo/odoo/issues/62139

Table of contents

Usage

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp
  • Coop IT Easy SCRLfs

Contributors

  • Camptocamp:
    • Alexandre Fayolle (actual fix)
  • ForgeFlow, S.L.
  • Coop IT Easy SCRLfs:
    • Robin Keunen (wrapping)

Maintainers

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 https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.