Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
6581 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

Make Company field empty in Product cart

Avatar
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 20
2270
3
ago 24
1967
0
sept 22
2231
0
ene 22
1535
0
ago 21
2123