Skip to Content
Menu
This question has been flagged
1 Odpoveď
4540 Zobrazenia

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
Zrušiť
Best Answer

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
Zrušiť

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 ?

Related Posts Replies Zobrazenia Aktivita
1
okt 23
2250
1
okt 23
3075
3
jan 24
3604
1
okt 20
13774
2
jún 24
2253