Skip to content

[ADD] account_automate_invoice_mail: add invoice email settings and cron job #895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

zadh-odoo
Copy link

Description:
This PR introduces functionality to automate invoice email delivery based on a configurable delay.

Before:
There was no way to configure how many days in advance invoices should be emailed automatically. No cron existed to handle this.

After:
Added a settings field send_email_invoice_days in invoice configuration. Created a cron that runs daily and sends emails (with PDF attachment) for posted invoices whose invoice_date is exactly N days before today, as per config.

Impact:
Automates invoice email sending based on configurable delay, improving billing workflows.

Task:[4968898]

…ron job

Before:
There was no way to configure how many days in advance invoices should be emailed automatically. No cron existed to handle this.

After:
Added a settings field send_email_invoice_days in invoice configuration.
Created a cron that runs daily and sends emails (with PDF attachment) for posted invoices whose invoice_date is exactly N days before today, as per config.

Impact:
Automates invoice email sending based on configurable delay, improving billing workflows.

Task:[4968898]
@robodoo
Copy link

robodoo commented Jul 28, 2025

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants