Odoo Help

0

Why might adding line items to a quotation take 20+ seconds?

By
Daniel Kauffman
on 11/20/14, 4:20 PM 753 views

When using the Odoo 7 web interface to build a quotation, once the quotation includes 50+ line items, clicking the link to "Add an item" yields a red "Loading" message which flashes for 20+ seconds.

The behavior is not specific to any particular quotation.

Quotations with only a few line items respond quickly.

Viewing the web traffic on the client shows a request approximately every 100ms to /web/dataset/call_kw which continues for as long as the red "Loading" message is flashing.

Setting log_min_duration_statement on the PostgreSQL server does not show any queries taking longer than 20ms with most queries responding in <1ms.

The server is very lightly loaded. During the request, top shows the server load average <0.1, one Python process using about 10-20% CPU, several PostgreSQL processes each using 2-5% CPU, approximately 2GB RAM in use, another 2GB RAM available. No disk partitions are anywhere close to being full. There are no other services running on this server.

There are no interesting logs.

0

Ivan

--Ivan--
3290
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 11/20/14, 10:36 PM

Daniel, you can try to up the logging level to check what causes the delay.  debug_rpc and debug_rpc_answer may be helpful.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/20/14, 4:20 PM
Seen: 753 times
Last updated: 3/16/15, 8:10 AM