summaryrefslogtreecommitdiff
path: root/addons/website_slides/data/mail_data.xml
AgeCommit message (Collapse)Author
2020-08-11[REF] website_slides: improve elearning backend usability and onboardingPatrick Hoste
PURPOSE Improve elearning backend usability and onboarding SPECIFICATIONS Improve layout of email send when invite. Do like a SO, add the join button in the notification email and not in the composer itself. It required to create a new notification layout specific to that invite wizard. Improve channel form view: remove statistics as they are already displayed in various places, add a stat button for content/visits, better display of karma (split gain from karma-based access rules). Automatically publish channel's product to avoid de-synchronization of publish flags. Remove unused channel_url field on wizard. LINKS Task ID-2241513 PR #55698
2020-02-11[REF] mail, various: remove user_signature field from mail.templatemcm-odoo
RATIONALE Mail template model holds a field telling odoo mail engine to automatically add the current user's signature to the body. Its use depends on the use case * using the template in the composer on a single record: it is displayed in the rendered template in the composer, meaning people could change it. This behavior is interesting as it allows to see the email content; * using the template in the composer in mass mail mode: it is not displayed as only the raw jinja is displayed. It is therefore not obvious that it will be appended to the body of the mail. People could add it manually and have 2 signatures as a result; A mechanism automatically adding a signature to sent emails when posting a message is already implemented and is based on template existence. If a template has been used when posting, no signature is added in sent emails. Otherwise it is automatically added. This behavior should not change. Behavior will therefore be * use a template -> specify signature usage in it manually through jinja; * do not use a template -> signature added in sent emails; SPECIFICATIONS Remove user_signature. Update template body accordingly. In customer oriented templates that are using it and do not already contain it, manually add a call to user.signature within the jinja code. When set to False, just remove its declaration. Quickly clean some signature integration. LINKS Task ID 2089252 Community PR odoo/odoo#39482 Enterprise PR odoo/enterprise#6459 Upgrade PR odoo/upgrate#761 Related: odoo/enterprise#6459 Related: odoo/upgrade#761 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Michaël Mattiello <mcm@odoo.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>
2019-09-03[IMP] website_slides_{*}: improve backend UI, views and user actionsMichaël Mattiello
Purpose of this commit is to perform a back2basics on eLearning backend views. It helps users in their daily use of eLearning and improve UI. Containing * channel kanban view tweaking; * channel form view: some spacing and renaming improvements. Also set advanced field (new content email, share template) as group no one; * slide kanban view tweaking; * removed sections from kanban and list view for contents; * contents form view: various improvements, with notably * removed field website_url; * set publishded date is now readonly, tracked and in group_no_one as it is automatically set when publishing the lesson, and people should not update it manually; * removed the sum "Content" and replaced it by a stat button * reword quiz constraint error messages; * rating views improvements: * revamped the kanban view of rating that were a bit broken; * added a pivot view in Reporting/Reviews; * updated graph view in Reporting/Reviews; This commit also provides some usability fixes * prevent sending email if new content is category; * email: Prevent displaying an image if there is no image; LINKS Task 2049640 (website slides back2basics and fiximp) Task 2058595 (eLearning v13 testing)
2019-08-22[IMP] website_slides: improve and fix email templatesmcm-odoo
This commit improves the email that the members get when a new content is published on the course and prevents the template to crash on preview. task-1985511
2019-08-02[IMP] *: rename image fieldsSébastien Theys
image_original => image_1920 (now resized to 1920) image_big => image_1024 image_large => image_256 image_medium => image_128 image_small => image_64 image replaced by image_1920 (when writing) or by image_1024 (when displaying what was previously the big size) + add new intermediate format: image_512 PR: #34925
2019-07-19[IMP] website_slides: add a share button on the fullscreen viewPatrick Hoste
A share button has been added to the fullscreen view to avoid exiting the view to access the share tab on the full description of the slide. Task ID : 1984509 closes odoo/odoo#33418 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-07-15[MERGE] Forward port of saas-12.4 to master up to 1f5a4649a67908Martin Trigaux
closes odoo/odoo#34850 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-12[MERGE] Forward port of saas-12.3 to saas-12.4 up to 87fc1554d6a1823Martin Trigaux
closes odoo/odoo#34820 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-06-19[FIX] eLearning: allow portal user to share a slide by mailPatrick Hoste
Before, a portal user who tried to share a slide by mail got a Odoo Server Error. He will now be able to share it without any error. closes odoo/odoo#34320 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-06-28[REF] mail: template: move formatting to toolsThibault Delavallée
This commit moves formatting helpers method used in mail.template to tools. The goal is to reuse them anywhere in odoo, and not only in mail templates. Thoses method are used to format date, datetime, amount, ... according to user localization (currency, language, pattern, ...). This commit also improve the formatting methods of 'date' and 'datetime': we are now taking the 'lang_code' into account. Indeed, as the implementation uses `babel` lib, it is easy and usefull to add the language option, to display the given dates into a particular language. This parameter is optional to keep compatiblity with existing code. Task-2025396 Code Courtesy of @tde-banana-odoo
2019-02-11[IMP] website_slides: add invite wizard for 'invite' slide_channelAurélien Warnon
Purpose ======= Currently, the slide_channels having a visibility configured as 'invite' could only add members manually. This commit adds an 'Invite' button on top of the slide channel form that opens a wizard allowing to send emails to contacts and also make them members of the related slide channel.
2018-11-19[MOV] slides: Rename and split files according to their underlying modelsqmo-odoo
Purpose of this merge is to polish a bit this module before turning it into "courses" (see task #1902304 for more details on this) Contains * split python model into separate main files to ease models understanding; * split views into separate main files to ease views finding; * rename files according to guidelines; * merge templates in the same file to have all available at hand; * move assets in their own file in order to remove noise from templates; * Split javascript widgets into their own separate files No functional behavior change should occur with this commit. Only move has been performed. Note that we might lose part of the history as splitting files creates a new history for new files. Task: #1909281 Closes: #28679
2019-04-23[FIX][IMP] various: improve lang computation in mail templatesThibault Delavallée
Purpose: add lang definition on templates where it is missing Related to task 1972615 Linked to PR #32872
2019-04-23[FIX][IMP] various: improve recipients computation in mail templatesThibault Delavallée
Purpose: use more email_formatted when possible, clean and simplify email_from, email_to and partner_to computation. Next step is to try to extract some common patterns in tools or methods in order to simplify template creation and customization. Related to task 1972615 Linked to PR #32872