Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2200 Lượt xem

Sometimes, when creating a product, the product type in Odoo is automatically set as either "Consumable" or "Storable Product". I am interested in knowing the criteria used by Odoo to determine whether a product should be classified as a consumable or a storable item.

Ảnh đại diện
Huỷ bỏ

can this be changed in some way?

Hi Mike - yes, it is set in the Context for the Windows Action. If you go into Developer Mode, click the debug icon and select "Action" you will see that the context is {"search_default_goods": 1, 'default_is_storable': True} - you could add that to the other menu options. I explain more about Context here: https://odootricks.tips/context/

Tác giả Câu trả lời hay nhất

The product type assigned to a newly created product depends on the app used. For example, the product type assigned when using the Inventory and Manufacturing apps to create a product is a Storable Product. On the other hand, the product type assigned is Consumable when using Sales, Purchase, Accounting, and PLM. 

Examples:


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
3746
1
thg 4 24
2162
1
thg 4 24
2297
1
thg 6 24
2740
1
thg 8 24
2833