This commit is contained in:
Laurent Destailleur 2018-03-07 15:52:58 +01:00
parent f8d8c5c658
commit b2f6105ae2
2 changed files with 3 additions and 2 deletions

View File

@ -319,7 +319,6 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
$filename = $attachedfiles['names'];
$mimetype = $attachedfiles['mimes'];
// Feature to push mail sent into Sent folder
if (! empty($conf->dolimail->enabled))
{

View File

@ -790,8 +790,10 @@ if (empty($reshook))
$result = $object->setIncoterms(GETPOST('incoterm_id', 'int'), GETPOST('location_incoterms', 'alpha'));
}
// Actions to send emails
$id=$socid;
$object->fetch($socid);
// Actions to send emails
$trigger_name='COMPANY_SENTBYMAIL';
$paramname='socid';
$mode='emailfromthirdparty';