Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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.

Avatar
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
6
srp 15
7620
0
čvc 24
1699
3
čvc 21
4516
1
bře 20
5438
1
bře 15
3673