This commit is contained in:
Laurent Destailleur 2026-03-25 23:04:27 +01:00
parent 6a3492bea4
commit b87f8389ea
2 changed files with 3 additions and 2 deletions

View file

@ -2842,7 +2842,7 @@ NoKeyWarning=No API Key generated. External tools cannot access Dolibarr.
GenerateKey=Generate New Key
AiMcpExternalAccess=External Access (AI LLM has access to your data)
ErrorMissingSocId=Missing or invalid thirdparty('socid'). A Third Party ID is mandatory.
ConnectionSuccessful=Connection Successful! Response:
ConnectionSuccessful=Connection Successful! Response:
ConnectionFailed=Connection Failed:
KeyGenerationFailed=Failed to generate secure API Key
KeyGenerationSuccessfull=New API Key Generated Successfully
@ -2853,3 +2853,4 @@ AI_API_MODEL=AI API model
AI_API_MODEL_HELP=The AI model to use
DisplayExtraOnTooltip = Display on Tooltips
DisplayExtraOnTooltipDesc = This field will be displayed on dynamically loaded tooltips.
WebHooksSupportExternalUrlOnly=Webhooks support external URL only. Set $dolibarr_allow_localurl_for_webhooks in conf.php file if you need to support URL local to the server.

View file

@ -103,7 +103,7 @@ class Target extends CommonObject
'label' => array('type' => 'varchar(255)', 'label' => 'Label', 'enabled' => 1, 'position' => 30, 'notnull' => 1, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'csslist' => 'tdoverflowmax150', 'showoncombobox' => 2, 'validate' => 1, 'autofocusoncreate' => 1),
'type' => array('type' => 'select', 'label' => 'Type', 'enabled' => 1, 'position' => 40, 'notnull' => 1, 'default' => '0', 'visible' => 1, 'index' => 1, 'arrayofkeyval' => array('0' => 'TypeSuccessRequired', '1' => 'TypeSuccessOrError'), 'css' => 'minwidth200', 'help' => 'WebhookTargetTypeHelp', 'validate' => 1),
'trigger_codes' => array('type' => 'text', 'label' => 'TriggerCodes', 'enabled' => 1, 'position' => 50, 'notnull' => 1, 'visible' => 1, 'help' => "TriggerCodeInfo", 'tdcss' => 'titlefieldmiddle', 'csslist' => 'tdoverflowmax200', 'css' => 'minwidth400', 'arrayofkeyval' => array('defined_in_constructor' => 'defined_from_c_action_trigger'), 'multiinput' => 1,),
'url' => array('type' => 'url', 'label' => 'Url', 'enabled' => 1, 'position' => 55, 'notnull' => 1, 'visible' => 1,),
'url' => array('type' => 'url', 'label' => 'Url', 'enabled' => 1, 'position' => 55, 'notnull' => 1, 'visible' => 1, 'help' => 'WebHooksSupportExternalUrlOnly'),
'description' => array('type' => 'text', 'label' => 'Description', 'enabled' => 1, 'position' => 60, 'notnull' => 0, 'visible' => 3, 'validate' => 1,),
'note_public' => array('type' => 'html', 'label' => 'NotePublic', 'enabled' => 1, 'position' => 61, 'notnull' => 0, 'visible' => 0, 'cssview' => 'wordbreak', 'validate' => 1,),
'note_private' => array('type' => 'html', 'label' => 'NotePrivate', 'enabled' => 1, 'position' => 62, 'notnull' => 0, 'visible' => 0, 'cssview' => 'wordbreak', 'validate' => 1,),