Merge pull request #14158 from OPEN-DSI/v10-fix-societe-card-change-selected-fields

FIX change selected fields on company card
This commit is contained in:
Laurent Destailleur 2020-07-03 00:30:34 +02:00 committed by GitHub
commit 9c504c1b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -846,6 +846,11 @@ if (empty($reshook))
$id=$socid;
$object->fetch($socid);
// Selection of new fields
if (!empty($conf->global->MAIN_DUPLICATE_CONTACTS_TAB_ON_MAIN_CARD) && (empty($conf->global->SOCIETE_DISABLE_CONTACTS) || !empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT))) {
include DOL_DOCUMENT_ROOT . '/core/actions_changeselectedfields.inc.php';
}
// Actions to send emails
$trigger_name='COMPANY_SENTBYMAIL';
$paramname='socid';