Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Can't delete website

形象
odoo
形象
丢弃
4 答案
0
形象
odoo
最佳答案

When you get "You cannot delete default website My Website...", you must switch to a different website as your new default first and only after that attempt to delete the website.

This is how to do it:

- Activate the Developer Mode in Settings

- Then in Settings in the top menu go to Technical -> External Identifiers

- In the search box enter 'default_website' and click "Search External Identifier for: dafault_website"

- in search results you will see "website.default_website" in the "Complete ID" column, with Display Name showing the name of the website you are unable to delete

- click on that row

- in "Record ID" field enter the ID of your other website that you will be making a new default (if you don't know the ID, try entering 2 or 3 or 4, until you see the name of the desired website in the "Display Name" field)

- That's all, you can now go back to the list of the websites and delete the former default one.

1 备注
形象
丢弃
形象
odoo
-

Thank you!!!

0
形象
odoo
最佳答案

Hi,
Try changing the order of the websites in list view. The first one is set as the default, and that's why this error appears.


Hope it helps

形象
丢弃
0
形象
odoo
最佳答案

To delete a default website you to change the default_website ID record with the second website, if you only made two websites the ID has to be set from 1 to 2.

follow this path developer mode, setup -> technique -> external id and search for "default_website", and change the id of the record.

once this is done you will be able to delete the website 

形象
丢弃
0
形象
odoo
最佳答案

Didn't work for me. And I guess also not for the thread owner, because he seems to have only single one website.


Maybe I can not delete a website (of three) because it was the first I bulit? Changing its order don't work unfortunately. Any other hints?

形象
丢弃