Daily updates from Odoo
Monday, May 13, 2024
2 changes · master
Enhancements to existing features
Marketing automation users can now select which outgoing mail server is used when sending mass emails from templates. This gives businesses more control over email delivery setup while keeping the option hidden for SMS templates where it does not apply.
Original PR description
Purpose: -------- Allow users to select which outgoing mail server is used when sending mass mailings from the mail templates. The `mail_server_id` has been added in a new `advanced` group in the marketing activity's mailing mailing form view. It also removed the `readonly` attribute from the field on the marketing automation's mailing mailing form view (because mailings used in marketing automation are set as `done` by default, hence this field was always readonly). This field is made invisible for sms templates. Task-3862060
Businesses can now choose which appointment details customers see on the website and in confirmation emails. This helps tailor booking pages for different use cases, such as hiding approximate durations or timezone information when they are not relevant to customers.
Original PR description
[Task 3568931](https://www.odoo.com/web#id=3568931&cids=1&menu_id=6478&action=4043&model=project.task&view_type=form) [Mock Up](https://app.excalidraw.com/l/65VNwvy7c4X/2FcgfyW3hU2) ## Purpose…
[Task 3568931](https://www.odoo.com/web#id=3568931&cids=1&menu_id=6478&action=4043&model=project.task&view_type=form) [Mock Up](https://app.excalidraw.com/l/65VNwvy7c4X/2FcgfyW3hU2) ## Purpose Depending on the business scope, company may want to display a different confirmation page to their customers. e.g. : If you are a restaurant, a duration of 3 hours is just an approximation for your own organization, customers should not read about it ## Changes ### Appointment Type: In order to customize the appointment views on the website and the mail templates, we need to add some fields to the appointment type model: - hide_duration - hide_timezone ### Appointment Templates: With the two fields created above, we add some t-if condition to show or not some informations on the templates views. ### website_appointment: Add a new snippet to customize the page related to an appointment type that contains 4 checkboxes: - Show Timezone - Show Duration - Show User/Resource Pictures - Allow Guests When triggered, these options will modify the record of the appointment type related to the view. As we want this snippet to be shown during the whole flow of the appointment registration, we created a common CSS class : o_wappointment_type_widget This class will be used to show the snippet in each view of the flow. The snippet is associated to a JS snippet that will handle the calls to the ORM in order to update the record of the appointment type.