Commit Graph

53 Commits

Author SHA1 Message Date
mymage
ff1276fa04 Translated using Weblate (Italian)
Currently translated at 100.0% (24 of 24 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available/it/
2023-12-24 17:33:39 +00:00
mymage
db268cb84c Translated using Weblate (Italian)
Currently translated at 87.5% (21 of 24 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available/it/
2023-12-13 15:34:19 +00:00
mymage
d2008048c2 Translated using Weblate (Italian)
Currently translated at 87.5% (21 of 24 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available/it/
2023-11-24 17:33:29 +00:00
Weblate
69c3ecbd46 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
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available/
2023-10-09 19:02:14 +00:00
OCA-git-bot
22ba45483e [UPD] README.rst 2023-09-03 17:18:16 +00:00
Víctor Martínez
62e4d3776e [FIX] stock_available: Change assertEquals to assertEqual 2023-01-13 12:47:42 +01:00
OCA-git-bot
01727e851d stock_available 14.0.1.1.0 2022-12-19 11:19:55 +00:00
ferran-73
59d675a2e7 [14.0][FIX] stock_available: dict.record.type is undefined 2022-12-19 12:05:25 +01:00
mymage
7977c4107c Translated using Weblate (Italian)
Currently translated at 100.0% (21 of 21 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_available/it/
2022-07-16 18:06:52 +00:00
OCA-git-bot
ec52e9a46b stock_available 14.0.1.0.3 2021-12-05 02:19:04 +00:00
Cédric Pigeon
a4c6c5b8bf [14.0] stock_available: improve search performance 2021-10-01 21:56:52 +02:00
OCA-git-bot
395d483977 stock_available 14.0.1.0.2 2021-04-23 10:03:40 +00:00
Florian da Costa
44aea5f970 Add depends_context to quantity computed field 2021-04-22 19:47:13 +02:00
OCA-git-bot
0d0e6c461a stock_available 14.0.1.0.1 2021-02-09 15:46:34 +00:00
OCA-git-bot
82cc7e1672 [UPD] README.rst 2021-02-09 15:46:33 +00:00
oca-travis
0b5905f794 [UPD] Update stock_available.pot 2021-02-09 15:29:55 +00:00
Florian da Costa
5370b80747 [MIG] stock_available: Migration to 14.0 2020-12-26 15:00:37 +01:00
Florian da Costa
f88df2933e [IMP] stock_available: black, isort, prettier 2020-12-24 22:21:39 +01:00
oca-travis
993d7fa4be [UPD] bot updates 2020-12-24 22:21:39 +01:00
ps-tubtim
b546d23d27 [MIG] stock_available: Migration to 13.0 2020-12-24 22:19:28 +01:00
ps-tubtim
dd90188d8a [IMP] stock_available: black, isort 2020-12-24 22:19:28 +01:00
OCA-git-bot
c7a37b0216 stock_available 12.0.1.0.1 2020-12-24 22:19:28 +01:00
Tony Gu
f45e59528a [Fix] use the same view id for differnt view using in product and product template 2020-12-24 22:19:28 +01:00
黎伟杰
56889cf95a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (21 of 21 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available/zh_CN/
2020-12-24 22:19:28 +01:00
黎伟杰
30ccfe2b6d Translated using Weblate (Chinese (Simplified))
Currently translated at 23.8% (5 of 21 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available/zh_CN/
2020-12-24 22:19:28 +01:00
Florian da Costa
24de6c1041 Make stock_available_mrp compatible with other modules like stock_available_immediately 2020-12-24 22:19:28 +01:00
Rodrigo Macedo
2b6d36104d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available/pt_BR/
2020-12-24 22:19:28 +01:00
OCA-git-bot
d539b253d9 [UPD] README.rst 2020-12-24 22:19:28 +01:00
OCA Transbot
535f56089f 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
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available/
2020-12-24 22:19:28 +01:00
OCA-git-bot
0094ff31f8 [UPD] README.rst 2020-12-24 22:19:28 +01:00
oca-travis
0c1867d823 [UPD] Update stock_available.pot 2020-12-24 22:19:28 +01:00
Sergio Teruel
5f885c5548 [MIG] stock_available: Migration to v12.0 2020-12-24 22:19:28 +01:00
Valentino
8dca8ed263 [ADD] Use same decorator on product.product as on product.template tree view. 2020-12-24 22:19:28 +01:00
Cédric Pigeon
6a4c3950dc [10.0][CHG]stock_available...: improve stock methods computation 2020-12-24 22:19:28 +01:00
Osoul
bfc9400e46 Added translation using Weblate (Arabic)
Currently translated at 61.9% (13 of 21 strings)

Translation: stock-logistics-warehouse-11.0/stock-logistics-warehouse-11.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-11-0/stock-logistics-warehouse-11-0-stock_available/ar/
2020-12-24 22:19:28 +01:00
Alexandre Saunier
8577b7e13a [FIX] Improve migration to 11.0 2020-12-24 22:19:28 +01:00
Kiko Peiro
de44676e01 [MIG] stock_available: Migration to 11.0 2020-12-24 22:19:28 +01:00
François Honoré
05f4432749 [ADD] Add search function for immediately_usable_qty computed field + related unit test
Increase version number of the module
2020-12-24 22:19:28 +01:00
Denis Roussel
7b317ac5f7 [FIX] stock_available: Some affectations 2020-12-24 22:19:28 +01:00
David Vidal
a5ca2e154a [MIG] stock_available_sale: Migration to 10.0 2020-12-24 22:19:28 +01:00
Cédric Pigeon
e870544677 [10.0]stock_available: improve computation performance
[CHG] improve code regarding code review

[ADD] add test

[CHG] optimize stock computation by avoiding to call useless compute
2020-12-24 22:19:28 +01:00
SodexisTeam
3ca3ea1061 [10.0][MIG] stock_available & stock_available_immediately (#219) 2020-12-24 22:19:28 +01:00
Cyril Gaudin
61485f109b bom stock: small improvements and add test for field choice 2020-12-24 22:19:28 +01:00
Laetitia Gangloff
6576d1fb2c stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2020-12-24 22:19:28 +01:00
Lionel Sausin
a92ddff38b [IMP] Decouple the quantity for templates and variants
There are cases where we dot NOT want to simply sum the quantities of all the
variants. For example when dealing with manufacturing capacities, we may have
to chose between variants because we can't make ALL of them with the same
components.

So instead of a simple non-modular implementation, we'll let each module define
his own implementation of how to compute the product template's quantity
available for sale.

Conflicts:
	stock_available/__openerp__.py
	stock_available_immediately/__openerp__.py
2020-12-24 22:19:28 +01:00
Alexandre Fayolle
335dc6de1d product_available improvements
* fix the dependencies for the computed field

* use api.multi instead of api.one to avoid calling
  super()._immediately_usable_qty in a loop (this improves perfs on a tree view
  display)
2020-12-24 22:19:28 +01:00
Atchuthan, Sodexis
3cdb01ba16 [9.0][PORT] Stock available 2020-12-24 22:19:28 +01:00
OCA Transbot
2e43bb21fb OCA Transbot updated translations from Transifex 2020-12-24 22:19:28 +01:00
Lionel Sausin
3cce4ff7e8 Revert changes to computation of _immediately_usable_qty
Commit 6c16913 changed the way we compute the immediately_usable_qty: instead of using the virtual stock, we used the sum of quants without reservations. But a quant may actually be reserved and still be available (for example it may be reserved for an internal move).
Fixes https://github.com/OCA/stock-logistics-warehouse/issues/79

Remove loop and use correct decorator

Restore the features of stock_available_immediately

The previous fix restored stock_available but then there was no way to exclude the incomming moves from the count. This belongs in stock_available_immediately, restoring it cleanly.
This commit also takes care to respect the distinction between templates and variants, so it should fix https://github.com/OCA/stock-logistics-warehouse/issues/73 too.

Restore the qty avail. to promise on variant treeview

PEP8
2020-12-24 22:19:28 +01:00
Laetitia Gangloff
fd076aa37e [FIX] stock_available : update sublocations computation 2020-12-24 22:19:28 +01:00