OCA Transbot
fe20ebe435
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_inventory_lockdown
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_lockdown/
2019-12-30 15:42:10 +00:00
OCA-git-bot
193e0e50eb
[ADD] setup.py
2019-12-30 15:42:00 +00:00
OCA-git-bot
88118d7f6c
[UPD] README.rst
2019-12-30 15:42:00 +00:00
oca-travis
6966ec0e9a
[UPD] Update stock_available_unreserved.pot
2019-12-30 15:04:05 +00:00
OCA-git-bot
aa2f9fd5f7
Merge PR #810 into 13.0
...
Signed-off-by LoisRForgeFlow
2019-12-30 14:49:04 +00:00
OCA-git-bot
43327604aa
[ADD] setup.py
2019-12-23 09:09:18 +00:00
oca-travis
f059684e0a
[UPD] Update stock_inventory_lockdown.pot
2019-12-23 08:44:48 +00:00
OCA-git-bot
8ea73b11b9
Merge PR #811 into 13.0
...
Signed-off-by LoisRForgeFlow
2019-12-23 08:37:32 +00:00
Adrià Gil Sorribes
21f259c027
[MIG] stock_inventory_lockdown: Migration to 13.0
2019-12-20 16:55:13 +01:00
Adrià Gil Sorribes
d922fc76f2
[IMP] stock_inventory_lockdown: black, isort
2019-12-20 15:27:23 +01:00
Rodrigo Macedo
e861f8107c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (5 of 5 strings)
Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_lockdown
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_lockdown/pt_BR/
2019-12-20 15:26:56 +01:00
黎伟杰
d340f08cd9
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (5 of 5 strings)
Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_lockdown
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_lockdown/zh_CN/
2019-12-20 15:26:56 +01:00
OCA-git-bot
26b9f86e66
stock_inventory_lockdown 12.0.1.0.1
2019-12-20 15:26:56 +01:00
mreficent
92f98cc971
[FIX] Don't check in any case of inventory adjustments
...
The virtual adjustment location may be different from the one provided in property_stock_inventory of the product.
2019-12-20 15:26:56 +01:00
OCA-git-bot
25feb8116e
[UPD] README.rst
2019-12-20 15:26:56 +01:00
OCA-git-bot
edc077b813
[UPD] README.rst
2019-12-20 15:26:56 +01:00
oca-travis
e867c22d44
[UPD] Update stock_inventory_lockdown.pot
2019-12-20 15:26:56 +01:00
Michael Allen
944c974881
[12.0][MIG]stock_inventory_lockdown
2019-12-20 15:26:56 +01:00
OCA Transbot
eda934d2c9
Update translation files
...
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-12-20 15:26:56 +01:00
OCA-git-bot
7c5dcbd319
[UPD] README.rst
2019-12-20 15:26:56 +01:00
oca-travis
3f108d8a7d
[UPD] Update stock_inventory_lockdown.pot
2019-12-20 15:26:56 +01:00
OCA-git-bot
78e36c6ac6
[UPD] README.rst
2019-12-20 15:26:56 +01:00
Lois Rilo
97a1e184c2
[11.0][MIG] stock_inventory_lockdown
2019-12-20 15:26:56 +01:00
lreficent
dae14da820
[10.0][FIX] stock_inventory_lockdown: locking unneded locations.
2019-12-20 15:26:56 +01:00
OCA Transbot
7b465b9f12
OCA Transbot updated translations from Transifex
2019-12-20 15:26:56 +01:00
mreficent
006db42afa
[MIG] stock_inventory_lockdown: Migration to 10.0
2019-12-20 15:26:56 +01:00
Jordi Ballester
b506999f27
refactor the module to perform lockdown validations using constraint
...
in stock move instead of checks in quants. This will allow for a more
robust lockdown, and still make it possible to perform inventory adjustments
in the locked location. Also resolves an outstanding issue related to the
previous design not allowing inventory adjustments where negative quants existed.
2019-12-20 15:26:56 +01:00
OCA Transbot
0b4ffa3c52
OCA Transbot updated translations from Transifex
2019-12-20 15:26:56 +01:00
mreficent
dd8f3821d0
stock_inventory_lockdown
2019-12-20 15:26:56 +01:00
OCA Transbot
afd7344b4b
OCA Transbot updated translations from Transifex
2019-12-20 15:26:56 +01:00
Lionel Sausin & Loïc Bellier
3e71bf04ed
New module stock_inventory_lockdown
...
This module is a feature extracted from stock_inventory_location.
Ported to v8 and new API
Adopted latest OCA standards
Added tests
2019-12-20 15:26:56 +01:00
Lois Rilo
9fecf39399
[13.0][MIG] stock_available_unreserved
...
Standard migration. Also some copyrights are removed because they were added by mistake in the fist place (copy+paste issues ;) )
2019-12-20 14:05:20 +01:00
Lois Rilo
b9f9d02672
[IMP] stock_available_unreserved: black, isort
2019-12-20 14:04:31 +01:00
OCA Transbot
2b51b27ac7
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_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved/
2019-12-20 14:04:31 +01:00
OCA-git-bot
e5920fa3dc
[UPD] README.rst
2019-12-20 14:04:31 +01:00
oca-travis
2e07df7930
[UPD] Update stock_available_unreserved.pot
2019-12-20 14:04:31 +01:00
Lois Rilo
2650946eac
[12.0][UPD] stock_available_unreserved:
...
* update author's name after recent rebranding of Eficent to ForgeFlow.
* change license to lgpl as agreed by the authors.
* update readme to new format.
2019-12-20 14:04:31 +01:00
Galoperd
e078dfea0e
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (13 of 13 strings)
Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved/es/
2019-12-20 14:04:31 +01:00
黎伟杰
acca50f049
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 38.5% (5 of 13 strings)
Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved/zh_CN/
2019-12-20 14:04:31 +01:00
OCA Transbot
42570263be
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_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved/
2019-12-20 14:04:31 +01:00
oca-travis
0fbb222c83
[UPD] Update stock_available_unreserved.pot
2019-12-20 14:04:31 +01:00
ougc27
d72daca162
[ADD][stock_available_unreserved] - Missing depends on qty_available_not_reserved compute method in order to update the quantity.
2019-12-20 14:04:31 +01:00
ougc27
1697f7b719
[MIG] stock_available_unreserved: Migration to V12
2019-12-20 14:04:31 +01:00
Osoul
031cbb2abe
Added translation using Weblate (Arabic)
2019-12-20 14:04:31 +01:00
oca-travis
49ebf6b62b
[UPD] Update stock_available_unreserved.pot
2019-12-20 12:34:12 +01:00
Atte Isopuro
9858cd5d4b
stock_available_unreserved: allow searching by unreserved quantities
2019-12-20 12:34:12 +01:00
Guewen Baconnier
30a14dab0f
Fix computation of stock available unreserved
...
The computation of the unreserved available amount using the
StockQuant._get_available_quantity was wrong as soon as more than one
quant was found for the same product. It can easily happen when you have
sublocations and a quant in each location.
The reason is that the algorithm was:
1. searching for all the quants for a given product
2. calling StockQuant._get_available_quantity for each quant
3. _get_available_quantity is an @api.model method, which itself will
search for all quants for the product and the given location and
children
Which means that if you have these locations:
Stock
Stock > Bin A
Stock > Bin B
And these quants:
1. Product: Product A
Location: Bin A
Quantity: 60
Reserved: 0
2. Product: Product A
Location: Bin B
Quantity: 10
Reserved: 0
Instead of 70, the result was 140. (One loop for each quant, each loop
recomputing the total quantity in _get_available_quantity, all summed
togethed, for each new quant, an additional sum would be added).
Ultimately, the _get_available_quantity method does the sum of (quantity
- quantity reserved). This commit uses the same logic than the 10.0
branch, it finds the quants contextually using
ProductProduct._get_domain_locations and get the available quantity as
the sum of (quantity - quantity reserved).
We can't really use StockQuant._get_available_quantity because this one
expects a location, while here we don't necessarily know it.
I removed _product_available_not_res_hook which seems to have no
purpose, it does not receive the result of the computation and its own
result is unused.
2019-12-20 12:34:12 +01:00
mpanarin
07e173114f
[MIG] stock_available_unreserved: migrate Odoo 11
2019-12-20 12:34:12 +01:00
Denis Roussel
b8afda67f7
[FIX] stock_available: Some affectations
2019-12-20 12:34:12 +01:00
Laurent Mignon (ACSONE)
08dc76405e
[IMP] stock_available_unreserved: Improve perf in stock computation;
...
Read quants without lang into the context to avoid sql join on ir.translations
Iter on product with prefetch_fields=False and lang='' to avoid reading useless column ad join on ir.translations
2019-12-20 12:34:12 +01:00