Merge pull request #19772 from simnandez/develop_hotfix19760
FIX #19760 Uniformize labels
This commit is contained in:
commit
9b1b107ed0
@ -3,7 +3,7 @@
|
|||||||
* Copyright (C) 2004-2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
* Copyright (C) 2005-2017 Regis Houssin <regis.houssin@inodbox.com>
|
* Copyright (C) 2005-2017 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2010-2016 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2010-2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
* Copyright (C) 2011-2021 Philippe Grand <philippe.grand@atoo-net.com>
|
* Copyright (C) 2011-2021 Philippe Grand <philippe.grand@atoo-net.com>
|
||||||
* Copyright (C) 2011 Remy Younes <ryounes@gmail.com>
|
* Copyright (C) 2011 Remy Younes <ryounes@gmail.com>
|
||||||
* Copyright (C) 2012-2015 Marcos García <marcosgdf@gmail.com>
|
* Copyright (C) 2012-2015 Marcos García <marcosgdf@gmail.com>
|
||||||
@ -2408,6 +2408,31 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
|||||||
$fieldValue = '0';
|
$fieldValue = '0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Labels Length
|
||||||
|
$maxlength = '';
|
||||||
|
if (in_array($fieldlist[$field], array('libelle', 'label'))) {
|
||||||
|
switch ($tabname) {
|
||||||
|
case MAIN_DB_PREFIX . 'c_accounting_category':
|
||||||
|
case MAIN_DB_PREFIX . 'c_ecotaxe':
|
||||||
|
case MAIN_DB_PREFIX . 'c_email_senderprofile':
|
||||||
|
case MAIN_DB_PREFIX . 'c_forme_juridique':
|
||||||
|
case MAIN_DB_PREFIX . 'c_holiday_types':
|
||||||
|
case MAIN_DB_PREFIX . 'c_payment_term':
|
||||||
|
case MAIN_DB_PREFIX . 'c_transport_mode':
|
||||||
|
$maxlength = ' maxlength="255"';
|
||||||
|
break;
|
||||||
|
case MAIN_DB_PREFIX . 'c_email_templates':
|
||||||
|
$maxlength = ' maxlength="180"';
|
||||||
|
break;
|
||||||
|
case MAIN_DB_PREFIX . 'c_socialnetworks':
|
||||||
|
$maxlength = ' maxlength="150"';
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$maxlength = ' maxlength="128"';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print '<td class="'.$classtd.'">';
|
print '<td class="'.$classtd.'">';
|
||||||
$transfound = 0;
|
$transfound = 0;
|
||||||
$transkey = '';
|
$transkey = '';
|
||||||
@ -2426,7 +2451,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$transfound) {
|
if (!$transfound) {
|
||||||
print '<input type="text" class="flat'.($class ? ' '.$class : '').'" value="'.dol_escape_htmltag($fieldValue).'" name="'.$fieldlist[$field].'">';
|
print '<input type="text" class="flat'.($class ? ' '.$class : '').'"'.($maxlength ? ' '.$maxlength : '').' value="'.dol_escape_htmltag($fieldValue).'" name="'.$fieldlist[$field].'">';
|
||||||
} else {
|
} else {
|
||||||
print '<input type="hidden" name="'.$fieldlist[$field].'" value="'.$transkey.'">';
|
print '<input type="hidden" name="'.$fieldlist[$field].'" value="'.$transkey.'">';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,6 +32,40 @@
|
|||||||
|
|
||||||
-- Missing in v15 or lower
|
-- Missing in v15 or lower
|
||||||
|
|
||||||
|
ALTER TABLE llx_c_availability MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_civility MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_country MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_currencies MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_effectif MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_exp_tax_cat MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_hrm_department MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_hrm_function MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_input_reason MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_lead_status MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_paper_format MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_partnership_type MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_product_nature MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_productbatch_qcstatus MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_propalst MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_prospectcontactlevel MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_prospectlevel MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_recruitment_origin MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_shipment_package_type MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_type_container MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_type_fees MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_type_resource MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_units MODIFY COLUMN label varchar(128);
|
||||||
|
ALTER TABLE llx_c_actioncomm MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_barcode_type MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_chargesociales MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_input_method MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_paiement MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_shipment_mode MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_stcomm MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_stcommcontact MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_type_contact MODIFY COLUMN libelle varchar(128);
|
||||||
|
ALTER TABLE llx_c_typent MODIFY COLUMN libelle varchar(128);
|
||||||
|
|
||||||
UPDATE llx_rights_def SET perms = 'writeall' WHERE perms = 'writeall_advance' AND module = 'holiday';
|
UPDATE llx_rights_def SET perms = 'writeall' WHERE perms = 'writeall_advance' AND module = 'holiday';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2012 Florian Henry <florian.henry@open-concept.pro>
|
-- Copyright (C) 2012 Florian Henry <florian.henry@open-concept.pro>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -23,7 +24,7 @@ create table llx_c_actioncomm
|
|||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
code varchar(50) NOT NULL,
|
code varchar(50) NOT NULL,
|
||||||
type varchar(50) DEFAULT 'system' NOT NULL,
|
type varchar(50) DEFAULT 'system' NOT NULL,
|
||||||
libelle varchar(48) NOT NULL,
|
libelle varchar(128) NOT NULL,
|
||||||
module varchar(50) DEFAULT NULL,
|
module varchar(50) DEFAULT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
todo tinyint, -- deprecated
|
todo tinyint, -- deprecated
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2011 Philippe GRAND <philippe.grand@atoo-net.com>
|
-- Copyright (C) 2011 Philippe GRAND <philippe.grand@atoo-net.com>
|
||||||
-- Copyright (C) 2020 Alexandre SPANGARO <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2020 Alexandre SPANGARO <aspangaro@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_availability
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(30) NOT NULL,
|
code varchar(30) NOT NULL,
|
||||||
label varchar(60) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
position integer NOT NULL DEFAULT 0
|
position integer NOT NULL DEFAULT 0
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2007-2009 Regis Houssin <regis.houssin@inodbox.com>
|
-- Copyright (C) 2007-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
-- Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -22,7 +23,7 @@ create table llx_c_barcode_type
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
libelle varchar(50) NOT NULL,
|
libelle varchar(128) NOT NULL,
|
||||||
coder varchar(16) NOT NULL,
|
coder varchar(16) NOT NULL,
|
||||||
example varchar(16) NOT NULL
|
example varchar(16) NOT NULL
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@
|
|||||||
create table llx_c_chargesociales
|
create table llx_c_chargesociales
|
||||||
(
|
(
|
||||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
libelle varchar(80),
|
libelle varchar(128),
|
||||||
deductible smallint DEFAULT 0 NOT NULL,
|
deductible smallint DEFAULT 0 NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_civility
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||||
code varchar(6) NOT NULL,
|
code varchar(6) NOT NULL,
|
||||||
label varchar(50),
|
label varchar(128),
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
-- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -23,7 +24,7 @@ create table llx_c_country
|
|||||||
rowid integer PRIMARY KEY,
|
rowid integer PRIMARY KEY,
|
||||||
code varchar(2) NOT NULL,
|
code varchar(2) NOT NULL,
|
||||||
code_iso varchar(3) ,
|
code_iso varchar(3) ,
|
||||||
label varchar(50) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
eec integer ,
|
eec integer ,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
favorite tinyint DEFAULT 0 NOT NULL
|
favorite tinyint DEFAULT 0 NOT NULL
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
|
-- Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@
|
|||||||
create table llx_c_currencies
|
create table llx_c_currencies
|
||||||
(
|
(
|
||||||
code_iso varchar(3) PRIMARY KEY,
|
code_iso varchar(3) PRIMARY KEY,
|
||||||
label varchar(64) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
unicode varchar(32) DEFAULT NULL,
|
unicode varchar(32) DEFAULT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_effectif
|
|||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
libelle varchar(30),
|
libelle varchar(128),
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
-- Copyright (C) 2012 Mikael Carlavan <mcarlavan@qis-network.com>
|
-- Copyright (C) 2012 Mikael Carlavan <mcarlavan@qis-network.com>
|
||||||
-- Copyright (C) 2017 ATM Consulting <contact@atm-consulting.fr>
|
-- Copyright (C) 2017 ATM Consulting <contact@atm-consulting.fr>
|
||||||
-- Copyright (C) 2017 Pierre-Henry Favre <phf@atm-consulting.fr>
|
-- Copyright (C) 2017 Pierre-Henry Favre <phf@atm-consulting.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS llx_c_exp_tax_cat (
|
CREATE TABLE IF NOT EXISTS llx_c_exp_tax_cat (
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
label varchar(48) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
entity integer DEFAULT 1 NOT NULL,
|
entity integer DEFAULT 1 NOT NULL,
|
||||||
active integer DEFAULT 1 NOT NULL
|
active integer DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
--
|
--
|
||||||
-- Copyright (C) 2013 Jean-François Ferry <jfefe@aternatik.fr>
|
-- Copyright (C) 2013 Jean-François Ferry <jfefe@aternatik.fr>
|
||||||
-- Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software: you can redistribute it and/or modify
|
-- This program is free software: you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@ create table llx_c_hrm_department
|
|||||||
rowid integer PRIMARY KEY,
|
rowid integer PRIMARY KEY,
|
||||||
pos tinyint DEFAULT 0 NOT NULL,
|
pos tinyint DEFAULT 0 NOT NULL,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
label varchar(50),
|
label varchar(128),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
--
|
--
|
||||||
-- Copyright (C) 2013 Jean-François Ferry <jfefe@aternatik.fr>
|
-- Copyright (C) 2013 Jean-François Ferry <jfefe@aternatik.fr>
|
||||||
-- Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software: you can redistribute it and/or modify
|
-- This program is free software: you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@ create table llx_c_hrm_function
|
|||||||
rowid integer PRIMARY KEY,
|
rowid integer PRIMARY KEY,
|
||||||
pos tinyint DEFAULT 0 NOT NULL,
|
pos tinyint DEFAULT 0 NOT NULL,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
label varchar(50),
|
label varchar(128),
|
||||||
c_level tinyint DEFAULT 0 NOT NULL,
|
c_level tinyint DEFAULT 0 NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_input_method
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(30),
|
code varchar(30),
|
||||||
libelle varchar(60),
|
libelle varchar(128),
|
||||||
active tinyint default 1 NOT NULL,
|
active tinyint default 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -23,7 +24,7 @@ create table llx_c_input_reason
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(30),
|
code varchar(30),
|
||||||
label varchar(60),
|
label varchar(128),
|
||||||
active tinyint default 1 NOT NULL,
|
active tinyint default 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- Manage Lead
|
-- Manage Lead
|
||||||
-- Copyright (C) 2014 Florian HENRY <florian.henry@open-concept.pro>
|
-- Copyright (C) 2014 Florian HENRY <florian.henry@open-concept.pro>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software: you can redistribute it and/or modify
|
-- This program is free software: you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -18,7 +19,7 @@ create table llx_c_lead_status
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(10),
|
code varchar(10),
|
||||||
label varchar(50),
|
label varchar(128),
|
||||||
position integer,
|
position integer,
|
||||||
percent double(5,2),
|
percent double(5,2),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
-- Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
-- Copyright (C) 2017 Regis Houssin <regis.houssin@inodbox.com>
|
-- Copyright (C) 2017 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -24,7 +25,7 @@ create table llx_c_paiement
|
|||||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
code varchar(6) NOT NULL,
|
code varchar(6) NOT NULL,
|
||||||
libelle varchar(62),
|
libelle varchar(128),
|
||||||
type smallint, -- 0: input money, 1: output money, 2: input and output, 3: other
|
type smallint, -- 0: input money, 1: output money, 2: input and output, 3: other
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
accountancy_code varchar(32) NULL,
|
accountancy_code varchar(32) NULL,
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2007 Regis Houssin <regis.houssin@inodbox.com>
|
-- Copyright (C) 2007 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@ create table llx_c_paper_format
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
label varchar(50) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
width float(6,2) DEFAULT 0, -- Largeur du papier
|
width float(6,2) DEFAULT 0, -- Largeur du papier
|
||||||
height float(6,2) DEFAULT 0, -- Hauteur du papier
|
height float(6,2) DEFAULT 0, -- Hauteur du papier
|
||||||
unit varchar(5) NOT NULL, -- Mesure unit
|
unit varchar(5) NOT NULL, -- Mesure unit
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2021 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2021 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -29,7 +30,7 @@ create table llx_c_partnership_type
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
entity integer DEFAULT 1 NOT NULL,
|
entity integer DEFAULT 1 NOT NULL,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
label varchar(64) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2020 Florian HENRY <florian.henry@scopen.fr>
|
-- Copyright (C) 2020 Florian HENRY <florian.henry@scopen.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -19,6 +21,6 @@
|
|||||||
CREATE TABLE llx_c_product_nature (
|
CREATE TABLE llx_c_product_nature (
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code tinyint NOT NULL,
|
code tinyint NOT NULL,
|
||||||
label varchar(100),
|
label varchar(128),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2012-2017 Noé Cendrier <noe.cendrier@altairis.fr>
|
-- Copyright (C) 2012-2017 Noé Cendrier <noe.cendrier@altairis.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,6 +22,6 @@ CREATE TABLE llx_c_productbatch_qcstatus
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
entity integer NOT NULL DEFAULT 1,
|
entity integer NOT NULL DEFAULT 1,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
label varchar(50) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
active integer DEFAULT 1 NOT NULL
|
active integer DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_propalst
|
|||||||
(
|
(
|
||||||
id smallint PRIMARY KEY,
|
id smallint PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
label varchar(30),
|
label varchar(128),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2020 Open-Dsi <support@open-dsi.fr>
|
-- Copyright (C) 2020 Open-Dsi <support@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -19,7 +20,7 @@
|
|||||||
create table llx_c_prospectcontactlevel
|
create table llx_c_prospectcontactlevel
|
||||||
(
|
(
|
||||||
code varchar(12) PRIMARY KEY,
|
code varchar(12) PRIMARY KEY,
|
||||||
label varchar(30),
|
label varchar(128),
|
||||||
sortorder smallint,
|
sortorder smallint,
|
||||||
active smallint DEFAULT 1 NOT NULL,
|
active smallint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -19,7 +20,7 @@
|
|||||||
create table llx_c_prospectlevel
|
create table llx_c_prospectlevel
|
||||||
(
|
(
|
||||||
code varchar(12) PRIMARY KEY,
|
code varchar(12) PRIMARY KEY,
|
||||||
label varchar(30),
|
label varchar(128),
|
||||||
sortorder smallint,
|
sortorder smallint,
|
||||||
active smallint DEFAULT 1 NOT NULL,
|
active smallint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -28,6 +29,6 @@ create table llx_c_recruitment_origin
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
label varchar(64) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -22,7 +23,7 @@ create table llx_c_shipment_mode
|
|||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
code varchar(30) NOT NULL,
|
code varchar(30) NOT NULL,
|
||||||
libelle varchar(50) NOT NULL,
|
libelle varchar(128) NOT NULL,
|
||||||
description text,
|
description text,
|
||||||
tracking varchar(255) NULL,
|
tracking varchar(255) NULL,
|
||||||
active tinyint DEFAULT 0,
|
active tinyint DEFAULT 0,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
create table llx_c_shipment_package_type
|
create table llx_c_shipment_package_type
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
label varchar(50) NOT NULL, -- Short name
|
label varchar(128) NOT NULL, -- Short name
|
||||||
description varchar(255), -- Description
|
description varchar(255), -- Description
|
||||||
active integer DEFAULT 1 NOT NULL, -- Active or not
|
active integer DEFAULT 1 NOT NULL, -- Active or not
|
||||||
entity integer DEFAULT 1 NOT NULL -- Multi company id
|
entity integer DEFAULT 1 NOT NULL -- Multi company id
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_stcomm
|
|||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
libelle varchar(30),
|
libelle varchar(128),
|
||||||
picto varchar(128),
|
picto varchar(128),
|
||||||
active tinyint default 1 NOT NULL
|
active tinyint default 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2020 Open-Dsi <support@open-dsi.fr>
|
-- Copyright (C) 2020 Open-Dsi <support@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -20,7 +21,7 @@ create table llx_c_stcommcontact
|
|||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
libelle varchar(30),
|
libelle varchar(128),
|
||||||
picto varchar(128),
|
picto varchar(128),
|
||||||
active tinyint default 1 NOT NULL
|
active tinyint default 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -32,7 +33,7 @@ create table llx_c_type_contact
|
|||||||
element varchar(30) NOT NULL,
|
element varchar(30) NOT NULL,
|
||||||
source varchar(8) DEFAULT 'external' NOT NULL,
|
source varchar(8) DEFAULT 'external' NOT NULL,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
libelle varchar(64) NOT NULL,
|
libelle varchar(128) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL,
|
module varchar(32) NULL,
|
||||||
position integer NOT NULL DEFAULT 0
|
position integer NOT NULL DEFAULT 0
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
@ -30,7 +31,7 @@ create table llx_c_type_container
|
|||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
label varchar(64) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
module varchar(32) NULL,
|
module varchar(32) NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
-- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -23,7 +24,7 @@ create table llx_c_type_fees
|
|||||||
(
|
(
|
||||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
label varchar(30),
|
label varchar(128),
|
||||||
type integer DEFAULT 0, -- 0=type product, 1=type service
|
type integer DEFAULT 0, -- 0=type product, 1=type service
|
||||||
accountancy_code varchar(32) NULL,
|
accountancy_code varchar(32) NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2014 Jean-François Ferry <jfefe@aternatik.fr>
|
-- Copyright (C) 2014 Jean-François Ferry <jfefe@aternatik.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
@ -29,6 +30,6 @@ create table llx_c_type_resource
|
|||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
label varchar(64) NOT NULL,
|
label varchar(128) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -21,7 +22,7 @@ create table llx_c_typent
|
|||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
code varchar(12) NOT NULL,
|
code varchar(12) NOT NULL,
|
||||||
libelle varchar(64),
|
libelle varchar(128),
|
||||||
fk_country integer NULL, -- Defined only to have specific list for countries that can't use generic list (like argentina that need type A or B)
|
fk_country integer NULL, -- Defined only to have specific list for countries that can't use generic list (like argentina that need type A or B)
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
module varchar(32) NULL,
|
module varchar(32) NULL,
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2012 Cédric Salvador <csalvador@gpcsolutions.fr>
|
-- Copyright (C) 2012 Cédric Salvador <csalvador@gpcsolutions.fr>
|
||||||
|
-- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
-- it under the terms of the GNU General Public License as published by
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -23,7 +24,7 @@ create table llx_c_units(
|
|||||||
code varchar(3),
|
code varchar(3),
|
||||||
sortorder smallint,
|
sortorder smallint,
|
||||||
scale integer,
|
scale integer,
|
||||||
label varchar(50),
|
label varchar(128),
|
||||||
short_label varchar(5),
|
short_label varchar(5),
|
||||||
unit_type varchar(10),
|
unit_type varchar(10),
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user