Fix because project module introduced opportunity, user may create

project (opportunity) even when thirdparty does not exists yet, so we
must provide a solution for this.
This commit is contained in:
Laurent Destailleur 2015-09-26 11:04:17 +02:00
parent f3ba115ef0
commit 5f765419ea

View File

@ -466,6 +466,7 @@ if ($action == 'create' && $user->rights->projet->creer)
print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
}
else print $text;
print ' <a href="'.DOL_URL_ROOT.'/societe/soc.php?action=create&backtopage='.urlencode($_SERVER["PHP_SELF"].'?action=create').'">'.$langs->trans("AddThirdParty").'</a>';
print '</td></tr>';
// Status