Skip to content
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

[Customer Invoice] Automatically send the invoice generated from a template #32553

Open
2 tasks
Thatoo opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks
Labels
Feature request This is a feature request

Comments

@Thatoo
Copy link
Contributor

Thatoo commented Jan 7, 2025

Feature Request

Currently, template invoices allow us to automatically create, validate and generate PDF with a predefined periodicity. But we still need to send the invoice to the customer by e-mail manually.

Use case

Use template invoice.
Once an invoice is generated from a template, you need to send it by e-mail

Suggested implementation

On the template invoice object, add the following fields :

  • Automatically send by e-mail (yes / no) : mention to explain it will auto validate these invoices
  • E-mail model to use (dropdown with models available for invoices)

The sender is the user connected to run the planned task (so it must have proper e-mail setup) and the recipient are the contacts linked to the invoice with BILLING role or the e-mail on the thirdparty card. An error e-mail must be send to the sender if no e-mail is available to send the invoice.

An other way, probably easier, integrate https://github.com/bugness-chl/sendrecurringinvoicebymail into Dolibarr's core.

Suggested steps

No response

@Thatoo Thatoo added the Feature request This is a feature request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant