Skip to Content
Menu
This question has been flagged
1 Reply
2078 Views

Hi everyone!

First of all I would like to thank anyone who takes time to help me :)

Problem description: 

Version 14.0

Odoo > CRM in the "My activities" section when I try to send an email through the icon between "Snooze 7d" and "SMS", I can't.

It returns the following error message:
Missing record.
The record does not exist or has been deleted.
(Registration: mail.template (10,), User: 6)

Screenshot: https://drive.google.com/file/d/1MzQ7Ndj94xomu6_SntHgnMxRzCXgKxwx/view?usp=sharing

Any type of suggestion?
Thank you!!


*** UPDATE 

28/05/21 ***

The fact is that from another type of button, I can send emails perfectly (even group messages), so I deduce that there must be "something else" that the possible cause that @Ermin Trevisan raises.

Screenshot: https://drive.google.com/file/d/1N9i8_9Gp2NnR3X4w9zOe9bmlI5YXk5-n/view?usp=sharing


Avatar
Discard

Did you delete any email template?

Author

Good Morning @Josep Anton Belchi Riera!

Some time ago I duplicated and deleted the email template "Lead / Opportunity: Mass Mail" but I recreated it exactly as it was.

Including the option to "Activate email action".

I have created and used other custom templates with no problem.

The error appears when I click on that particular icon.

I created another Odoo online (it is in its original state) to check the possible changes and I can't find anything.

Thank you very much, sincerely!

Author

@Ermin Trevisan Thank you very much, really.

This seems to be a good clue!

Would you know or could you tell me how this function can be assigned to the "Send mail" button again?

I'm not a developer, so I can't help you with that. Next time just be aware of the consequences before you delete anything you have not entered yourself-. Do archive/deactivate before, use a test database or make a backup before.

Best Answer

If you duplicate an object, it get's a new ID and if you delete the original object, all relations to the original ID will fail.

*** Update

For different purposes different email templates are used, you seem only to have deleted the template with ID 10. You can check the IDs of the templates in the database.

You should adapt the code of your icon in order to link to the new template.


Avatar
Discard
Related Posts Replies Views Activity
2
Nov 23
981
4
May 24
349
0
Oct 24
126
0
May 24
292
0
Mar 15
4219