forked from Wavyzz/dolibarr
Merge branch 'develop' into patch-187
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
create table llx_accounting_account
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
rowid bigint AUTO_INCREMENT PRIMARY KEY,
|
||||
entity integer DEFAULT 1 NOT NULL,
|
||||
datec datetime,
|
||||
tms timestamp,
|
||||
|
||||
@@ -21,8 +21,9 @@ CREATE TABLE llx_accounting_bookkeeping
|
||||
(
|
||||
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
entity integer DEFAULT 1 NOT NULL, -- | multi company id
|
||||
doc_date date NOT NULL, -- FEC:PieceDate
|
||||
doc_type varchar(30) NOT NULL, -- | facture_client/reglement_client/facture_fournisseur/reglement_fournisseur
|
||||
piece_num integer NOT NULL, -- FEC:EcritureNum | accounting transaction id
|
||||
doc_date date NOT NULL, -- FEC:PieceDate | date of source document
|
||||
doc_type varchar(30) NOT NULL, -- | facture_client/reglement_client/facture_fournisseur/reglement_fournisseur/import
|
||||
doc_ref varchar(300) NOT NULL, -- FEC:PieceRef | facture_client/reglement_client/... reference number
|
||||
fk_doc integer NOT NULL, -- | facture_client/reglement_client/... rowid
|
||||
fk_docdet integer NOT NULL, -- | facture_client/reglement_client/... line rowid
|
||||
@@ -48,7 +49,6 @@ CREATE TABLE llx_accounting_bookkeeping
|
||||
fk_user integer NULL, -- The id of user that validate the accounting source document
|
||||
code_journal varchar(32) NOT NULL, -- FEC:JournalCode
|
||||
journal_label varchar(255), -- FEC:JournalLib
|
||||
piece_num integer NOT NULL, -- FEC:EcritureNum | accounting source document
|
||||
date_validated datetime, -- FEC:ValidDate | if empty: movement not validated / if not empty: movement validated (No deleting / No modification)
|
||||
date_export datetime DEFAULT NULL, --
|
||||
import_key varchar(14),
|
||||
|
||||
@@ -26,13 +26,13 @@ CREATE TABLE llx_bom_bom(
|
||||
fk_product integer,
|
||||
qty double(24,8),
|
||||
efficiency double(8,4) DEFAULT 1,
|
||||
date_creation datetime NOT NULL,
|
||||
date_creation datetime NOT NULL,
|
||||
date_valid datetime,
|
||||
tms timestamp,
|
||||
date_valid datetime,
|
||||
fk_user_creat integer NOT NULL,
|
||||
fk_user_creat integer NOT NULL,
|
||||
fk_user_modif integer,
|
||||
fk_user_valid integer,
|
||||
import_key varchar(14),
|
||||
status integer NOT NULL
|
||||
-- END MODULEBUILDER FIELDS
|
||||
) ENGINE=innodb;
|
||||
) ENGINE=innodb;
|
||||
|
||||
@@ -23,6 +23,6 @@ CREATE TABLE llx_bom_bomline(
|
||||
import_key varchar(14),
|
||||
qty double(24,8) NOT NULL,
|
||||
efficiency double(8,4) NOT NULL DEFAULT 1,
|
||||
rank integer NOT NULL
|
||||
position integer NOT NULL
|
||||
-- END MODULEBUILDER FIELDS
|
||||
) ENGINE=innodb;
|
||||
|
||||
@@ -36,5 +36,4 @@ create table llx_c_field_list
|
||||
visible tinyint DEFAULT 1 NOT NULL, -- visibility of field. 0=Never visible, 1=Visible on list and forms, 2=Visible on list only
|
||||
enabled varchar(255) DEFAULT 1, -- Condition to show or hide
|
||||
rang integer DEFAULT 0
|
||||
|
||||
)ENGINE=innodb;
|
||||
|
||||
21
htdocs/install/mysql/tables/llx_c_hrm_public_holiday.key.sql
Normal file
21
htdocs/install/mysql/tables/llx_c_hrm_public_holiday.key.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2019 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
ALTER TABLE llx_c_hrm_public_holiday ADD UNIQUE INDEX uk_c_hrm_public_holiday(entity, code);
|
||||
ALTER TABLE llx_c_hrm_public_holiday ADD UNIQUE INDEX uk_c_hrm_public_holiday2(entity, fk_country, dayrule, day, month, year);
|
||||
|
||||
31
htdocs/install/mysql/tables/llx_c_hrm_public_holiday.sql
Normal file
31
htdocs/install/mysql/tables/llx_c_hrm_public_holiday.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2019 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_hrm_public_holiday
|
||||
(
|
||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||
entity integer DEFAULT 0 NOT NULL, -- multi company id, 0 = all
|
||||
fk_country integer,
|
||||
code varchar(62),
|
||||
dayrule varchar(64) DEFAULT '', -- 'easter', 'eastermonday', ...
|
||||
day integer,
|
||||
month integer,
|
||||
year integer, -- 0 for all years
|
||||
active integer DEFAULT 1,
|
||||
import_key varchar(14)
|
||||
)ENGINE=innodb;
|
||||
@@ -20,5 +20,5 @@ create table llx_c_price_expression
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
title varchar(20) NOT NULL,
|
||||
expression varchar(80) NOT NULL
|
||||
expression varchar(255) NOT NULL
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
ALTER TABLE llx_c_shipment_mode ADD UNIQUE INDEX uk_c_shipment_mode (code);
|
||||
ALTER TABLE llx_c_shipment_mode ADD UNIQUE INDEX uk_c_shipment_mode (code, entity);
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
create table llx_c_shipment_mode
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||
tms timestamp,
|
||||
code varchar(30) NOT NULL,
|
||||
libelle varchar(50) NOT NULL,
|
||||
|
||||
@@ -47,7 +47,7 @@ create table llx_commande_fournisseurdet
|
||||
date_start datetime DEFAULT NULL, -- date debut si service
|
||||
date_end datetime DEFAULT NULL, -- date fin si service
|
||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
||||
special_code integer DEFAULT 0, -- code for special lines
|
||||
rang integer DEFAULT 0,
|
||||
import_key varchar(14),
|
||||
fk_unit integer DEFAULT NULL,
|
||||
|
||||
20
htdocs/install/mysql/tables/llx_entrepot_extrafields.key.sql
Normal file
20
htdocs/install/mysql/tables/llx_entrepot_extrafields.key.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_entrepot_extrafields ADD INDEX idx_entrepot_extrafields (fk_object);
|
||||
26
htdocs/install/mysql/tables/llx_entrepot_extrafields.sql
Normal file
26
htdocs/install/mysql/tables/llx_entrepot_extrafields.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_entrepot_extrafields
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
tms timestamp,
|
||||
fk_object integer NOT NULL,
|
||||
import_key varchar(14) -- import key
|
||||
) ENGINE=innodb;
|
||||
|
||||
@@ -27,6 +27,7 @@ create table llx_events
|
||||
tms timestamp, -- date creation/modification
|
||||
type varchar(32) NOT NULL, -- action type
|
||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||
prefix_session varchar(255) NULL, -- prefix of session, obtained with dol_getprefix
|
||||
dateevent datetime, -- date event
|
||||
fk_user integer, -- id user
|
||||
description varchar(250) NOT NULL, -- full description of action
|
||||
|
||||
@@ -44,7 +44,7 @@ CREATE TABLE llx_expensereport (
|
||||
fk_user_cancel integer DEFAULT NULL,
|
||||
fk_statut integer NOT NULL, -- 1=brouillon, 2=validated (waiting approval), 4=canceled, 5=approved, 6=payed, 99=refused
|
||||
fk_c_paiement integer DEFAULT NULL, -- deprecated
|
||||
paid smallint default 0 NOT NULL, -- deprecated
|
||||
paid smallint default 0 NOT NULL, -- deprecated (status is used instead)
|
||||
note_public text,
|
||||
note_private text,
|
||||
detail_refuse varchar(255) DEFAULT NULL,
|
||||
|
||||
@@ -43,7 +43,7 @@ CREATE TABLE llx_expensereport_det
|
||||
total_ttc double(24,8) DEFAULT 0 NOT NULL,
|
||||
date date NOT NULL,
|
||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
||||
special_code integer DEFAULT 0, -- code for special lines
|
||||
fk_multicurrency integer,
|
||||
multicurrency_code varchar(255),
|
||||
multicurrency_subprice double(24,8) DEFAULT 0,
|
||||
|
||||
@@ -88,6 +88,10 @@ create table llx_facture
|
||||
situation_counter smallint, -- situation counter
|
||||
situation_final smallint, -- is the situation final ?
|
||||
|
||||
retained_warranty real DEFAULT NULL, -- % of retained warranty
|
||||
retained_warranty_date_limit date DEFAULT NULL,
|
||||
retained_warranty_fk_cond_reglement integer DEFAULT NULL, -- payment condition of retained warranty
|
||||
|
||||
import_key varchar(14),
|
||||
extraparams varchar(255), -- for other parameters with json format
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ create table llx_facture_fourn_det
|
||||
date_end datetime DEFAULT NULL, -- date fin si service
|
||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||
fk_code_ventilation integer DEFAULT 0 NOT NULL,
|
||||
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
||||
special_code integer DEFAULT 0, -- code for special lines
|
||||
rang integer DEFAULT 0,
|
||||
import_key varchar(14),
|
||||
fk_unit integer DEFAULT NULL,
|
||||
|
||||
@@ -52,7 +52,7 @@ create table llx_facturedet_rec
|
||||
buy_price_ht double(24,8) DEFAULT 0, -- buying price. Note: this value is saved as an always positive value, even on credit notes (it is price we bought the product before selling it).
|
||||
fk_product_fournisseur_price integer DEFAULT NULL, -- reference of supplier price when line was added (may be used to update buy_price_ht current price when future invoice will be created)
|
||||
|
||||
special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales
|
||||
special_code integer UNSIGNED DEFAULT 0, -- code for special lines
|
||||
rang integer DEFAULT 0, -- ordre d'affichage
|
||||
fk_contract_line integer NULL, -- id of contract line when template invoice comes from contract lines
|
||||
fk_unit integer DEFAULT NULL,
|
||||
|
||||
@@ -43,6 +43,7 @@ create table llx_mailing
|
||||
date_valid datetime, --
|
||||
date_appro datetime, --
|
||||
date_envoi datetime, -- date d'envoi
|
||||
tms timestamp,
|
||||
fk_user_creat integer, -- user creator
|
||||
fk_user_valid integer, -- user validator
|
||||
fk_user_appro integer, -- not used
|
||||
|
||||
@@ -34,5 +34,6 @@ create table llx_mailing_cibles
|
||||
source_id integer,
|
||||
source_type varchar(16),
|
||||
date_envoi datetime,
|
||||
tms timestamp,
|
||||
error_text varchar(255) -- text with error if statut is -1
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -20,6 +20,7 @@ CREATE TABLE llx_oauth_token (
|
||||
service varchar(36),
|
||||
token text, -- token in serialize() format, of an object StdOAuth2Token of library phpoauth2
|
||||
tokenstring text, -- token in json format '{"access_token": "sk_test_cccc", "refresh_token": "rt_aaa", "token_type": "bearer", ..., "scope": "read_write"}
|
||||
fk_soc integer,
|
||||
fk_user integer,
|
||||
fk_adherent integer,
|
||||
entity integer DEFAULT 1
|
||||
|
||||
@@ -28,7 +28,7 @@ create table llx_paiement
|
||||
datep datetime, -- payment date
|
||||
amount double(24,8) DEFAULT 0, -- amount paid in Dolibarr currency
|
||||
multicurrency_amount double(24,8) DEFAULT 0, -- amount paid in invoice currency
|
||||
fk_paiement integer NOT NULL,
|
||||
fk_paiement integer NOT NULL, -- type of payment in llx_c_paiement
|
||||
num_paiement varchar(50),
|
||||
note text,
|
||||
ext_payment_id varchar(128), -- external id of payment (for example Stripe charge id)
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_payment_salary_extrafields ADD INDEX idx_payment_salary_extrafields (fk_object);
|
||||
@@ -0,0 +1,25 @@
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
--
|
||||
-- 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
|
||||
-- the Free Software Foundation; either version 3 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_payment_salary_extrafields
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
tms timestamp,
|
||||
fk_object integer NOT NULL, -- salary payment id
|
||||
import_key varchar(14) -- import key
|
||||
)ENGINE=innodb;
|
||||
@@ -42,7 +42,10 @@ create table llx_projet
|
||||
--budget_days real, -- budget in days is sum of field planned_workload of tasks
|
||||
opp_amount double(24,8),
|
||||
budget_amount double(24,8),
|
||||
bill_time integer DEFAULT 0, -- Set to 1 if time spent must be converted into invoices
|
||||
usage_opportunity integer DEFAULT 0, -- Set to 1 if project is used to follow an opportunity
|
||||
usage_task integer DEFAULT 1, -- Set to 1 if project is used to manage tasks and/or record timesheet
|
||||
usage_bill_time integer DEFAULT 0, -- Set to 1 if time spent must be converted into invoices
|
||||
usage_organize_event integer DEFAULT 0, -- Set to 1 if you want to use project to organize an event, receive attendees subscription
|
||||
model_pdf varchar(255),
|
||||
import_key varchar(14) -- Import key
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -65,34 +65,34 @@ create table llx_societe
|
||||
fk_typent integer DEFAULT 0, --
|
||||
fk_forme_juridique integer DEFAULT 0, -- juridical status
|
||||
fk_currency varchar(3), -- default currency
|
||||
siren varchar(128), -- IDProf1: siren or RCS for france, ...
|
||||
siret varchar(128), -- IDProf2: siret for france, ...
|
||||
ape varchar(128), -- IDProf3: code ape for france, ...
|
||||
idprof4 varchar(128), -- IDProf4: nu for france
|
||||
idprof5 varchar(128), -- IDProf5: nu for france
|
||||
idprof6 varchar(128), -- IDProf6: nu for france
|
||||
tva_intra varchar(20), -- tva
|
||||
capital double(24,8) DEFAULT NULL, -- capital de la societe
|
||||
fk_stcomm integer DEFAULT 0 NOT NULL, -- commercial statut
|
||||
siren varchar(128), -- IDProf1: depends on country (example: siren or RCS for france, ...)
|
||||
siret varchar(128), -- IDProf2: depends on country (example: siret for france, ...)
|
||||
ape varchar(128), -- IDProf3: depends on country (example: code ape for france, ...)
|
||||
idprof4 varchar(128), -- IDProf4: depends on country (example: nu for france, ...)
|
||||
idprof5 varchar(128), -- IDProf5: depends on country (example: nu for france, ...)
|
||||
idprof6 varchar(128), -- IDProf6: depends on country (example: nu for france, ...
|
||||
tva_intra varchar(20), -- vat numero
|
||||
capital double(24,8) DEFAULT NULL, -- capital of company
|
||||
fk_stcomm integer DEFAULT 0 NOT NULL, -- commercial status
|
||||
note_private text, --
|
||||
note_public text, --
|
||||
model_pdf varchar(255),
|
||||
prefix_comm varchar(5), -- prefix commercial
|
||||
prefix_comm varchar(5), -- prefix commercial (deprecated)
|
||||
client tinyint DEFAULT 0, -- client 0/1/2
|
||||
fournisseur tinyint DEFAULT 0, -- fournisseur 0/1
|
||||
supplier_account varchar(32), -- compte client chez un fournisseur
|
||||
supplier_account varchar(32), -- Id of our customer account known by the supplier
|
||||
fk_prospectlevel varchar(12), -- prospect level (in llx_c_prospectlevel)
|
||||
fk_incoterms integer, -- for incoterms
|
||||
location_incoterms varchar(255), -- for incoterms
|
||||
customer_bad tinyint DEFAULT 0, -- mauvais payeur 0/1
|
||||
customer_rate real DEFAULT 0, -- taux fiabilite client (0 a 1)
|
||||
supplier_rate real DEFAULT 0, -- taux fiabilite fournisseur (0 a 1)
|
||||
remise_client real DEFAULT 0, -- remise systematique pour le client
|
||||
remise_supplier real DEFAULT 0, -- remise systematique auprès du fournisseur
|
||||
mode_reglement tinyint, -- mode de reglement
|
||||
cond_reglement tinyint, -- condition de reglement
|
||||
mode_reglement_supplier tinyint, -- mode de reglement fournisseur
|
||||
cond_reglement_supplier tinyint, -- condition de reglement fournisseur
|
||||
remise_client real DEFAULT 0, -- discount by default granted to this customer
|
||||
remise_supplier real DEFAULT 0, -- discount by default granted by this supplier
|
||||
mode_reglement tinyint, -- payment mode customer
|
||||
cond_reglement tinyint, -- payment term customer
|
||||
mode_reglement_supplier tinyint, -- payment mode supplier
|
||||
cond_reglement_supplier tinyint, -- payment term supplier
|
||||
fk_shipping_method integer, -- preferred shipping method id
|
||||
tva_assuj tinyint DEFAULT 1, -- assujeti ou non a la TVA
|
||||
localtax1_assuj tinyint DEFAULT 0, -- assujeti ou non a local tax 1
|
||||
|
||||
@@ -36,5 +36,6 @@ create table llx_stock_mouvement
|
||||
fk_project integer,
|
||||
fk_origin integer,
|
||||
origintype varchar(32),
|
||||
model_pdf varchar(255)
|
||||
model_pdf varchar(255),
|
||||
fk_projet integer NOT NULL DEFAULT 0
|
||||
)ENGINE=innodb;
|
||||
|
||||
@@ -40,6 +40,8 @@ CREATE TABLE llx_supplier_proposaldet (
|
||||
total_localtax2 double(24,8) DEFAULT 0,
|
||||
total_ttc double(24,8) DEFAULT 0,
|
||||
product_type integer DEFAULT 0,
|
||||
date_start datetime DEFAULT NULL, -- date debut si service
|
||||
date_end datetime DEFAULT NULL, -- date fin si service
|
||||
info_bits integer DEFAULT 0,
|
||||
buy_price_ht double(24,8) DEFAULT 0,
|
||||
fk_product_fournisseur_price integer DEFAULT NULL,
|
||||
|
||||
@@ -36,7 +36,7 @@ create table llx_user
|
||||
pass_encoding varchar(24),
|
||||
pass varchar(128),
|
||||
pass_crypted varchar(128),
|
||||
pass_temp varchar(128), -- temporary password when asked for forget password or 'hashtoallowreset:YYYMMDDHHMMSS' (where date is max date of validaity)
|
||||
pass_temp varchar(128), -- temporary password when asked for forget password or 'hashtoallowreset:YYYMMDDHHMMSS' (where date is max date of validity)
|
||||
api_key varchar(128), -- key to use REST API by this user
|
||||
gender varchar(10),
|
||||
civility varchar(6),
|
||||
@@ -82,6 +82,8 @@ create table llx_user
|
||||
model_pdf varchar(255) DEFAULT NULL,
|
||||
datelastlogin datetime,
|
||||
datepreviouslogin datetime,
|
||||
iplastlogin varchar(250),
|
||||
ippreviouslogin varchar(250),
|
||||
egroupware_id integer,
|
||||
ldap_sid varchar(255) DEFAULT NULL,
|
||||
openid varchar(255),
|
||||
|
||||
Reference in New Issue
Block a user