Skip to content

Conversation

Christian-RB
Copy link

No description provided.

grindtildeath and others added 19 commits October 10, 2025 16:44
Currently translated at 100.0% (3 of 3 strings)

Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/it/
Updating the `picked` or `qty_picked` fields directly will now sync the
expected values in both fields:

- `picked`: updates `qty_picked` to the full quantity if `True`,
  reset `qty_picked` to 0 if `False`
- `qty_picked`: set `picked` to  `True` if > 0, set `picked` to `False` otherwise

Also, do not copy these fields by default.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-workflow-18.0/stock-logistics-workflow-18.0-stock_move_line_qty_picked
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_move_line_qty_picked/it/
In the previous version of this module the computation of
stock.move.line.quantity was modified to reflect the picked quantity.

However, stock.move.line.quantity must reflect the reserved quantity
on the move lines since there is an inverse function that is going
to increase or decrease the quantity on stock.move.line.quantity
accordingly.

The stock.move.quantity must only be updated to reflect the sum
of stock.move.line.qty_picked when stock.move._action_done is called,
to avoid the creation of a backorder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants