Commit Graph

15 Commits

Author SHA1 Message Date
OCA-git-bot
f665f1e7f5 [BOT] post-merge updates 2024-05-02 10:45:40 +00:00
Emilio Pascual
4dedb2060d [IMP] stock_move_packaging_qty: Set packaging qty reserved when move assign
MT-5861 @moduon
2024-04-29 12:42:44 +00:00
OCA-git-bot
7747c59244 [BOT] post-merge updates 2024-04-26 09:26:04 +00:00
OCA-git-bot
50edcd972b [BOT] post-merge updates 2024-04-22 07:25:53 +00:00
OCA-git-bot
f4a3df8f6c [BOT] post-merge updates 2024-04-19 09:21:53 +00:00
OCA-git-bot
2857fc6725 [BOT] post-merge updates 2024-04-18 11:15:07 +00:00
OCA-git-bot
c9a94fafd2 [BOT] post-merge updates 2024-04-12 09:05:19 +00: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
OCA-git-bot
0ef4f7e59f [BOT] post-merge updates 2024-03-18 08:39:21 +00:00
OCA-git-bot
935fc2e3b4 stock_move_packaging_qty 16.0.1.1.0 2023-09-11 06:43:54 +00: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
OCA-git-bot
1dc28351c6 stock_move_packaging_qty 16.0.1.0.1 2023-08-31 12:35:09 +00:00
Jairo Llopis
a382f0eb3c [MIG] stock_move_packaging_qty: migrate to 16.0
- Code and DB migrations to use upstream field `product_packaging_id`, introduced in https://github.com/odoo/odoo/pull/68654.
- Test class moved to `post_install`, to let it pass if `sale_stock` is installed too.
- Satisfy new linters.

@moduon MT-3694
2023-08-28 11:39:57 +01:00
OCA-git-bot
b613f44034 stock_move_packaging_qty 13.0.1.1.1 2023-08-28 07:48:01 +01:00
Mateu Griful
84de2d48d2 [ADD] stock_packaging_qty 2023-08-28 07:48:00 +01:00