Commit Graph

881 Commits

Author SHA1 Message Date
Michele
a868e97dbc [IMP] stock_picking_procure_method: pre-commit stuff 2023-09-21 13:29:08 +02:00
oca-ci
d90b855cb7 [UPD] README.rst
[UPD] Update stock_picking_procure_method.pot
2023-09-21 13:29:08 +02:00
Luis D. Lafaurie
67545e012d [MIG] stock_picking_procure_method: Migration to 14.0 2023-09-21 13:29:08 +02:00
Ernesto Tejeda
28ec2c1afc [MIG] stock_picking_procure_method: Migration to 13.0 2023-09-21 13:29:08 +02:00
Ernesto Tejeda
7b7e6d4e9c [IMP] stock_picking_procure_method: black, isort, prettier 2023-09-21 13:29:08 +02:00
Kitti U
dc80f5a61b [12.0][MIG] stock_picking_procure_method 2023-09-21 13:29:08 +02:00
David
a94ba14090 [ADD] stock_picking_procure_method: New module 2023-09-21 13:29:08 +02:00
Weblate
b628a8f8c6 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_putaway_product_template
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_putaway_product_template/
2023-09-20 15:57:18 +00:00
FranciscoFactorLibre
040837af50 Translated using Weblate (Spanish)
Currently translated at 100.0% (16 of 16 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_location_position
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_location_position/es/
2023-09-18 06:39:56 +00:00
Ivorra78
e13e7e873e Translated using Weblate (Spanish)
Currently translated at 100.0% (155 of 155 strings)

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/es/
2023-09-18 06:39:56 +00:00
Francesco Foresti
d85c5da116 Translated using Weblate (Italian)
Currently translated at 50.0% (2 of 4 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-account_move_line_stock_info
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-account_move_line_stock_info/it/
2023-09-18 06:39:56 +00:00
FranciscoFactorLibre
e44d0a0d63 Added translation using Weblate (Spanish) 2023-09-18 06:39:56 +00:00
OCA-git-bot
2c757e2d96 [ADD] setup.py 2023-09-15 11:04:03 +00:00
OCA-git-bot
97cab8f997 [UPD] README.rst 2023-09-15 11:04:02 +00:00
OCA-git-bot
a1d9309529 [UPD] addons table in README.md 2023-09-15 11:04:02 +00:00
oca-ci
8f59c7b798 [UPD] Update stock_putaway_product_template.pot 2023-09-15 11:00:43 +00:00
OCA-git-bot
cef63dd149 Merge PR #1846 into 16.0
Signed-off-by pedrobaeza
2023-09-15 10:56:54 +00:00
Carolina Fernandez
9adcfa3ac2 [MIG] stock_putaway_product_template: Migration to 16.0 2023-09-14 12:59:18 -03:00
Carolina Fernandez
bfbad85355 [IMP] stock_putaway_product_template: pre-commit stuff 2023-09-14 12:59:18 -03:00
Víctor Martínez
92875c0b4f [FIX] stock_putaway_product_template: Change SavepointCase to TransactionCase
stock_putaway_product_template 15.0.1.0.1

Translated using Weblate (Spanish)

Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_putaway_product_template
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_putaway_product_template/es/

[UPD] README.rst
2023-09-14 12:59:15 -03:00
sergio-teruel
760fd23e88 [MIG] stock_putaway_product_template: Migration to v15.0
[UPD] Update stock_putaway_product_template.pot
2023-09-14 12:57:43 -03:00
sergio-teruel
dc1daf737d [FIX] stock_putaway_product_template: Not required product variant if you already set a product template
TT34143

stock_putaway_product_template 13.0.1.1.0
2023-09-14 12:57:43 -03:00
Víctor Martínez
2382f1341b [MIG] stock_putaway_product_template: Migration to 13.0
[UPD] Update stock_putaway_product_template.pot

[UPD] README.rst
2023-09-14 12:57:39 -03:00
Víctor Martínez
fce2217c37 [IMP] stock_putaway_product_form: black, isort, prettier 2023-09-14 12:55:42 -03:00
Kevin Khao
7fe644d5d2 [IMP] Add group permissions to views
[UPD] Update stock_putaway_product_form.pot

[UPD] README.rst
2023-09-14 12:55:30 -03:00
Sergio Teruel
f83497ba9e [IMP] stock_putaway_product_form: Allow to define rules by product template 2023-09-13 05:37:50 -03:00
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