تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2715 أدوات العرض

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.

الصورة الرمزية
إهمال

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
6
أغسطس 15
7616
0
يوليو 24
1695
Removing Barcode تم الحل
3
يوليو 21
4511
1
مارس 20
5434
1
مارس 15
3668