Mayurrajsinh Rathod 99d19caec1 [FIX] website_slides: correct auto_delete on mail
Steps to reproduce
==================
1. Open course with enroll policy onInvitation or
   Click on three dot of any course in kanban view
2. Click on Invite > add a recipient
3. Go to mail template internal link 
4. Go to setting tab
5. Disable the 'Auto delete' > save & close it 
6. Click on Send
7. Go the Technical/Emails (in debug mode)
8. Send the mail by clicking 'Send now'
Issue - Even if we unchecked auto delete still the mail is deleted automatically

Technical
=========
In the '_prepare_mail_values' method of the 'slide.channel.invite' model, the
mail values for 'mail.mail' are prepared and the auto delete is set to True.

After this commit
=================
You can view the sent mails since the auto_delete is configured based on
the template value for invitation.

Task-3546212

closes odoo/odoo#141141

X-original-commit: 3d9640d5c24f345d67e4e74e62584e60cc27815b
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2023-11-06 12:32:05 +00:00
2023-10-27 08:36:16 +00:00
2023-11-02 21:02:44 +00:00
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%