İçereği Atla
Menü
Bu soru işaretlendi
4 Cevaplar
6643 Görünümler

I have multiple companies - A, B, C

Company A has some products, Product- X, Y, Z (company_id is filled up with Company A).

Now, I can create a sale order for Company A to B and deliver it.

But, when I try to receive it in Company B there is a stock incompatibility error:


Some records are incompatible with the company of the Stock Move. Incompatibilities: Fields: product_id


I need to use the company_id field in Product because I will use several company groups:

Company A parent of B, C

Company H parent of I, J.


What is the proper way to manage this?

Avatar
Vazgeç
En İyi Yanıt

Hello All,

I am getting same error like this: Some records are incompatible with the company of the Stock Move.

I have investigate and found that when we creating stock.move record then it is due to route selection issue. I have disabled route selection on stock.move record from backend and error gone. 

I hope it will helpful for someone who getting same error.

Thanks

Avatar
Vazgeç
En İyi Yanıt

If you would like to manage stock transfer between companies then products must be shared, otherwise you have to create separate transaction manually in each company because you will need to create separate products for each company. 

for e.g

Company A - product A with ID - 10 

Company B - product A with ID - 20 

Then how odoo will get to know for which product stock has to be increased if you will transfer producf A with ID 10 ?

That's the reason why you have to share the product between companies. 

The soluition you are looking to keep security for each companies, that can be done by record rule and minor customization. 

Avatar
Vazgeç
En İyi Yanıt

Make Company field empty in Product cart

Avatar
Vazgeç
Üretici

I need the company field filled up. Because I don't want to share the product for other groups of companies.

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 20
2305
3
Ağu 24
2097
0
Eyl 22
2433
0
Oca 22
1592
0
Ağu 21
2210