Fix: missing field
This commit is contained in:
parent
2538a9e20e
commit
b6bcffa4d9
@ -180,6 +180,7 @@ UPDATE llx_c_tva set localtax1=0, localtax1_type='0' where localtax1_type = '7';
|
|||||||
UPDATE llx_c_tva set localtax2=0, localtax2_type='0' where localtax2_type = '7';
|
UPDATE llx_c_tva set localtax2=0, localtax2_type='0' where localtax2_type = '7';
|
||||||
|
|
||||||
ALTER TABLE llx_facture_fourn_det ADD COLUMN info_bits integer NOT NULL DEFAULT 0 after date_end;
|
ALTER TABLE llx_facture_fourn_det ADD COLUMN info_bits integer NOT NULL DEFAULT 0 after date_end;
|
||||||
|
ALTER TABLE llx_product_fournisseur_price ADD COLUMN info_bits integer NOT NULL DEFAULT 0 after tva_tx;
|
||||||
|
|
||||||
ALTER TABLE llx_actioncomm ADD COLUMN code varchar(32) NULL after fk_action;
|
ALTER TABLE llx_actioncomm ADD COLUMN code varchar(32) NULL after fk_action;
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2009-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2009-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- Copyright (C) 2009-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
-- Copyright (C) 2009-2013 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
-- Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
|
-- Copyright (C) 2012 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
|
||||||
@ -21,23 +21,23 @@
|
|||||||
|
|
||||||
create table llx_product_fournisseur_price
|
create table llx_product_fournisseur_price
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
datec datetime,
|
datec datetime,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
fk_product integer,
|
fk_product integer,
|
||||||
fk_soc integer,
|
fk_soc integer,
|
||||||
ref_fourn varchar(30),
|
ref_fourn varchar(30),
|
||||||
fk_availability integer,
|
fk_availability integer,
|
||||||
price double(24,8) DEFAULT 0,
|
price double(24,8) DEFAULT 0,
|
||||||
quantity double,
|
quantity double,
|
||||||
remise_percent double NOT NULL DEFAULT 0,
|
remise_percent double NOT NULL DEFAULT 0,
|
||||||
remise double NOT NULL DEFAULT 0,
|
remise double NOT NULL DEFAULT 0,
|
||||||
unitprice double(24,8) DEFAULT 0,
|
unitprice double(24,8) DEFAULT 0,
|
||||||
charges double(24,8) DEFAULT 0,
|
charges double(24,8) DEFAULT 0,
|
||||||
unitcharges double(24,8) DEFAULT 0,
|
unitcharges double(24,8) DEFAULT 0,
|
||||||
tva_tx double(6,3) NOT NULL,
|
tva_tx double(6,3) NOT NULL,
|
||||||
info_bits integer NOT NULL DEFAULT 0,
|
info_bits integer NOT NULL DEFAULT 0,
|
||||||
fk_user integer,
|
fk_user integer,
|
||||||
import_key varchar(14) -- Import key
|
import_key varchar(14) -- Import key
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user