Guewen Baconnier e32fefa078 Fix concurrency race condition on picking state
When the 2 last moves of a stock.picking are assigned at the same
time by 2 jobs (different products both available), none of the
transaction will see that it is the last move to be assigned. As a
result, the picking will stay in state "confirmed" even if all its
moves are assigned.

Lock the stock.picking records when we call auto_assign.
If we have many pickings touched for the same product, the lock
can be quite large, so we may have to find a better option.

I could not write a test to exercise this, because we can't have 2
transactions being aware of it, even if we create the picking in demo
data as tests can be run during install.
2022-11-03 15:07:32 +01:00
2022-10-03 22:07:40 +02:00
2022-10-20 11:30:29 +00:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-03 22:07:40 +02:00
2022-10-20 11:30:28 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

stock-logistics-warehouse

TODO: add repo description.

Available addons

addon version maintainers summary
stock_mts_mto_rule 16.0.1.0.0 Add a MTS+MTO route
stock_package_type_button_box 16.0.1.0.0 rousseldenis This module is a technical module that allows to fill in a button box for Stock Package Type form view

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

Description
Odoo Warehouse Management Addons
Readme 142 MiB
Languages
HTML 50.9%
Python 48.2%
JavaScript 0.8%
SCSS 0.1%