From ba3df067f3a6d9d18f146ec517226a5bd57c970f Mon Sep 17 00:00:00 2001 From: Vincent Penel Date: Mon, 26 Jan 2026 15:53:45 +0100 Subject: [PATCH] Automatically send the invoice generated from a template DB (#36947) * Update DB * Add flag auto send --------- Co-authored-by: Laurent Destailleur --- htdocs/install/mysql/tables/llx_facture_rec.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/mysql/tables/llx_facture_rec.sql b/htdocs/install/mysql/tables/llx_facture_rec.sql index 8d59805eb3b..d6a613cffa0 100644 --- a/htdocs/install/mysql/tables/llx_facture_rec.sql +++ b/htdocs/install/mysql/tables/llx_facture_rec.sql @@ -75,7 +75,7 @@ create table llx_facture_rec date_last_gen datetime DEFAULT NULL, -- date for last gen (date with last successfull generation of invoice) nb_gen_done integer DEFAULT NULL, -- nb of generation done (when an invoice is generated, this field must incremented) nb_gen_max integer DEFAULT NULL, -- maximum number of generation - auto_validate integer DEFAULT 0, -- 0 to create in draft, 1 to create and validate the new invoice + auto_validate integer DEFAULT 0, -- 0 to create in draft, 1 to create and validate the new invoice, 2 to create+validate and send fk_email_template integer DEFAULT NULL, -- email template for automatic sending generate_pdf integer DEFAULT 1 -- 0 disable pdf, 1 to generate pdf )ENGINE=innodb;