Work to add information required by internationnal businesses.

This commit is contained in:
Laurent Destailleur 2010-10-02 00:03:09 +00:00
parent 7a2d72b6fd
commit 9a252af8e0
2 changed files with 6 additions and 0 deletions

View File

@ -69,3 +69,7 @@ DELETE FROM llx_c_tva WHERE rowid = 46;
ALTER TABLE llx_adherent ADD COLUMN import_key varchar(14);
ALTER TABLE llx_categorie ADD COLUMN import_key varchar(14);
ALTER TABLE llx_product ADD COLUMN customcode varchar(32) after note;
ALTER TABLE llx_product ADD COLUMN fk_country integer after customcode;

View File

@ -33,6 +33,8 @@ create table llx_product
label varchar(255) NOT NULL,
description text,
note text,
customcode varchar(32), -- Optionnal custom code
fk_country integer, -- Optionnal id of original country
price double(24,8) DEFAULT 0,
price_ttc double(24,8) DEFAULT 0,
price_min double(24,8) DEFAULT 0,