Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/stock/migrations/13.0.1.1/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def map_stock_locations(env, main_company):

conditions = {
'location_inventory':
"sl2.usage = 'inventory' AND sl2.scrap_location IS NOT TRUE",
"sl2.usage = 'inventory' AND sl2.scrap_location IS NOT TRUE AND sl2.name ILIKE '%Inventory adjustment%'",
'location_production': "sl2.usage = 'production'",
'stock_location_scrapped':
"sl2.usage = 'inventory' AND sl2.scrap_location IS TRUE",
Expand Down
Loading