ad602bba0c43604be385c16362545734db2f34bf
add mail_tz to calendar_attendee model in order to make it easier to change the timezone displayed in the mail template so that we can use it to make the appointment time shown on the email reminder sent to the attendees consistent with the time shown on the website page. Change the invitation mail template and use the mail_tz field to display time field instead of using the partner's timezone in order to make the time shown in the invitation consistent with the time shown on the website page. Remove the get_interval method in the calendar_event model and use standard formatting tools instead, as this is more conveniant than having a custom method for formatting dates, For this reason the format_time function located in tools/misc.py has been modified to be capable of handling timezones in order to be able to display time in the correct timezone, furthermore, this function has been added to the rendering context provided in the mail_render_mixin file to be used in email templates. see: https://github.com/odoo/enterprise/pull/16204 Task-2451154 closes odoo/odoo#65729 Related: odoo/enterprise#16204 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%