odoo/tutorials#918

Created by Dhananjay Brahmane (dhbr)

Blocked

label
odoo-dev:18.0-Automatic-invoice-dhbr
head
0e9c04379054fff6dcf1bcd41558421d793b3931
odoo/tutorials
18.0 #918 missing r+
master

[ADD] automatic_invoice: Implemented automated invoice sending by email

This PR introduces a new feature to automate the sending of customer invoices via email. The system is managed through a new section in the Accounting settings, allowing administrators to enable the functionality and configure a specific delay period in days. A daily cron job has been implemented to handle the automation, which identifies and processes all posted, unpaid customer invoices with an invoice date that has passed the configured delay. To prevent duplicate communications, a new boolean field, 'is_auto_email_sent', has been added to the invoice model to track which invoices have already been sent by this process.

Task ID :- 5020819