Files
odoo_source/addons/l10n_fr_pos_cert
pedrambiria 6da353d66f [FIX] point_of_sale: remove "willstart" for a performance issue
Before this commit: if the number of contacts is enormous, and the
"Limited Partners Loading" with "Load all remaining partners in the
background" is enabled, clicking on the product information button would
take lots of time to reload. Also, it would cause the same issue for the
"ClosePoSPopup".

The problem is that when "willstart" takes time more than the background
process it would call it again, and for every call.

The solution is to prepare the "willstart" function's data and pass it to the
constructor.

opw-2956104

closes odoo/odoo#100177

X-original-commit: 940c72d0a058240f75d3f2673a4145e8c1a0921a
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-09-14 23:38:02 +02:00
..
…
…