This question has been flagged

Hello community,

we have a problem in our website after an order of a user.

The page take easily 20 secondes to load. After looking the origin of the problem, we saw that It was coming from the sale_order.py file. 

There are multiple database access, but we don't know why. And we're not sure of the usefulness of these accesses.

Does anybody got an idea of why odoo make these database access ?

Thank you in advance.

Artemis

Avatar
Discard

can you give more details about what is slow... ?

Access in sale_order is E.G. to find last cart (starting from other session), or check validity from the current cart...