Monday, July 11, 2022
1 change · master
Code cleanup and technical improvements
Email scheduling now stores scheduled send times using a proper date and time format in mail records and preview screens. This improves consistency and future maintainability while keeping templates flexible where dynamic expressions are still needed.
Original PR description
- Change schedule_date data type from char to Datetime. - The field should accept DateTime format in both models mail_mail and mail_template_preview - The reason for this change is to have more code consistency since storing date in a char format is deprecated. - The model mail_template was excluded and it will be kept as Char for the reason that it needs to support dynamic expressions. - Task id: #2826699 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr