Skip to content

ATM-Consulting/dolibarr_module_contactdefault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/* 
 * Copyright (C) 2015 ATM Consulting <support@atm-consulting.fr>
 *
 * This program and files/directory inner it is free software: you can 
 * redistribute it and/or modify it under the terms of the 
 * GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


This module functionality has been integrated in Dolibarr 11.0
To switch from this module to the standard integrated, you must execute the following SQL statement :

INSERT INTO llx_societe_contacts(entity, date_creation, fk_soc, fk_c_type_contact, fk_socpeople, tms, import_key)
SELECT 1,NOW(),sc.element_id,sc.fk_c_type_contact,sc.fk_socpeople,NOW(),'ATM_TRANSFER' FROM llx_societe_contact sc
LEFT JOIN llx_societe_contacts scs ON (scs.fk_soc = sc.element_id AND scs.fk_c_type_contact = sc.fk_c_type_contact AND sc.fk_socpeople = scs.fk_socpeople)
WHERE sc.element_id IN (select rowid from llx_societe) AND sc.fk_socpeople IN (SELECT rowid FROM llx_socpeople) AND scs.rowid IS NULL;

Then you can deactivate the module.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages