Commit graph

17 commits

Author SHA1 Message Date
Chl
44c54ab3f7 $conf->global->MAIN_MAIL_ERRORS_TO is not always set 2024-03-15 01:22:23 +01:00
Chl
a7532db483 Execute the hook only for customer invoices
With the introduction of supplier invoice templates in Dolibarr 16, with the
same hook but different table, this module tried to load the customer invoice
having the same id than the supplier invoice template being treated. This could
result in severe information disclosure.

Fixes gh-10
2024-03-13 18:29:27 +01:00
Chl
224e82f9fa Default choice for body format (auto/txt/html) in module's setup
Enhancement for issue #1
2021-12-05 02:04:18 +01:00
Chl
faa9dcaa6c Allow sending emails even when the invoice is a draft 2021-12-05 02:04:18 +01:00
Chl
1e694ef51d [DB upgrade] Adding a field to select the mail's body format
Technical reminder about the DB upgrade :
There doesn't seem to be an easy and reusable way to give CMail both
parts of an text+html email, so we rework the database schema to have
a simple 'body' field with a 'body_ishtml' switch, following CMail
interface.

Enhancement from issue #1
2021-12-05 02:01:00 +01:00
Chl
55ae226239 Show attached files in agenda event 2021-07-17 18:52:11 +02:00
Chl
b5bc4bca93 v. 0.3.0 : customization form for each recurring invoice 2021-03-23 15:27:33 +01:00
Chl
3f14164994 Allow some mail customization for each template via note_private 2021-02-20 00:32:15 +01:00
Chl
d6047334de Reload not needed anymore
Tested with Dolibarr 10.0.7 and 13.0.0.
2021-02-19 02:20:45 +01:00
Benjamin Freeman
8f3c0495fc Fix missing thirdparty info 2021-02-19 01:53:57 +01:00
Chl
4a56e8b1c0 Renaming from sendfacrecmail to sendrecurringinvoicebymail
Since Dolibarr 10.0 just came out, this module may (at last) become
useful. Let's use a more easily understandable name for it.
2019-08-03 19:08:07 +02:00
Chl
dbb7acfb8f Hooks intégrés dans develop (pour la v10 ?) 2019-02-28 02:05:20 +01:00
Chl
f7a693d7dc Refonte pour trigger sur agenda 2018-12-03 23:39:40 +01:00
Chl
59bc09e99f Version fonctionnelle 2018-12-02 01:18:02 +01:00
Chl
2efa632487 version de test 2018-12-02 00:33:14 +01:00
Chl
2b07d8f132 Première passe de config. et nettoyage 2018-12-01 23:26:49 +01:00
Chl
ae6b0cd544 Commit initial
Tout frais sorti de ModuleBuilder (9.0.0-beta 0fb95c91a4faf0930a6a744dec307d3ffc517157)
2018-12-01 22:40:20 +01:00