fix(lead): reload contact before updating links (#29966)
* fix(lead): reload contact before updading links Contact might have changed since it was created. * refactor: reload contact after insert
This commit is contained in:
parent
93e9fe8327
commit
6794148c04
@ -214,6 +214,7 @@ class Lead(SellingController):
|
||||
})
|
||||
|
||||
contact.insert(ignore_permissions=True)
|
||||
contact.reload() # load changes by hooks on contact
|
||||
|
||||
return contact
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user