Commit Graph

855 Commits

Author SHA1 Message Date
Kevin Khao
3e7ab91506 [ADD] 12.0: stock_putaway_product_form 2023-09-13 05:37:50 -03:00
OCA-git-bot
7613819641 [UPD] README.rst 2023-09-11 06:43:59 +00:00
OCA-git-bot
992eef0aa0 [UPD] addons table in README.md 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
Weblate
a879147e6e 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-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-procurement_auto_create_group/
2023-09-03 20:42:01 +00:00
OCA-git-bot
39c834f6ea [UPD] README.rst 2023-09-03 17:22:50 +00:00
Weblate
9b30e48dd4 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_reserve
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_reserve/
2023-09-02 20:38:54 +00:00
OCA-git-bot
5401f51545 [UPD] addons table in README.md 2023-08-31 12:35:14 +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
12f55a949e [ADD] setup.py 2023-08-31 12:35:09 +00:00
OCA-git-bot
8a628d37c7 [UPD] README.rst 2023-08-31 12:35:08 +00:00
OCA-git-bot
cb90b28f65 [UPD] addons table in README.md 2023-08-31 12:35:04 +00:00
oca-ci
8315703201 [UPD] Update stock_reserve.pot 2023-08-31 12:31:43 +00:00
oca-ci
2d96ddc71c [UPD] Update stock_move_packaging_qty.pot 2023-08-31 12:31:39 +00:00
OCA-git-bot
148f8149a3 Merge PR #1823 into 16.0
Signed-off-by rafaelbn
2023-08-31 12:27:44 +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
Jairo Llopis
27a237d6ac [IMP] stock_move_packaging_qty: black, isort, prettier 2023-08-28 07:48:19 +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
oca-travis
16ca5698e3 [UPD] Update stock_move_packaging_qty.pot 2023-08-28 07:48:00 +01:00
Mateu Griful
84de2d48d2 [ADD] stock_packaging_qty 2023-08-28 07:48:00 +01:00
OCA-git-bot
bcfb25f386 [ADD] setup.py 2023-08-23 10:59:19 +00:00
OCA-git-bot
ed0f836a4c [UPD] README.rst 2023-08-23 10:59:19 +00:00
OCA-git-bot
b5f4499ff8 [UPD] addons table in README.md 2023-08-23 10:59:15 +00:00
oca-ci
6d57d9f6f8 [UPD] Update procurement_auto_create_group.pot 2023-08-23 10:55:49 +00:00
OCA-git-bot
0a8c5c4ec5 Merge PR #1819 into 16.0
Signed-off-by jbaudoux
2023-08-23 10:52:44 +00:00
Laurent Mignon (ACSONE)
6e15826cd0 [MIG] procurement_auto_create_group: Migration to 16.0 2023-08-23 10:24:43 +02:00
Laurent Mignon (ACSONE)
5a7231a4c2 [IMP] procurement_auto_create_group: pre-commit stuff 2023-08-23 10:16:13 +02:00
Ivorra78
7082081499 Translated using Weblate (Spanish)
Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-procurement_auto_create_group/es/
2023-08-22 12:59:28 +02:00
jabelchi
4d4b1587ba Translated using Weblate (Catalan)
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-procurement_auto_create_group/ca/
2023-08-22 12:59:28 +02:00
jabelchi
4a6c903a70 Added translation using Weblate (Catalan) 2023-08-22 12:59:28 +02:00
OCA-git-bot
f9e13e7c9c [UPD] README.rst 2023-08-22 12:59:28 +02:00
oca-ci
4b52ac7fe1 [UPD] Update procurement_auto_create_group.pot 2023-08-22 12:59:28 +02:00
Bernat Puig Font
190f0a6024 [IMP] procurement_auto_create_group: auto_create_group for push rules 2023-08-22 12:59:28 +02:00
Bernat Puig Font
b9fbf74592 [MIG] procurement_auto_create_rule: Migration to 15.0 2023-08-22 12:59:28 +02:00
OCA Transbot
5766820ed6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-procurement_auto_create_group/
2023-08-22 12:59:28 +02:00
OCA-git-bot
f733564953 [UPD] README.rst 2023-08-22 12:59:28 +02:00
oca-travis
cc773113ba [UPD] Update procurement_auto_create_group.pot 2023-08-22 12:59:28 +02:00
Jacques-Etienne Baudoux
c1dce6e377 procurement_auto_create_group: Set partner on created procurement group 2023-08-22 12:59:28 +02:00
OCA-git-bot
01664cbdeb [UPD] README.rst 2023-08-22 12:59:28 +02:00
oca-travis
fe5a57600d [UPD] Update procurement_auto_create_group.pot 2023-08-22 12:59:28 +02:00
davidborromeo
5535198d96 [MIG] procurement_auto_create_group: Migration to 14.0 2023-08-22 12:59:28 +02:00