Skip to Content
Menu
This question has been flagged
3 Replies
2687 Views

When trying to delete a couple test locations I created, it gives me an error


" Unable to delete this document because it is used as a default property"

Now all newly added products are all being added by default to this location which seems to be the new default location  WH/Stock/A1

How can I change the default location back to WH/stock? 
I can't find this setting. 
Thank you in advance for the attention and advice.



Avatar
Discard
Best Answer

Hi, you can try as set the default inventory location for the user (Configurations/Users/theUserWhoCreateRecords) in the preferences tab go to the botton of page and set the default inventory location

Avatar
Discard
Author

Thanks Fabian, in this case it is the user "odoobot" that creates the products as they are imported, I can't find "odoobot" in the users panel :/
I also noticed that I could not find the option for default inventory location in the preferences tab of a user, I am running developer mode but this is all I see for an admin account: https://imgur.com/a/5zQXoCB

Oh the odoo bot user is archive for default, u can find if set the archive filter. what odoo version are you using?

Author

I am on 15

This how look for me (in v15 too) https://imgur.com/EXY0zcA

Author Best Answer

How do I change this value for all products?

Avatar
Discard
Best Answer

Hi@Jaime Matos


It seems that we can't delete the LOCATION 

Instead try to ARCHIVE that!

Inventory->COnfiguration -> Warehouse ->Select the Warehouse -> click ACTION -> ARCHIVE

hope it helps 

Thanks!

Avatar
Discard
Author

But my main objective (as stated in the title) is to change the default location, not to archive this test location.
as all products are going to this location :(

Author

As even after archiving, new products still get placed in this wrong "default" location.