This module extends the standard Odoo blogging system by adding an auto-publish feature. Blog posts can be scheduled for future publication by setting a post_date
. If the auto_publish
field is set to True
, the post will be automatically published once the current date surpasses the post_date
.
- Scheduled Publishing: Set a future date and time for your blog post to be automatically published.
- Auto Publish Toggle: Decide on a per-post basis if you want the auto-publish feature to be active with a simple checkbox.
- Navigate to the Blog Posts section in Odoo.
- Create or edit a blog post.
- You'll find an
auto_publish
checkbox. If you want the post to be auto-published, ensure this is checked. - Set the
post_date
to the desired future date and time for publication. - Save the post. It will be automatically published once the current date surpasses the
post_date
, providedauto_publish
is set toTrue
.
- Odoo Blog: This module extends the standard Odoo blogging system, so you need to have the
website_blog
module installed and running.
The module runs a scheduled action every 10 minutes to check for any blog posts that should be published. Ensure your Odoo instance's scheduled actions (cron jobs) are active for this module to function correctly.
- Post not publishing: Ensure the
post_date
is set correctly, and theauto_publish
checkbox is checked. - Scheduled action not running: Navigate to
Settings > Technical > Scheduled Actions
and ensure the action related to this module is active and running at the expected intervals.
This module is licensed under the LGPL-3.0 License. See the LICENSE file for more details.
If you find any issues or want to contribute to the development of this module, please create an issue or pull request on our GitHub repository.