63 Commits

Author SHA1 Message Date
OCA-git-bot
6da91c8ac8 [BOT] post-merge updates 2023-11-13 08:17:34 +00:00
Michael Tietz
ff81ff2334 [FIX] stock_available_mrp: Use correct bom for computation
If a product has siblings and more then one has a bom
first(product.bom_ids) could return a bom
for a diferent product, because bom_ids is a one2many field
of product.template and this contains all boms of variants
Therefor switch to the default methods of odoo
_bom_find and _get_product2bom
2023-11-09 23:21:51 +01:00
Weblate
24222a523a 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/
2023-10-09 22:06:45 +00:00
OCA-git-bot
22ba45483e [UPD] README.rst 2023-09-03 17:18:16 +00:00
mymage
d836ebdbd4 Translated using Weblate (Italian)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/it/
2023-05-17 03:48:34 +00:00
mymage
344df290bc Translated using Weblate (Italian)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/it/
2022-07-16 18:06:53 +00:00
OCA Transbot
4b8f56629c 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/
2022-05-09 17:10:58 +00:00
OCA-git-bot
633a527fb9 stock_available_mrp 14.0.1.0.5 2022-05-09 17:10:37 +00:00
OCA-git-bot
d1fd3bdc3f [UPD] README.rst 2022-05-09 17:10:37 +00:00
oca-travis
3bb12ad5a5 [UPD] Update stock_available_mrp.pot 2022-05-09 16:34:11 +00:00
david
ed2a9b865b [FIX] stock_available_mrp: normal BoM available to promise
Normal BoM products (those which are manufactured) are regular stored
products and their immediately_usable_qty will be summed with potential
stock. This was the expected behavior of the module and it was lost at
some point.

Phantom BoM products (kits) don't have real stock so their available to
promise quantity will be the same as the potential.

As an improvement, we've added the possibility to override the sum of
potential and available to promise. In some cases such addition doesn't
make sense as we don't know how long can take to manufacture those potential
units.

TT35589
2022-05-09 16:19:57 +02:00
OCA-git-bot
7cc0ae706a stock_available_mrp 14.0.1.0.4 2022-03-04 18:22:20 +00:00
Denis Roussel
1562016235 [TESTS] stock_available_mrp: Add test for phantom bom 2022-03-02 13:18:49 +01:00
Víctor Martínez
29a63ae105 [FIX] stock_available_mrp: Set correctlly immediately_usable_qty value.
TT27873
2022-03-02 13:18:39 +01:00
OCA Transbot
275c3993fd 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/
2021-12-14 13:49:48 +00:00
OCA-git-bot
4297d774fb stock_available_mrp 14.0.1.0.3 2021-12-05 02:19:08 +00:00
oca-travis
31339e3c49 [UPD] Update stock_available_mrp.pot 2021-12-04 20:53:25 +00:00
Cédric Pigeon
a4c6c5b8bf [14.0] stock_available: improve search performance 2021-10-01 21:56:52 +02:00
Cédric Pigeon
08a708a649 [14.0] stock_available_mrp: improve performance by using standard field 2021-10-01 17:25:23 +02:00
Guewen Baconnier
5dc3fc08a1 Improve performance of stock available of BoMs
Use an optimized method to explode the BoM. The explode methods
include data and a cycle check that we don't need here. Besides,
it calls '_bom_find' on every bom line of the graph, which generates
thousands of SELECT queries on large BoMs.
2021-10-01 17:24:02 +02:00
Cédric Pigeon
a8c547d22c [FIX] adapt back to V14 2021-10-01 17:24:02 +02:00
Guewen Baconnier
c7db787061 Use Savepoint in stock_available_mrp tests 2021-10-01 16:32:28 +02:00
OCA Transbot
024a598047 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/
2021-09-14 13:56:56 +00:00
oca-travis
4b4f51dc2f [UPD] Update stock_available_mrp.pot 2021-09-14 13:37:13 +00:00
OCA-git-bot
0b515d63d5 stock_available_mrp 14.0.1.0.2 2021-06-09 13:50:40 +00:00
sbejaoui
7414c84313 [FIX] - local variable referenced before assignment 2021-06-09 15:21:32 +02:00
OCA Transbot
a51726823e 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available_mrp/
2021-06-07 06:44:24 +00:00
OCA-git-bot
c3b9dd1f8c stock_available_mrp 14.0.1.0.1 2021-06-07 06:28:10 +00:00
OCA-git-bot
8971d3e988 [UPD] README.rst 2021-06-07 06:28:10 +00:00
oca-travis
995bca601f [UPD] Update stock_available_mrp.pot 2021-06-07 06:12:40 +00:00
Florian da Costa
45a6669428 Migrate stock_available_mrp to v14 2021-05-27 18:18:11 +02:00
OCA Transbot
ced0d8a66b 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_available_mrp/
2021-05-27 12:42:07 +02:00
OCA-git-bot
a5ba4232f0 [UPD] README.rst 2021-05-27 12:42:07 +02:00
oca-travis
9d170698df [UPD] Update stock_available_mrp.pot 2021-05-27 12:42:07 +02:00
Víctor Martínez
baa9673b45 [MIG] stock_available_mrp: Migration to 13.0 2021-05-27 12:42:07 +02:00
Víctor Martínez
67767fb5b6 [IMP] stock_available_mrp: black, isort, prettier 2021-05-27 12:42:07 +02:00
OCA-git-bot
d2fbb13d87 stock_available_mrp 12.0.1.0.2 2021-05-27 12:42:07 +02:00
david
fe57b1f1ee [FIX] stock_available_mrp: don't force type
In Odoo change odoo/odoo@3d34d58 the products with Kit BoMs couldn't
longer be other than `consu`. This was reverted in odoo/odoo@6c4623a
and some products are raising errors when forcing the type
2021-05-27 12:42:07 +02:00
OCA-git-bot
82286c4e07 stock_available_mrp 12.0.1.0.1 2021-05-27 12:42:07 +02:00
david
41df9fbd69 [FIX] stock_available_mrp: upstream compatibility
After this change 3d34d58388
it isn't possible to have an storable kit product anymore. The main
issue is that we have to drop some uses cases that this module
considered for this kind of situations.
2021-05-27 12:42:07 +02:00
Yann Papouin
79507208b8 Translated using Weblate (French)
Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/fr/
2021-05-27 12:42:07 +02:00
黎伟杰
cef6a55639 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/zh_CN/
2021-05-27 12:42:07 +02:00
OCA Transbot
69fc8d776b 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/
2021-05-27 12:42:07 +02:00
OCA Transbot
ad03c9c35c 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-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/
2021-05-27 12:42:07 +02:00
oca-travis
6177bfa217 [UPD] Update stock_available_mrp.pot 2021-05-27 12:42:07 +02:00
Pedro M. Baeza
9cd4b58ae8 [FIX] stock_available_mrp: Fix RST formatting + generate README 2021-05-27 12:42:07 +02:00
Florian da Costa
8436495372 Make stock_available_mrp compatible with other modules like stock_available_immediately 2021-05-27 12:42:07 +02:00
Florian da Costa
7d864341dd Migrate stock_available_mrp to v12 2021-05-27 12:42:07 +02:00
Timon Tschanz
e6a9e9bf43 [11.0][MIG] port stock_available_mrp to 11.0 2021-05-27 12:42:07 +02:00
Timon Tschanz
85883c4ab0 [FIX] stock_available_mrp: remove duplicate button + fix calculation of immediately usable qty 2021-05-27 12:42:07 +02:00