From 04a1b6b1f516eac89e350bc94fc65ef2b004b827 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Jul 2024 15:31:12 +0200 Subject: [PATCH] Close #24842 --- htdocs/install/mysql/migration/20.0.0-21.0.0.sql | 2 ++ htdocs/install/mysql/tables/llx_propal.sql | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/migration/20.0.0-21.0.0.sql b/htdocs/install/mysql/migration/20.0.0-21.0.0.sql index fc0a2a5725a71..f4a76d066bdd5 100644 --- a/htdocs/install/mysql/migration/20.0.0-21.0.0.sql +++ b/htdocs/install/mysql/migration/20.0.0-21.0.0.sql @@ -62,3 +62,5 @@ ALTER TABLE llx_contrat ADD COLUMN total_ht double(24,8) DEFAULT 0; ALTER TABLE llx_contrat ADD COLUMN total_ttc double(24,8) DEFAULT 0; ALTER TABLE llx_expedition_package MODIFY COLUMN dangerous_goods varchar(60) DEFAULT '0'; + +ALTER TABLE llx_propal ADD COLUMN model_pdf_pos_sign VARCHAR(32) DEFAULT NULL AFTER model_pdf; diff --git a/htdocs/install/mysql/tables/llx_propal.sql b/htdocs/install/mysql/tables/llx_propal.sql index 63b8103b3391b..6c2efd85ab0b7 100644 --- a/htdocs/install/mysql/tables/llx_propal.sql +++ b/htdocs/install/mysql/tables/llx_propal.sql @@ -66,8 +66,9 @@ create table llx_propal note_private text, note_public text, - model_pdf varchar(255), -- last template used to generate main document - last_main_doc varchar(255), -- relative filepath+filename of last main generated document + model_pdf varchar(255), -- last template used to generate main document (exemple: azur, generic_invoice_odt:/pathto/template_invoice.odt) + model_pdf_pos_sign varchar(32), -- last position used to include the signature (example: posX:posY:Height:Width) + last_main_doc varchar(255), -- relative filepath+filename of the last main generated document date_livraison date DEFAULT NULL, -- delivery date fk_shipping_method integer, -- shipping method id