Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hello everyone,

I'm currently using Barcode module for scanning products. However, when I clicked on an order (which only had a few products), the module loaded all the products inside my database back to the client through get_all_product_by_barcode method.

The problem is, this method is extremely slow. It loaded 64000 products in almost 50 seconds every time I clicked on an order. My workflow is slowed down so much because of it.

Does anyone have solutions for this?

Thank you.

Awatar
Odrzuć

You can inherit this function in a custom module and instead of searching via orm, you can do it direct search using sql queries, which will reduce the time

Powiązane posty Odpowiedzi Widoki Czynność
6
sie 15
7633
0
lip 24
1727
Removing Barcode Rozwiązane
3
lip 21
4560
1
mar 20
5476
1
mar 15
3693