odoo/tutorials#895

Created by Dhruvrajsinh Zala (zadh)

Blocked

label
odoo-dev:18.0-automated-send-invoice-email-zadh
head
b8b1611bc9fa71bb627222ba36f318a37fd549fc
odoo/tutorials
18.0 #895 missing r+
master

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

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]