黎伟杰
76b7493350
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/
2021-06-03 17:49:27 +02:00
OCA Transbot
9d8e4b1e36
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/
2021-06-03 17:49:27 +02:00
oca-travis
e08c720328
[UPD] Update stock_available_unreserved.pot
2021-06-03 17:49:27 +02:00
ougc27
59c04a0761
[ADD][stock_available_unreserved] - Missing depends on qty_available_not_reserved compute method in order to update the quantity.
2021-06-03 17:49:27 +02:00
ougc27
4456189033
[MIG] stock_available_unreserved: Migration to V12
2021-06-03 17:49:27 +02:00
Osoul
9e7a7af51e
Added translation using Weblate (Arabic)
2021-06-03 17:49:27 +02:00
oca-travis
a4cc993ed9
[UPD] Update stock_available_unreserved.pot
2021-06-03 17:49:27 +02:00
Atte Isopuro
e37afcaba9
stock_available_unreserved: allow searching by unreserved quantities
2021-06-03 17:49:27 +02:00
Guewen Baconnier
e707c810e3
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.
2021-06-03 17:49:27 +02:00
mpanarin
70d106b243
[MIG] stock_available_unreserved: migrate Odoo 11
2021-06-03 17:49:27 +02:00
Denis Roussel
53f8f29a4e
[FIX] stock_available: Some affectations
2021-06-03 17:49:27 +02:00
Laurent Mignon (ACSONE)
1e2f47c597
[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
2021-06-03 17:49:27 +02:00
Cédric Pigeon
3c896fc9bb
[CHG] optimize stock computation by avoiding to call useless compute
2021-06-03 17:49:27 +02:00
mreficent
b9403b39f2
[IMP] fast compute
...
_product_available() method is computed only once by location
2021-06-03 17:49:27 +02:00
Stefan Rijnhart
3df595033b
[MIG] stock_available_unreserved
2021-06-03 17:49:27 +02:00
OCA Transbot
948fedd74f
OCA Transbot updated translations from Transifex
2021-06-03 17:49:27 +02:00
Jordi Ballester Alomar
1d6f01f59e
new module 'stock_available_unreserved' ( #206 )
...
* [ADD] new module 'stock_available_unreserved'
2021-06-03 17:49:27 +02:00
davidborromeo
ced0ac9396
[MIG] stock_orderpoint_move_link: Migration to 14.0
2021-06-03 10:10:43 +02:00
Pierrick Brun
3c50a37956
[IMP] remove is_child recursive function (use children_ids)
2021-06-03 09:48:50 +02:00
davidborromeo
3feb3743e5
[IMP] stock_orderpoint_move_link: black, isort, prettier
2021-06-03 09:47:49 +02:00
OCA-git-bot
2607a97a3c
[UPD] README.rst
2021-06-03 09:46:55 +02:00
mreficent
1c55a6fc07
[UPD] Eficent -> ForgeFlow
2021-06-03 09:46:55 +02:00
OCA-git-bot
2680054a55
pre-commit update
2021-06-03 09:46:55 +02:00
OCA-git-bot
d1b1be8820
[UPD] README.rst
2021-06-03 09:46:55 +02:00
oca-travis
f90266f542
[UPD] Update stock_orderpoint_move_link.pot
2021-06-03 09:46:55 +02:00
OCA-git-bot
0c245ea577
[UPD] README.rst
2021-06-03 09:46:55 +02:00
Guewen Baconnier
2a54227113
[MIG] stock_orderpoint_move_link: Migration to 13.0
2021-06-03 09:46:55 +02:00
Guewen Baconnier
db7c81c167
[IMP] stock_orderpoint_move_link: black, isort
2021-06-03 09:46:55 +02:00
oca-travis
86551a7058
Updated translations from Weblate
2021-06-03 09:46:55 +02:00
OCA-git-bot
d92304d1b7
stock_orderpoint_move_link 12.0.1.1.0
2021-06-03 09:46:55 +02:00
hveficent
16204e138c
[12.0][IMP] stock_orderpoint_move_link: View transfers on orderpoint
2021-06-03 09:46:55 +02:00
Lois Rilo
a475f68491
[12.0][IMP] stock_orderpoint_move_link: add simple test.
2021-06-03 09:46:55 +02:00
Kitti U
d70c8f349e
[ADD] 12.0-mig-stock_orderpoint_move_link
2021-06-03 09:46:55 +02:00
Akim Juillerat
81d0fad525
Remove auto-install feature
2021-06-03 09:46:55 +02:00
Akim Juillerat
393819e9c8
Fix read of wrong dictionnary
2021-06-03 09:46:55 +02:00
Jordi Ballester Alomar
03d7847855
add stock_orderpoint_move_link and stock_orderpoint_purchase_link
2021-06-03 09:46:55 +02:00
Pierrick Brun
bed2036f55
[MIG/REF] stock_generate_putaway_from_inventory: Migration to 14.0
2021-06-02 16:47:17 +02:00
Pierrick Brun
a445e9b9e9
[IMP] stock_generate_putaway_from_inventory: black, isort, prettier
2021-06-02 16:47:16 +02:00
OCA Transbot
fa58c47cb9
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_generate_putaway_from_inventory
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_generate_putaway_from_inventory/
2021-06-02 16:47:16 +02:00
OCA Transbot
5bb8783537
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_generate_putaway_from_inventory
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_generate_putaway_from_inventory/
2021-06-02 16:47:16 +02:00
OCA-git-bot
d87b3a6239
[ADD] icon.png
2021-06-02 16:47:16 +02:00
OCA-git-bot
361e26a941
[UPD] README.rst
2021-06-02 16:47:16 +02:00
oca-travis
0e5ae9f88a
[UPD] Update stock_generate_putaway_from_inventory.pot
2021-06-02 16:47:16 +02:00
Kevin Khao
ef0ef6d115
[ADD][12.0] stock_generate_putaway_from_inventory: Add to 12.0
...
fixup! Simplified exceptions in case inventory is not validated or inventory's location doesn't have a putaway strategy
2021-06-02 16:47:16 +02:00
Kevin Khao
fd8977714c
[IMP] stock_generate_putaway_from_inventory: black
2021-06-02 16:47:16 +02:00
Pierrick Brun
9aa537f275
[ADD][10.0] stock_generate_putaway_from_inventory: Initial source add
2021-06-02 16:47:16 +02: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