Rename prospect level unknown because unknown is already level when field is null

This commit is contained in:
Laurent Destailleur 2008-10-28 00:21:30 +00:00
parent 2e9369a27b
commit 5705ec4e18
2 changed files with 5 additions and 1 deletions

View File

@ -1366,7 +1366,7 @@ INSERT INTO llx_c_paper_format (rowid, code, label, width, height, unit, active)
--
delete from llx_c_prospectlevel;
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_UNKOWN', 'Unknown', 1);
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_NONE', 'None', 1);
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_LOW', 'Low', 2);
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_MEDIUM', 'Medium', 3);
insert into llx_c_prospectlevel (code,label,sortorder) values ('PL_HIGH', 'High', 4);

View File

@ -49,3 +49,7 @@ alter table llx_facture_fourn_det add column import_key varchar(14);
alter table llx_commande modify column source smallint NULL;
update llx_c_prospectlevel set code='PL_NONE', label='None' where code='PL_UNKOWN' or code='PL_NONE';
update llx_societe set fk_prospectlevel=null where fk_prospectlevel='PL_UNKOWN';