Skip to main content

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

Project description

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: 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 smashing 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_stock_realign_move_and_quants-12.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_stock_realign_move_and_quants-12.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34aef4fde6d65195fd0ccbe0494d2bf8f531abb245b71a59f6adefa8a92af215
MD5 72450a74728a12804876ece89eb08a0e
BLAKE2b-256 0ab16c5465e556ba1147164d2bbac319d653e305938f4fbd8a922b0cb5446f19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page