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

hi, how to increase POS product limit ... by default odoo show up to 100 products, i would like to know how increase this limit

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

Of course this is technically possible, but - as Ravi said - IMHO it does not make too much sense. Or do you want to scroll down 1000 products while people are waiting in the queue? Use intellent search and intelligent POS product categories, if scanning is not possible.

Can this limit be changed in Odoo online?

Câu trả lời hay nhất

POS will load all the product (where Available in POS) when it starts but it displays max 100 product on-screen due to this static conditions  https://github.com/odoo/odoo/blob/13.0/addons/point_of_sale/static/src/js/db.js#L13

I think limit 100 is a good trade-off there is a search box to search relative product by keyword and also top screen category button you can filter product by categories. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

By default odoo shows maximum of 100 products in POS. This can be increased by including new limit as you needed.

odoo.define("pos_search_limit.db", function(require) {
    "use strict";
    var PosDB = require("point_of_sale.DB");
    PosDB.include({
        limit: 1000, // The maximum number of results returned by a search
    });
});

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
1156
1
thg 1 25
1463
2
thg 8 16
4254
2
thg 5 16
4220
4
thg 8 25
2433