add old copy to manage value into triggers clone
This commit is contained in:
parent
39aebb6944
commit
c53b33c1f0
@ -2358,6 +2358,7 @@ class Contrat extends CommonObject
|
||||
if (! $notrigger && empty($error))
|
||||
{
|
||||
// Call trigger
|
||||
$clonedObj->old_copy=$this;
|
||||
$result = $clonedObj->call_trigger('CONTRACT_CLONE', $user);
|
||||
if ($result < 0) {
|
||||
$error ++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user