Fix: [ bug #1537 ] Difference between societe.nom and adherent.societ

This commit is contained in:
Laurent Destailleur 2014-07-26 18:20:40 +02:00
parent 78dc958685
commit 3d56c8ff6a
4 changed files with 7 additions and 2 deletions

View File

@ -43,6 +43,7 @@ For users:
- Fix: [ bug #1501 ] DEPLACEMENT_CREATE trigger do not intercept trigger action - Fix: [ bug #1501 ] DEPLACEMENT_CREATE trigger do not intercept trigger action
- Fix: [ bug #1506, #1507 ] ECM trigger error problem - Fix: [ bug #1506, #1507 ] ECM trigger error problem
- Fix: [ bug #1469 ] Triggers CONTACT_MODIFY and CONTACT_DELETE duplicates error message - Fix: [ bug #1469 ] Triggers CONTACT_MODIFY and CONTACT_DELETE duplicates error message
- Fix: [ bug #1537 ] Difference between societe.nom and adherent.societe.
- New: [ task #1204 ] add a External reference to contract - New: [ task #1204 ] add a External reference to contract
For translators: For translators:

View File

@ -122,3 +122,7 @@ create table llx_accounting_fiscalyear
)ENGINE=innodb; )ENGINE=innodb;
ALTER TABLE llx_contrat ADD COLUMN ref_ext varchar(30) after ref; ALTER TABLE llx_contrat ADD COLUMN ref_ext varchar(30) after ref;
ALTER TABLE llx_adherents MODIFY COLUMN societe VARCHAR(60);

View File

@ -37,7 +37,7 @@ create table llx_adherent
pass varchar(50), -- password pass varchar(50), -- password
fk_adherent_type integer NOT NULL, fk_adherent_type integer NOT NULL,
morphy varchar(3) NOT NULL, -- personne morale / personne physique morphy varchar(3) NOT NULL, -- personne morale / personne physique
societe varchar(50), societe varchar(60), -- company name (should be same lenght than societe.name)
fk_soc integer NULL, -- Link to third party linked to member fk_soc integer NULL, -- Link to third party linked to member
address text, address text,
zip varchar(30), zip varchar(30),

View File

@ -22,7 +22,7 @@
create table llx_societe create table llx_societe
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
nom varchar(60), -- company reference name nom varchar(60), -- company reference name (should be smae length than adherent.societe)
entity integer DEFAULT 1 NOT NULL, -- multi company id entity integer DEFAULT 1 NOT NULL, -- multi company id
ref_ext varchar(128), -- reference into an external system (not used by dolibarr) ref_ext varchar(128), -- reference into an external system (not used by dolibarr)