#3557 - Duplicating AOS_Contract removes AOS_Products_Quotes from original contract
Hi,
Recently we have detected a bug with 'Duplicate' option in AOS_Contracts module. This affects also another modules like AOS_Quotes, AOS_Invoices...
If you click on 'Duplicate' button on a Contract and save the new duplicated contract, the final result is that the AOS_Products_Quotes from the original one are moved to the duplicated one. So the original contract is left without any line.
We have done the test in a clean SuiteCRM installation and the error does not occur, but if we install the SecuritySuite plugin and perform the test again, the bug described above appears.
Tested using: - SuiteCRM Version 7.8.13 - SuiteCRM 7.8.13 SecuritySuite v3.1.5
6 years ago
Possible related issue: https://github.com/salesagility/SuiteCRM/issues/5109
6 years ago
Good find. That's exactly what I was going to point you to. Can you try that proposed fix and see if that does it for you?
6 years ago
Adapting the fix proposed by @mugge6 in https://github.com/salesagility/SuiteCRM/issues/5109 for the AOS_Contracts module, works correctly.
I think that this fix would have to be adapted at least in the following modules: AOS_Contracts, AOS_Invoices, AOS_Quotes, AOR_Reports, AOW_Workflow.
If I have time I will send a PR with this modification.
6 years ago
Thanks for confirming!