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

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
أبريل 24
2211
1
سبتمبر 23
2064
5
يوليو 20
6026
0
مارس 17
3232
2
يوليو 25
613