Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3241 Lượt xem

 I want to create two websites in one odoo instance and two websites should have entire differrent themes. It should be possible to add pages and content for 2 websites. One website content should not availabe in second website.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The best way to achieve it is with db filter.

Just add this to your init file, set correctly your DNS and nginx/apache. 

--db-filter='^%d$'


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You can easily achieve that when deploying multiple databases using dbfilter. If you want to achieve that in one database, then it is theoretically possible, but not officially supported. Here are some link which might be of help in this case:

- https://github.com/odoo/odoo/issues/12437#issuecomment-226422633 

- https://github.com/odoo/odoo/issues/12437#issuecomment-226422633

https://github.com/odoo/odoo/issues/12415

Ảnh đại diện
Huỷ bỏ
Tác giả

@Ermin Trevisan, In order to support multi domain, we need to create separate views Is n't it?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
524
2
thg 6 25
2167
3
thg 4 25
2421
1
thg 4 25
1546
1
thg 12 24
2165