Commit Graph

842 Commits

Author SHA1 Message Date
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
davidborromeo
64759b18e3 [IMP] procurement_auto_create_group: black, isort, prettier 2023-08-22 12:59:28 +02:00
OCA Transbot
b843f1e3f2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-procurement_auto_create_group/
2023-08-22 12:59:28 +02:00
OCA Transbot
32149c0a62 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-procurement_auto_create_group/
2023-08-22 12:59:28 +02:00
OCA Transbot
d87079f27e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-procurement_auto_create_group/
2023-08-22 12:59:28 +02:00
OCA-git-bot
9e27dc177d [UPD] README.rst 2023-08-22 12:59:28 +02:00
oca-travis
21b6027546 [UPD] Update procurement_auto_create_group.pot 2023-08-22 12:59:28 +02:00
HviorForgeFlow
42fc859add [MIG] procurement_auto_create_group: Migration to 13.0 2023-08-22 12:59:28 +02:00
HviorForgeFlow
17fb5ed3af [IMP] procurement_auto_create_group: black, isort, prettier 2023-08-22 12:59:28 +02:00
黎伟杰
31b1d980c6 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-procurement_auto_create_group/zh_CN/
2023-08-22 12:59:28 +02:00
Alexandre Fayolle
ab4927d120 Translated using Weblate (French)
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-procurement_auto_create_group/fr/
2023-08-22 12:59:28 +02:00
OCA-git-bot
91f69ab99e [UPD] README.rst 2023-08-22 12:59:28 +02:00
OCA Transbot
80be7b1d89 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-procurement_auto_create_group
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-procurement_auto_create_group/
2023-08-22 12:59:28 +02:00
OCA-git-bot
ff88ad3694 [UPD] README.rst 2023-08-22 12:59:28 +02:00