تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
3557 أدوات العرض

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.



الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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?

الكاتب

I am on 15

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

الكاتب أفضل إجابة

How do I change this value for all products?

الصورة الرمزية
إهمال
أفضل إجابة

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!

الصورة الرمزية
إهمال
الكاتب

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 :(

الكاتب

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