Commit Graph

12 Commits

Author SHA1 Message Date
Guewen Baconnier
694e2852f5 Remove _order override in stock.location
The default order of stock.location is 'complete_name'.
Changing it to "name" can have side effects, and shouldn't be required
for stock_inventory_lockdown.

See https://github.com/OCA/stock-logistics-warehouse/pull/811/files#r512797834
2022-10-24 10:36:27 -04:00
mreficent
c760b83ffb [UPD] Eficent -> ForgeFlow 2022-10-24 10:36:27 -04:00
HviorForgeFlow
2cba95ea3b [13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l' 2022-10-24 10:36:27 -04:00
Adrià Gil Sorribes
067bedbc0a [MIG] stock_inventory_lockdown: Migration to 13.0 2022-10-24 10:36:27 -04:00
Adrià Gil Sorribes
17d044a760 [IMP] stock_inventory_lockdown: black, isort 2022-10-24 10:36:27 -04:00
mreficent
04dea823e5 [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.
2022-10-24 10:36:27 -04:00
Lois Rilo
89e3ad6791 [11.0][MIG] stock_inventory_lockdown 2022-10-24 10:36:27 -04:00
lreficent
1479334b6b [10.0][FIX] stock_inventory_lockdown: locking unneded locations. 2022-10-24 10:36:27 -04:00
mreficent
afa2a7628d [MIG] stock_inventory_lockdown: Migration to 10.0 2022-10-24 10:36:27 -04:00
Jordi Ballester
28fbc3c5d2 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.
2022-10-24 10:36:27 -04:00
mreficent
917151d91a stock_inventory_lockdown 2022-10-24 10:36:27 -04:00
Lionel Sausin & Loïc Bellier
f2c73735d0 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
2022-10-24 10:36:27 -04:00