Skip to Content
Menu
This question has been flagged

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
Discard
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
Discard

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 Views Activity
1
Oct 23
1873
1
Oct 23
2770
3
Jan 24
3388
1
Oct 20
13296
2
Jun 24
2063