From 694957080ebd4ef3325bd79d12633cae866fb4c9 Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Sun, 12 Dec 2021 19:12:35 +0100 Subject: [PATCH 1/2] Update changelog for modified add_object_linked --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5bab0419c54..527d6acd9e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -147,6 +147,8 @@ Following changes may create regressions for some external modules, but were nec * Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php * ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed * ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required +* CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' iso 'myobject', + you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype From cf01018a90b6dc3b37631fd174951bf4a1003246 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 16 Dec 2021 17:42:09 +0100 Subject: [PATCH 2/2] Update ChangeLog --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 527d6acd9e6..283b8fc5146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -147,7 +147,7 @@ Following changes may create regressions for some external modules, but were nec * Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php * ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed * ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required -* CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' iso 'myobject', +* CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' instead of 'myobject', you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype