After choosing fm the Actions menu the option “Create Contract” from a Quote, you get the contract ready to be saved or cancelled. The issue is that if you press the “CANCEL” button you get redirected to the list of all contracts where among the others you find the “not saved” contract as if you saved it.
Before opening the topic I looked for a post about this problem, but no issue reported. Am I the first one to face it?
I tried and it happen the same also in the demo version.
Created a product → created a quote → opened the quote → created a contract fm quote → pressed the cancel button (tried pressing both top and bottom button) => the contract is created with the quote title (no matter if you change it before pressing the cancel button).
Thanks for your suggestions. I understand you are busy, maybe some other expert may have a look at it. I would also create an issue on Github, but I do not know how to proceed with that platform.
Let me add that I tried (online demo) also the other two options (Create opportunity, Convert to Invoice) from quote and they behave exactly the same way.
I tried a workaround modifying the “createContract.php” (fm AOS_Quotes) commenting
the line “$contract->name = $quote->name;” so to avoid writing a mandatory field.
Although I get an error message if I try to “Save” without filling the contract title field,
when I click “Cancel” the contract is created without the title.
I noticed that contract/opportunity/invoice record appears on the respective records list immediately after I click the desired options.
I think it is kind of weird that this kind of problem is not taken seriously in consideration.
FYI: tried also on SuiteCRM 8 (https://suite8demo.suiteondemand.com) - same results.