Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Jawaban Terbai

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
Buang

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 ?

Post Terkait Replies Tampilan Aktivitas
1
Okt 23
1976
1
Okt 23
2867
3
Jan 24
3464
1
Okt 20
13492
2
Jun 24
2120