Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4301 Vistas

Why, in Odoo, Inventory categories and eCommerce categories are separate, while we could just use either of them with a Boolean for distinction. Is there any special reason for this?

Is it not ambiguous and just repeating data in db.  

Avatar
Descartar
Mejor respuesta

They are separate, because they have completely different purposes.

The purpose of e-commerce categories is to make finding of products as easy as possible to shop visitors.

The purpose of internal product categories is to control inventory and accounting workflows and internal reporting.

Avatar
Descartar

Hello @Ermin Trevisan,
Good Answer but I want to know bit more on some technical side.
What if we go with technical models where we can see Odoo managing the two different models for the Product Categories.
e-commerce categories --> product.public.category model
Internal product categories --> product.category model
Why we can not follow the single category and managing everything with boolean flag/other relation fields over the one common model.
Here why we are managing two separate models for the same.
Do we have any technical challenges with single model ?

Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 23
1871
1
oct 23
2758
3
ene 24
3382
1
oct 20
13294
2
jun 24
2061