forked from Wavyzz/dolibarr
Merge branch 'new_numbering_module_supplier_payment' of
https://github.com/atm-ph/dolibarr into atm-ph-new_numbering_module_supplier_payment Conflicts: htdocs/accountancy/admin/productaccount.php htdocs/install/mysql/migration/3.9.0-4.0.0.sql
This commit is contained in:
@@ -112,26 +112,28 @@ INSERT INTO llx_c_format_cards (rowid, code, name, paper_size, orientation, metr
|
||||
|
||||
ALTER TABLE llx_extrafields ADD COLUMN ishidden integer DEFAULT 0;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS llx_multicurrency
|
||||
|
||||
ALTER TABLE llx_paiementfourn ADD COLUMN ref varchar(30) AFTER rowid;
|
||||
ALTER TABLE llx_paiementfourn ADD COLUMN entity integer AFTER ref;
|
||||
|
||||
|
||||
CREATE TABLE llx_multicurrency
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
date_create datetime DEFAULT NULL,
|
||||
code varchar(255) DEFAULT NULL,
|
||||
name varchar(255) DEFAULT NULL,
|
||||
entity integer DEFAULT NULL,
|
||||
fk_user integer DEFAULT NULL,
|
||||
KEY code (code)
|
||||
entity integer DEFAULT 1,
|
||||
fk_user integer DEFAULT NULL
|
||||
) ENGINE=innodb;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS llx_multicurrency_rate
|
||||
CREATE TABLE llx_multicurrency_rate
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
date_sync datetime DEFAULT NULL,
|
||||
rate double NOT NULL DEFAULT '0',
|
||||
fk_multicurrency integer NOT NULL DEFAULT '0',
|
||||
entity integer NOT NULL DEFAULT '0',
|
||||
KEY fk_multicurrency (fk_multicurrency),
|
||||
KEY entity (entity)
|
||||
rate double NOT NULL DEFAULT 0,
|
||||
fk_multicurrency integer NOT NULL,
|
||||
entity integer NOT NULL DEFAULT 1
|
||||
) ENGINE=innodb;
|
||||
|
||||
ALTER TABLE llx_societe ADD COLUMN fk_multicurrency integer;
|
||||
@@ -210,5 +212,4 @@ ALTER TABLE llx_propaldet ADD COLUMN multicurrency_subprice double(24,8) DEFAULT
|
||||
ALTER TABLE llx_propaldet ADD COLUMN multicurrency_total_ht double(24,8) DEFAULT 0;
|
||||
ALTER TABLE llx_propaldet ADD COLUMN multicurrency_total_tva double(24,8) DEFAULT 0;
|
||||
ALTER TABLE llx_propaldet ADD COLUMN multicurrency_total_ttc double(24,8) DEFAULT 0;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2016 Pierre-Henry Favre <phf@atm-consulting.fr>
|
||||
-- Copyright (C) 2016 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
|
||||
@@ -22,7 +23,6 @@ CREATE TABLE llx_multicurrency
|
||||
date_create datetime DEFAULT NULL,
|
||||
code varchar(255) DEFAULT NULL,
|
||||
name varchar(255) DEFAULT NULL,
|
||||
entity integer DEFAULT NULL,
|
||||
fk_user integer DEFAULT NULL,
|
||||
KEY code (code)
|
||||
entity integer DEFAULT 1,
|
||||
fk_user integer DEFAULT NULL
|
||||
) ENGINE=innodb;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2016 Pierre-Henry Favre <phf@atm-consulting.fr>
|
||||
-- Copyright (C) 2016 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
|
||||
@@ -20,9 +21,7 @@ CREATE TABLE llx_multicurrency_rate
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
date_sync datetime DEFAULT NULL,
|
||||
rate double NOT NULL DEFAULT '0',
|
||||
fk_multicurrency integer NOT NULL DEFAULT '0',
|
||||
entity integer NOT NULL DEFAULT '0',
|
||||
KEY fk_multicurrency (fk_multicurrency),
|
||||
KEY entity (entity)
|
||||
rate double NOT NULL DEFAULT 0,
|
||||
fk_multicurrency integer NOT NULL,
|
||||
entity integer DEFAULT 1
|
||||
) ENGINE=innodb;
|
||||
@@ -20,6 +20,8 @@
|
||||
create table llx_paiementfourn
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
ref varchar(30),
|
||||
entity integer DEFAULT 1,
|
||||
tms timestamp,
|
||||
datec datetime, -- date de creation de l'enregistrement
|
||||
datep datetime, -- date de paiement
|
||||
|
||||
Reference in New Issue
Block a user