跳至内容
菜单
此问题已终结
1 回复
4863 查看

Hey, i searched for a while, but I can't find the place where the regex is executed.

So for example, if I got that right, patterns like...

^(?:.*\.)+%d => www.abd.de, abc.de,  any.other.subdomain.abc.de

^(?:www.|cms.)+%d => www.abd.de, abc.de,  any.other.subdomain.abc.de

...are able to setup multi domains, for different databases, if you configure them right, because it only hits 1 DB and that is used

形象
丢弃
最佳答案

Check this: https://github.com/odoo/odoo/blob/11.0/odoo/http.py#L1499

形象
丢弃
编写者

Well that is somewhat disappointing implemented.

Well, cleverly deployed, you can cover many different use cases, and for the rest you still have the community module https://apps.odoo.com/apps/modules/11.0/dbfilter_from_header/.

编写者

That's a better way. Do you have any experiance with the multi website modules in the store?

I have experience with the community module https://github.com/OCA/website/tree/11.0/website_multi_theme only.

相关帖文 回复 查看 活动
2
10月 16
9000
2
5月 24
1726
2
9月 23
9572
3
8月 21
16751
0
1月 21
4846