Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
6660 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

Make Company field empty in Product cart

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
lug 20
2332
3
ago 24
2135
0
set 22
2484
0
gen 22
1605
0
ago 21
2229