0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-01-11 03:48:27 +00:00

Fix - Optimistic locking module definition incorrectly set on some modules

This commit is contained in:
Matt Lorimer 2020-09-22 16:03:51 +01:00
parent 9d7274fb3f
commit d0685bbd84
8 changed files with 8 additions and 8 deletions
modules
AOS_Invoices
AOS_Line_Item_Groups
AOS_PDF_Templates
AOS_Products
AOS_Products_Quotes
AOS_Quotes
SecurityGroups
SugarFeed

View file

@ -754,7 +754,7 @@ $dictionary['AOS_Invoices'] = array(
'relationship_type' => 'one-to-many',
),
),
'optimistic_lock' => true,
'optimistic_locking' => true,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_Invoices', 'AOS_Invoices', array('basic', 'assignable', 'security_groups'));

View file

@ -360,7 +360,7 @@ $dictionary['AOS_Line_Item_Groups'] = array(
'relationship_type'=>'one-to-many',
),
),
'optimistic_lock'=>true,
'optimistic_locking'=>false,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_Line_Item_Groups', 'AOS_Line_Item_Groups', array('basic','assignable'));

View file

@ -337,7 +337,7 @@ $dictionary['AOS_PDF_Templates'] = array(
),
'relationships'=>array(
),
'optimistic_lock'=>true,
'optimistic_locking'=>true,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_PDF_Templates', 'AOS_PDF_Templates', array('basic','assignable','security_groups'));

View file

@ -345,7 +345,7 @@ $dictionary['AOS_Products'] = array(
'relationship_type' => 'one-to-many',
),
),
'optimistic_lock' => true,
'optimistic_locking' => true,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_Products', 'AOS_Products', array('basic', 'assignable', 'security_groups'));

View file

@ -530,7 +530,7 @@ $dictionary['AOS_Products_Quotes'] = array(
'relationship_type' => 'one-to-many',
),
),
'optimistic_lock' => true,
'optimistic_locking' => false,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_Products_Quotes', 'AOS_Products_Quotes', array('basic', 'assignable'));

View file

@ -860,7 +860,7 @@ $dictionary['AOS_Quotes'] = array(
),
),
'optimistic_lock' => true,
'optimistic_locking' => true,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('AOS_Quotes', 'AOS_Quotes', array('basic', 'assignable', 'security_groups'));

View file

@ -63,7 +63,7 @@ $dictionary['SecurityGroup'] = array(
),
'relationships'=>array(
),
'optimistic_lock'=>true,
'optimistic_locking'=>false,
);
require_once('include/SugarObjects/VardefManager.php');
VardefManager::createVardef('SecurityGroups', 'SecurityGroup', array('basic','assignable'));

View file

@ -135,7 +135,7 @@ $dictionary['SugarFeed'] = array(
)),
),
'optimistic_lock'=>true,
'optimistic_locking'=>false,
);
VardefManager::createVardef('SugarFeed', 'SugarFeed', array('basic',