link one duplicate ignore
This commit is contained in:
@@ -134,7 +134,7 @@ class EntityDuplicator
|
||||
{
|
||||
$type = $fieldDefs->getType();
|
||||
|
||||
if (in_array($type, [FieldType::AUTOINCREMENT, FieldType::NUMBER])) {
|
||||
if (in_array($type, [FieldType::AUTOINCREMENT, FieldType::NUMBER, FieldType::LINK_ONE])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -216,19 +216,22 @@
|
||||
"createdAccount": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"createdContact": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"view": "crm:views/lead/fields/created-contact"
|
||||
"view": "crm:views/lead/fields/created-contact",
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"createdOpportunity": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"view": "crm:views/lead/fields/created-opportunity"
|
||||
"view": "crm:views/lead/fields/created-opportunity",
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
|
||||
@@ -394,6 +394,7 @@
|
||||
"tooltipText"
|
||||
],
|
||||
"audited": true,
|
||||
"duplicateIgnore": true,
|
||||
"dynamicLogicVisibleDisabled": true
|
||||
},
|
||||
"accounts": {
|
||||
|
||||
@@ -343,6 +343,7 @@ class LinkManager
|
||||
'fields' => [
|
||||
$linkForeign => [
|
||||
FieldParam::TYPE => FieldType::LINK,
|
||||
'duplicateIgnore' => true,
|
||||
],
|
||||
],
|
||||
'links' => [
|
||||
@@ -359,6 +360,7 @@ class LinkManager
|
||||
'fields' => [
|
||||
$link => [
|
||||
FieldParam::TYPE => FieldType::LINK,
|
||||
'duplicateIgnore' => true,
|
||||
],
|
||||
],
|
||||
'links' => [
|
||||
|
||||
Reference in New Issue
Block a user