There is a button "Copy" can create duplicate record against actual record.
I used functions "duplicateClicked" and "_copyNestedCollections" from <CRM_DIR>\clients\base\views\record\record.js
Now once sales stage is changing from Prospect to Qualified the view "copy" is populated with all the values from actual record and once I click on save new record also creating but below issue is occurring.
Issue: its showing below message
Reason: New record created but the actual record sales stage not updated yet. How to update actual record's sales stage to avoid this message?
Any help will be highly appreciable.