Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
27 Views

Dear, I have been facing a problem for 3 days and I have not found a solution. The same thing is that when I want to validate a supplier reception, internal supply reception, an internal transfer, Expedition or POS order, the time is excessive. The maximum number of lines is 56 which cannot be completed and the minimum is 3 lines which takes 2.5 minutes. The same thing happened to someone, how could they solve it?

Avatar
Discard

Hello 

That was If and but cases but check the below solution 


Solutions

1. Optimize Server Performance

  • Upgrade Resources: Increase CPU cores, RAM, and disk speed (use SSDs).
  • Load Balancing: If multiple users are active, consider setting up a load-balanced environment.

2. Review Custom Modules

  • Audit custom modules or workflows for inefficiencies in their code.
  • Optimize Python code and SQL queries in customizations.

3. Index the Database

  • Add appropriate indexes to frequently queried tables (e.g., stock moves, stock picking).
  • Analyze slow queries using Odoo's logs or database tools.

4. Batch Processing

  • For operations with multiple lines, break them into smaller batches.
  • Validate smaller batches instead of large operations to reduce processing time.

5. Disable Unnecessary Features

  • Temporarily disable workflows like automatic reordering rules during bulk validations.

6. Technical Auditing

  • Use Odoo's Profiler or log debugging mode to pinpoint bottlenecks during validations.

7. Upgrade Odoo Version

  • Ensure you're on the latest stable version of Odoo, as newer versions typically include performance improvements.

8. Optimize Third-party Services

  • If you use external integrations (e.g., payment gateways, shipping APIs), ensure they are not causing delays during validation.

9. Parallel Processing

  • If you regularly process operations with many lines, consider scripting custom parallel processing to reduce load times.

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!