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:
parent
f3ba115ef0
commit
5f765419ea
@ -466,6 +466,7 @@ if ($action == 'create' && $user->rights->projet->creer)
|
|||||||
print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
|
print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
|
||||||
}
|
}
|
||||||
else print $text;
|
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>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Status
|
// Status
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user