コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4563 ビュー

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.  

アバター
破棄
最善の回答

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.

アバター
破棄

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 ?

関連投稿 返信 ビュー 活動
1
10月 23
2269
1
10月 23
3089
3
1月 24
3618
1
10月 20
13788
2
6月 24
2272