146
edits
Theopequiii (talk | contribs) (Documentation of the module (editor: Theo Pequignot)) |
Theopequiii (talk | contribs) (Version 1.4.1 : génération du PDF fiabilisée / PDF generation made reliable) |
||
| Line 18: | Line 18: | ||
|- | |- | ||
! Version | ! Version | ||
| 1.4. | | 1.4.1 | ||
|- | |- | ||
! Dolibarr | ! Dolibarr | ||
| Line 38: | Line 38: | ||
* '''Never the same invoice twice''': one invoice per subscription and period, guaranteed by a unique key in the database. | * '''Never the same invoice twice''': one invoice per subscription and period, guaranteed by a unique key in the database. | ||
* Works with or without a scheduled job: without cron, due invoices are generated while users browse. | * Works with or without a scheduled job: without cron, due invoices are generated while users browse. | ||
* '''Always a PDF''': if the PDF template inherited from the template invoice is no longer available, the module falls back to the default invoice template, then to an active one, and records it in the journal. | |||
== Three ways to create a subscription == | == Three ways to create a subscription == | ||
| Line 58: | Line 59: | ||
== Sending and journal == | == Sending and journal == | ||
* Invoice emailed with your templates, after your review or automatically, your choice. Nothing is sent if the invoice is still a draft | * Invoice emailed with your templates, after your review or automatically, your choice. Nothing is sent if the invoice is still a draft; a missing PDF is generated when the email is sent. | ||
* Full journal: every invoice generated or failed, every reminder proposed, sent or dismissed. | * Full journal: every invoice generated or failed, every reminder proposed, sent or dismissed. | ||
* An invoice without PDF is flagged « PDF missing » in the journal and on the subscription card, with a « Generate the PDF » button. | |||
== Built on the native engine == | == Built on the native engine == | ||
| Line 68: | Line 70: | ||
'''Upgrading from a previous version:''' replace the files, then disable and re-enable the module. Subscriptions, journal, settings and permissions are kept. | '''Upgrading from a previous version:''' replace the files, then disable and re-enable the module. Subscriptions, journal, settings and permissions are kept. | ||
== Versions == | |||
* '''1.4.1''' (2 October 2026): invoices generated with a PDF template that was no longer available had no PDF; fallback generation, PDF built when the email is sent, catch-up button in the journal. | |||
* '''1.4.0''' (2 October 2026): configurable payment terms (per subscription or enforced), new module id 194157. | |||
== Compatibility == | == Compatibility == | ||
edits