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

Multi Company Setup - USING 1 WEBSITE
- Company A
- Company B


- We have a website that is linked to Company A (Don't think this can be changed?)
- Orders come in as Sales Orders (via the Website).

Using Automatic Actions (Model -> Sales Order) I want to assign a Sales Order to a DIFFERENT Company (e.q. Company B), based on where they are ordering from

 [["partner_id.state_id","=","Dubai"]]

Records are found so that works.


However:
This works, however ONLY when I duplicate the SO. Orders coming from the website are still linked to Company A by default. 


Any suggestions how to have the order gets linked to Company B before it shows up in the Sales Dashboard?

形象
丢弃
编写者

Anyone?

If I manually change the company in the Sales Order > Edit > Company it updates without any problems.

最佳答案

Odoo support multi website
you may create two websites and display them based on the country (In your case Dubai)

https://www.odoo.com/documentation/14.0/applications/websites/website/publish/multi_website.html#manage-domain-names

and assigned each website to each company 


形象
丢弃

All companies are in UAE. Multi of them in Dubai. So that wouldn’t work.

相关帖文 回复 查看 活动
3
4月 24
2159
1
9月 23
2016
5
7月 20
5940
0
3月 17
3192
2
7月 25
531