Commit Graph

10 Commits

Author SHA1 Message Date
HviorForgeFlow
0f800112f3 [13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l' 2020-05-12 16:19:47 +02: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
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
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
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
mreficent
dd8f3821d0 stock_inventory_lockdown 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