Commit Graph

52 Commits

Author SHA1 Message Date
mymage
87b598688f Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2024-06-04 15:41:12 +00:00
OCA-git-bot
f665f1e7f5 [BOT] post-merge updates 2024-05-02 10:45:40 +00:00
OCA-git-bot
ebd55aee8a Merge PR #2013 into 16.0
Signed-off-by yajo
2024-05-02 10:41:37 +00:00
mymage
d3577b9c78 Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2024-04-29 14:41:10 +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
Weblate
65bf0f0740 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/
2024-04-26 09:26:23 +00:00
OCA-git-bot
7747c59244 [BOT] post-merge updates 2024-04-26 09:26:04 +00:00
oca-ci
d5c4d6f7c8 [UPD] Update stock_move_packaging_qty.pot 2024-04-26 09:22:15 +00:00
Emilio Pascual
fe6326a210 [FIX] stock_move_packaging_qty: add packaging qty reserved
- Add packaging qty reserved in stock move line with compute to know packaging reserved when reserved.

MT-5861 @moduon

Co-authored-by: Emilio Pascual <53056345+EmilioPascual@users.noreply.github.com>
2024-04-26 10:40:04 +02:00
OCA-git-bot
50edcd972b [BOT] post-merge updates 2024-04-22 07:25:53 +00:00
Emilio Pascual
48c204e049 [FIX] Round packaging qty
MT-5811 @moduon
2024-04-22 08:28:04 +02:00
mymage
bf864ee33a Translated using Weblate (Italian)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2024-04-19 10:40:39 +00:00
OCA-git-bot
f4a3df8f6c [BOT] post-merge updates 2024-04-19 09:21:53 +00:00
OCA-git-bot
029ca0d30a Merge PR #2002 into 16.0
Signed-off-by yajo
2024-04-19 09:18:21 +00: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
mymage
a5e2f134e3 Translated using Weblate (Italian)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2024-04-19 07:37:43 +00:00
OCA-git-bot
2857fc6725 [BOT] post-merge updates 2024-04-18 11:15:07 +00:00
OCA-git-bot
5569bc40ab Merge PR #2000 into 16.0
Signed-off-by yajo
2024-04-18 11:11:20 +00:00
Emilio Pascual
2b91e58792 [IMP] Add packaging and packaging qty done to move line tree detailed
MT-5810 @moduon
2024-04-18 12:41:22 +02:00
Jairo Llopis
faa031c3ae Translated using Weblate (Spanish)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/es/
2024-04-18 10:38:26 +00:00
Weblate
85b5fc37b4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/
2024-04-12 09:05:38 +00:00
OCA-git-bot
c9a94fafd2 [BOT] post-merge updates 2024-04-12 09:05:19 +00:00
oca-ci
1170c89fd2 [UPD] Update stock_move_packaging_qty.pot 2024-04-12 09:01:35 +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
mymage
f39d241cb8 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2024-03-19 15:37:25 +00:00
Weblate
9f9f9c0682 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/
2024-03-18 08:39:35 +00:00
OCA-git-bot
0ef4f7e59f [BOT] post-merge updates 2024-03-18 08:39:21 +00:00
oca-ci
fbc5e16daa [UPD] Update stock_move_packaging_qty.pot 2024-03-18 08:35:46 +00:00
Jairo Llopis
fa55afd91d [IMP] stock_move_packaging_qty: shorter qty field label
The label was too wide for such a small value.

@moduon MT-5363
2024-03-18 07:55:46 +00:00
loida-vm
68bd273e56 Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/es/
2024-03-15 12:37:44 +00:00
loida-vm
ed69ad6884 Added translation using Weblate (Spanish) 2024-03-15 09:42:59 +00:00
mymage
08e5fa632d Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_move_packaging_qty
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_packaging_qty/it/
2023-11-21 13:33:40 +00:00
mymage
69f9f92b9a Added translation using Weblate (Italian) 2023-11-17 15:03:34 +00:00
OCA-git-bot
7613819641 [UPD] README.rst 2023-09-11 06:43:59 +00:00
OCA-git-bot
935fc2e3b4 stock_move_packaging_qty 16.0.1.1.0 2023-09-11 06:43:54 +00:00
OCA-git-bot
b27aabf740 [UPD] README.rst 2023-09-11 06:43:53 +00:00
OCA-git-bot
a38209db44 Merge PR #1833 into 16.0
Signed-off-by yajo
2023-09-11 06:40:04 +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
39c834f6ea [UPD] README.rst 2023-09-03 17:22:50 +00:00
OCA-git-bot
1dc28351c6 stock_move_packaging_qty 16.0.1.0.1 2023-08-31 12:35:09 +00:00
OCA-git-bot
8a628d37c7 [UPD] README.rst 2023-08-31 12:35:08 +00:00
oca-ci
2d96ddc71c [UPD] Update stock_move_packaging_qty.pot 2023-08-31 12:31:39 +00:00
Jairo Llopis
592dc5916d [REF] stock_move_packaging_qty: closer match upstream UX
Without this patch, a user that wasn't able to edit a picking product qty would be able to edit the packaging qty and produce a product qty update (which they shouldn't be able to do).

Now, the field is hidden or readonly when the `product_uom_qty` field is too.

Also, the inverse method of `product_packaging_qty` was only being triggered when saving. That doesn't fit well with v16, where saving is pseudo-automatic. Thus, the inverse is reused as an onchange.

To make it worse, the inverse method had a lot of validations. If they were meaningful, they should have been constraints instead. But they really didn't make any sense because they were testing impossible scenarios. For example, they were testing you didn't update the field when there's no packaging, but that's fixed now with a dynamic readonly attribute; also they were testing that the packaging qty != 0, but there's an upstream sql constraint that forbids that.

There was a check that warned about impossible combinations of packages and UoM qtys. Now that everything is properly automated, that scenario is impossible. Thus, the check is removed.

Summarizing, the module should be more usable and consistent now.

@moduon MT-3694
2023-08-30 12:18:50 +01: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-travis
b930d73b86 [UPD] Update stock_move_packaging_qty.pot 2023-08-28 07:48:01 +01:00
OCA-git-bot
b613f44034 stock_move_packaging_qty 13.0.1.1.1 2023-08-28 07:48:01 +01:00
oca-travis
e5672fadf3 [UPD] Update stock_move_packaging_qty.pot 2023-08-28 07:48:01 +01:00
Carlos Roca
21e6a2095e [FIX] stock_move_packaging_qty: Warning on runbot
Since v13 the use of decimal_precision is deprecated, so we have to use
the correct way.
2023-08-28 07:48:01 +01:00
OCA-git-bot
45821522c0 [ADD] icon.png 2023-08-28 07:48:01 +01:00
OCA-git-bot
7f33883971 [UPD] README.rst 2023-08-28 07:48:01 +01:00