All PDF templates are the same in the editor and when using them to send emails.
When sending emails with the "Email Quotation" and the "Email Invoice" it only uses the invoice template though I am selecting quote template for quotes and invoice template for invoices.
I need to send separate documents for each item when send quotations and invoices.
All emails that I start have the same template being used even if I select a different one.
Editing a PDF Template.
Sending a quotation
Sending an invoice
This bug has made it impossible to use SuiteCRM.
Any feedback on this issue? This is a real struggle for me.
@mruch2 I'm unable to replicate this on 7.9.4. After clicking on "Email Invoice" or "Email Quotation" and selecting a template, I am correctly receiving that template in my email.
Is there any more information you can provide that may help with replication? I would also check permissions / repair + rebuild.
In order to get the email to load with the current quote I have been repairing and rebuilding after each quote so I can send the next one. What permissions should I be looking at?
Outlook For Android
I should also add that if I don't repair and rebuild each time聽 the next quote I do will load the exact quote I had previously worked on in the template and does not pull the information from the current quote I am working on.
Outlook For Android
(@mruch2 please remove the extra text from your replies, something about your email client isn't helping)
How about this version of the problem, isn't it simpler?
Create This doesn't have to be with "Load sample". If you simply add content manually, it's gone when you edit it.
This is probably a more basic problem, it simply doesn't save correctly.
Reproduced on the live demo.
This is not my issue. May be another one but I have not run into it yet.
Create a quote
Hit email quotation (I only have 1 template so it picks quote email teamplate)
Send email
Create another quote
Hit email quotation (use the same template as the first quote)
Notice the template that loaded has the previous quote info in it
Outlook For Android
@mruch2 I know your issue is generated with different steps, but can you please try my steps in your system? It would be important to know if that is working for you. The two things seem very close and are probably related. If they are not, I will be happy to open a new Issue, no problem.
(and have you tried visiting this issue in the Github website to see what your "Outlook for Android" client is doing with your answers?)
Thanks!
I have been able to reproduce this issue by following your steps. What do I do next to resolve the issue?
I did some more testing, while looking at the database, and the Template editor is not even loading the Body field correctly. So simply going into the Edit view of a template displays the bug. If there is Body content in the database, it won't show in the Edit view, the editor will be blank.
Ok so what do I need to do to fix it? Is there anything else I need to test?
@mruch2 nobody knows how to fix this yet. I've investigated a bit today, nothing conclusive, I expect some people from SalesAgility will investigate, since it got a High Priority label... but unless you are a developer (or have one in your company), all you can do now is track the evolution of this Issue and wait...
@pgorod Body being wiped out when editing a quote is fixed in this PR: #4009 which relates to all html fields in the crm.
@mruch2 can you please apply this change and confirm if it solves your original issue? Thanks!
Dillon this has resolved my issue. I approved the change on the pull request. Thanks for the help.
@mruch2 I applied the line to my code but for me the body stays blank when i reopen it. Is there any other file that needs to be changed to make it work?
@qroft Did you make sure to do a repair + rebuild after applying the change?
I just changed the line as mentioned in the above fix.
A new problem appears.
<p>Hello</p>When i press the HTML code button in the WYSIWYG editor i get this code:
<p><p>hello</p></p>
[UPDATE]
When i also press the "SAVE AND CONTINUE" button while editing the template, the body gets blank again.
Hi @qroft, I've confirmed this issue and others related to HTML fields. I've raised this as a high priority here: #4223 if you want to follow this. Thanks.
Most helpful comment
@qroft Did you make sure to do a repair + rebuild after applying the change?