Commit Graph

4 Commits

Author SHA1 Message Date
Emilio Pascual
48c204e049 [FIX] Round packaging qty
MT-5811 @moduon
2024-04-22 08:28:04 +02:00
Emilio Pascual
47c8603d43 [FIX] stock_move_packaging_qty: Replace ml with move_line
@moduon MT-5825
2024-04-19 10:59:25 +02:00
Jairo Llopis
ebb9ab7450 [IMP] stock_move_packaging_qty: report done packaging qtys
The title sounds like a simple task, but it requires many changes:

- Store done pkg qtys in `stock.move.line` records.
- The qtys are not computed. Instead, the user must write them by hand. This happens because many times the packaging just indicates an approximate content, but is not always exact until reaching this point of the process, where both the done qtys (both UoM and packagings) are measured and get real values.
- Added compute and inverse on `stock.move` for simple scenarios where one move = one move line.
- Add all this on all reports and views.

This change also opens the door to be able to get a real inventory measured in product packagings. That's not implemented in this MVP, but the idea is recorded.

@moduon MT-5531
2024-04-10 09:03:14 +01:00
Jairo Llopis
ad633c12d6 [IMP] stock_move_packaging_qty: display in PDF reports
Directly display qty on delivery slip.

In the case of picking operations report, compute the qty based on the
one found in the `stock.move.line` and the `product.packaging` ratio.

@moduon MT-3774
2023-09-08 11:03:45 +01:00