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?
Welcome!
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
This question has been flagged
1
Reply
27
Views
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.
Your Answer
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up