Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
96 Vistas

Hello Odoo Community,

I manage a website that regularly publishes job results and notifications, for example, rojgar--result.com. Because the site is updated frequently and has high traffic, I’m exploring how to use Odoo (such as the Website Builder, Portal, or custom modules) to help automate content updates, handle user notifications, and sync data with external sources.

My questions:

  1. Which Odoo app or module is best suited for automating content updates from external feeds or databases into the website?
  2. How would you set up Odoo to trigger notifications (email or portal alerts) when a new result is published?
  3. Are there best practices for performance and scalability when a site has a heavy load and many simultaneous users?


Avatar
Descartar
Mejor respuesta

Hi,


To automate content updates in Odoo, the best approach is typically a custom module combined with the Website Builder. The custom module fetches and transforms data from external sources (APIs, databases, etc.) and then uses Odoo's ORM to create or update records. The Website Builder then displays this data using dynamic templates. For simpler cases, Odoo Studio or the import module with scheduled actions might suffice, but they offer less flexibility.


For triggering notifications, automated actions are the most common and flexible method. You can configure them to send emails or create activities when new content is published. For more complex logic, you can trigger notifications directly from Python code.


To ensure performance and scalability, focus on database optimization (indexing, vacuuming, archiving), caching (HTTP, Odoo, Memcached/Redis), asynchronous tasks (Celery), load balancing, code optimization (efficient queries, profiling), image optimization, and website optimization (minifying CSS/JS, lazy loading, CDN). Consider using Odoo.sh for its built-in scalability features and regularly monitor your server's performance.


Hope it helps

Avatar
Descartar
Mejor respuesta

Hi Karan,

Yes, Odoo can definitely be used to automate a website like yours, but it usually takes a mix of built-in tools and a bit of custom development. The best starting point is the Website and Website Blog apps, since they let you manage posts, announcements, and job updates directly from Odoo’s backend. For automation, you can create a small custom module or scheduled job (cron task) that connects to your external data source or API and automatically creates or updates records in Odoo whenever new results are available. This keeps your content fresh without manual uploads.

For user notifications, Odoo’s built-in Discuss and Mail features work well. You can have Odoo automatically send an email, portal notification, or even an SMS when a new result is published. If you want something more advanced, you can add a simple subscription model where users choose the categories or topics they care about and Odoo sends them only those updates.

As for performance, the key is setup. Run Odoo in multi-worker mode, use Redis for caching sessions and data, and let Nginx or a CDN handle static files. If your traffic is very high, separating the public website frontend from the main Odoo backend through an API (a headless setup) can make things much smoother.


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 22
2661
3
may 25
3459
0
dic 23
3086
1
sept 23
6099
3
sept 25
21501