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

Hello,

I created a pos config (Point of Sale > Configuration > Point of sales) with a stock location.

I moved some products in to that location.

Now, in POS user interface, I want to show only products in that location instead of showing all products in the system, how can I do that?

I tried to modify code in point_of_sale/static/src/js/model.js (line ~300), I added location to 'context' but it did not work (it keep showing all products in the system):

context: function (self) {
var context = {
pricelist: self.pricelist.id,
display_default_code: false,
location: self.config.stock_location_id[0] // I added this line 
};
return context;
},
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

as far as I understand your issue, to make some products to appear in the POS, you must define POs categories and the declare the products onto these POs categories (not the accounting category).

You do these declarations of  POs categories under the Sales tab from the product view

Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
2196
0
thg 5 21
3366
4
thg 1 20
4444
0
thg 3 15
4315
2
thg 3 15
5687