summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
AgeCommit message (Collapse)Author
2020-10-23[FIX] mail: Fix the issue with activity widget dropdown scrollbarbit-odoo
This commit fixes the issue with dropdown of activity in kanban. The activity dropdown was cut with document inspectorbar in document kanban view due to data-boundry window on dropdown. Note: Dropdown of list activity was cut on the list view and to fix that commit[1] was done but it has side effect on document kanban view. another fix was done in commit[2] so now commit[1] is not useful so here revert that commit. [1] - https://github.com/odoo/odoo/commit/cef57b930b27cb487973f251797c93ea3967a5b3 [2] - https://github.com/odoo/odoo/commit/a98f0621169144f53f4ebc9361f3b7c6b60556c8 closes odoo/odoo#60529 Taskid: 2336146 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-18[FIX] mail: fix activity scheduling dropdown overflowAymane (ayt)
The dropdown for scheduling the next activity was overflowing inside the container div. After this commit, the dropdown is now attached to body element. In other terms, the pop-in window to schedule an activity in the web kanban activity widget is now visible (and not displayed anymore under previous line in the widget tree view). Task ID:2301262 closes odoo/odoo#56072 X-original-commit: 5ca624605571f79d1bca27c9a40286722c2a801b Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-06-15[REF] mail, *: refactor messaging with OWLSébastien Theys
This commit is a significant rewriting of client-side discuss, chatter, chat window, and messaging menu using OWL. The behavior should be broadly the same, with some slight functional changes here and there. From a technical standpoint, the code of messaging is mainly organized in 2 main groups of modules: - models, which are logical entities that depict the client-side state of messaging as a whole. - components, which are in charge of displaying information from models. This refactoring also introduces new JS guidelines regarding folder structure (/static) and naming rules for JS modules. Community PR: https://github.com/odoo/odoo/pull/39023 Enterprise PR: https://github.com/odoo/enterprise/pull/6249 Task-1914207 This PR is a collaborative work by Alexandre, Julien, Sébastien and Xavier, with the precious help of Lucas to speed it up towards the end. closes odoo/odoo#39023 Related: odoo/enterprise#6249 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Alexandre Kühn <aku@odoo.com> Co-authored-by: Julien Giannone <jgi@odoo.com> Co-authored-by: Lucas Perais <lpe@odoo.com> Co-authored-by: Sébastien Theys <seb@odoo.com> Co-authored-by: Xavier Dubuc <xdu@odoo.com>
2020-06-12[FIX] mail: pdfjs viewer download nameJorge Pinna Puissant
Before this commit, when downloading a pdf from the pdfjs viewer, the name of the pdf was always 'document.pdf'. Now, the correct name of the pdf is used when downloading the file. opw-2269841 closes odoo/odoo#52878 X-original-commit: b9cd32a7f19b8f73385dea534ad3cc5b126bc6dd Related: odoo/enterprise#11109 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2020-06-11[IMP] crm: improve onboarding tour of module CRMPierre Collinet (pic)
Add an autocomplete for opportunity name. If no name is set when a customer is selected set the name partner_id.name's Opportunity Change help title and subtitle to be more explicit. Change title from "Create an opportunity in your pipeline" to "Create opportunities to keep an eye on all your ongoing sales talks." Concerning subtitle, if a valid and active email alias is found : Emails sent to ALIAS@address automatically create opportunities. Improve crm onboarding tour text messages and display. Change menuitem from Teams to Team Pipelines to be more explicit. Update the corresponding act_window name in the sales_team module. Make the "schedule an activity" button bigger (100% of the div) and highlight the entire Schedule button box. Update test tours accordingly. Since quick create opportunity form is updated the tests were failing. Reason is a trigger on input:first trying to detect the field "name". This is not the case after this commit's changes. Task ID 2226563 Community PR #51587
2020-06-10[IMP] mail: few improvements on activity widgetHiral Bhavsar
PURPOSE Display the activity type through the icon of the widget and change the place to display to whom the activity is assigned (if it is not assigned to the current user). SPECIFICATION Display the deadline with a prefix as responsible if the activity assigned to another user than the current one (uid). Add a new 'activity_type_icon' field to the mail mixin to get the 'icon' of the type (fa-phone, fa-users, etc...) and for the list_activity widget, display it as an icon instead of the default 'fa-clock-o' icon. LINKS PR https://github.com/odoo/odoo/pull/52252 Task-2267579 closes odoo/odoo#52252 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-05-29[FIX] mail: fix emoji menu position/overflow issues (on mobile screen) and ↵xO-Tx
emojis display (for different OSes > browsers) This commit attempts to fix the emoji widget position issue (only in enterprise versions) on mobile screen. The emoji dropdown overflow & emojis font display issues (on mobile screen) are also fixed in this commit. The following changes have been made : 1- Add css media-breakpoint to override widget position in small breakpoint and narrower. 2- Add position-relative + bottom css on widgets to avoid negative margins. 3- Set a max-width for the dropdown on mobile screen. 4- Add width/height on emoji icons to solve emojis position issue for some fonts (on different OSes > browsers). This fix was made with the 'smallest possible changes' taking in consideration effects on : - "text_emojis" widgets, since they use same class : "o_mail_emojis_dropdown". - Emoji widget position in community (This fix won't break widget position in community version). Task ID 2224393 closes odoo/odoo#52182 X-original-commit: 405e113e897b914eed41b34a66b5a7f740dcd336 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-05-20[IMP] mail: display user avatar in chat-box headerHiral Bhavsar
PURPOSE We are currently working toward turning every user avatar (i.e. the round picture of the user) in a shortcut to open the chatbox to that user. It only makes sense to also have the user avatar in the header of the chatbox (like in Facebook) SPECIFICATION Replace the current IM status colored dot of the chatbox header by the same avatar/im_status compound currently used in the chatter. LINKS Closes https://github.com/odoo/odoo/pull/51258 Task-2256061 closes odoo/odoo#51258 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-05-19[IMP] mail: display activity summary in dropdownPriyanka Kakadiya
PURPOSE Currently, the activity dropdown displays the activity types of activities. The goal is to display the activity summaries instead, and fallback on the activity type if there is no summary set. SPECIFICATION In the activity dropdown, display the activity summary instead of the activity type. Only display the activity type if there is no summary set on the activity. A long summary will be ended with a ellipsis. Here, handled a long summary for chatter, list, kanban, and activity views. LINKS Task: 2254893 PR https://github.com/odoo/odoo/pull/51438 closes odoo/odoo#51438 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-05-05[IMP] mail: add ListActivity widgetAaron Bohy
This commit adds a tweaked version of the kanban_activity widget for the list view. This widget displays the summary of the next activity (and fallbacks on the activity type if there is no summary). It can be set by defining widget='list_activity' on field activity_ids. Part of task 2195254
2020-05-05[IMP] mail: add Many2OneAvatarUser field widgetAaron Bohy
This widget is an extension of Many2OneAvatar, designed for many2one fields pointing to the 'res.users' model, or a model having itself a many2one field pointing to 'res.partner'. With this widget, when the avatar is clicked, we open a DM chat window with the corresponding partner. If the user clicked on itself, we open a blank chat window for the sake of consistency. In kanban views, this widget only displays the avatar. Part of task 2195254
2020-04-17[IMP] mail, sms, snailmail, test_mail_full: adapt mail.notificationSébastien Theys
The purpose is to have more common code for failure and notifications, with less override in `sms` and `snailmail`. task-2176017 closes odoo/odoo#44170 Related: odoo/enterprise#9140 Related: odoo/upgrade#918 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-04-17[REF] mail: removes signature from route paramsThanh Dodeur
This commit removes the unnecessary usage of `signature` instead of `unique` in the route params for `web/image`. closes odoo/odoo#48437 Related: odoo/enterprise#9501 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-03-25[FIX] web,mail: Harmful or incomplete aria-label attributesLuis González
Some elements contain superfluous `aria-label` attributes, which overrides any default useful information. For instance, some dropdown menus contain the `aria-label` "Dropdown menu" (e.g. the company switcher), which doesn't add any useful information, as dropdown menus are already labelled correctly using `aria-expanded`. This change applies on the following buttons: - Schedule an activity - View attachments - View followers - Switch company - Open user options from systray - The widget `state_selection` closes odoo/odoo#48317 X-original-commit: e3c7f66e89d7be39dfa4cc3d6b038c6f4a114aa5 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-03-05[REV] mail: Move the attachment icon on the leftPierre Paridans
This revert of commit odoo/odoo@9cd3bcd4408be76168e1ab4c08f2d8e187096d79 is due to the attachment's button needing to be kept on the right side of the chatter's topbar. Task ID: 2193950 closes odoo/odoo#46958 X-original-commit: d458aca28c25879ca9878b0628f2a6ea703504ef Related: odoo/enterprise#9027 Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
2020-02-10[IMP] mail, test_mail, hr_holidays: remove obsolete out of officeSébastien Theys
The customizable "out of office" text was removed from the editable views as part of task-2053585, but some places in the code were still using it, even though it was never set anymore. This commit removes the obsolete code. Part of task-2171864 closes odoo/odoo#44968 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-01-28[FIX] web,mail: only apply modal activity for Dialog modalsJulien Mougenot
Before this commit, the CSS rule handling the "activity" of the modals (their z-index compared to the one of their backdrop) was global and would interfere with front-end or custom modals which do not use the static Dialog methods giving them the "active" class. Now, the rule has been inverted: the z-index of a modal is only changed when it is given an "inactive" class, thus only impacting the modals instantiated via Dialog or Owl Dialog classes. closes odoo/odoo#44067 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-01-28[REF] mail: migrate activity renderer to owlmcm-odoo
In order to prepare the future, we want to convert everything in Owl. This commit converts the activity renderer. closes odoo/odoo#42278 Task: 2149408 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-01-21[IMP] (website_)mail: improve routes and management of mail followersRémy Voet (ryv)
Purpose of this commit is to improve model of followers, notably management code and its use in routes. Indeed it is quite an old model and code had to be cleaned a bit to improve code readability and maintenance. In this commit we * remove unnecessary code examples in gamification about followers: using that model as example of code for goals is probably not a good idea as it is technical; * rewrite routes called by JS are simplified to better match JS implementation; * introduce computed fields to fetch related partner or channel name, email (partner only) and active status; LINKS Task 1933771 Task 2078313 closes odoo/odoo#39808 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Remy Voet <ryv@odoo.com> Co-authored-by: jgi-odoo <jgi@odoo.com> Co-authored-by: Xavier-Do <xdo@odoo.com>
2020-01-21[IMP] Mail: Add optional activity domain for systrayTiffany Chang (tic)
Addition of this optional 'domain' value for systray activity related lines allows the restriction of which activities will be included in the view opened when the line is clicked on. One use case is when a model is split between 2 systray activity lines. In this case we most likely do not want the same activities of the model to show up when we click on either line. For example, say we have 2 modules using the same model, but the module instances of that model are distingushed by a field.Selection value. Then we would only want to show the activities related to each module when we click on their appropriate systray activity lines based on that field.Selection value. Task: 2169498
2020-01-20[FIX] mail: reintroduce `fatype` for message status "envelope"Sébastien Theys
This was incorrectly reverted during 116057b26e71db4692280463669f3e80d813ddcc closes odoo/odoo#43564 X-original-commit: 73e3afca18fae954552d8cbecb6afddf1b08539b Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-01-17[FIX] mail: restores the documentViewer modalThanh Dodeur
Revision on https://github.com/odoo/odoo/commit/34bbdd88c0bc354b76b254bb78c4eb786f3d08c0#diff-9da02f8f30ea349fbc4b9884c2b77b78 The document viewer did not work properly because, by default, dialogs are non-active, so most interactions were not possible (just pressing ESC to close the dialog worked). The correct fix consists of using OwlDialog for DocumentViewer, but that's basically close to a re-writing, so in the meantime marking it as always active is fine. closes odoo/odoo#43446 Task: 2177011 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-01-14[IMP] mail: attachment counter on chatter without message_idsIpsita Borisagar
Before this commit, chatter without messages did not display attachment counter, even though attachments could be uploaded from attachment box. This commit now displays the attachment counter in this case. Task-Id 2149348 closes odoo/odoo#42672 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-01-06[REF] web,mail: remove dead codeMathieu Duckerts-Antoine
Removal of dead code (announcement xml and scss files).
2020-01-08[FIX] mail: faster opening of messaging menuAlexandre Kühn
Before this commit, opening the messaging menu might be slow. This was caused by the parsing of bodies of messages with lots of HTML nodes. Indeed, the body of a message is linkified and inlined, and both processes were quite slow due to their implementation: each node in the HTML were recursively parsed and re-assigning `innerHTML`. As a result, each node was triggering an HTML parse, which is very slow on complex nodes. This commit fixes this performance issue by speeding up inlining and linkifying of html strings. In the case of linkify, it now triggers an HTML parse only when necessary, while inlining now relies on its textContent value. These changes should drastically improve the speed of opening and rendering messaging menu, almost ten times faster. Task-Id 2076299 closes odoo/odoo#42949 X-original-commit: 8db0afb50ce0853a6a8ab7ee11dd5ed876abab64 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-01-02[FIX] mail: reset suggested partner when record savedParth Choksi
Before this commit, when "Send message" composer was open with some suggested recipients, and then editing and saving data related to the suggested recipients, the suggested recipients were not updated on composer until some user interactions like page reload. Steps to reproduce: - Open an opportunity in CRM; - Open "Send message" composer; - Change "Email" field; - Save changes; > Suggested recipient above composer textarea is not updated with newly saved email adress. It becomes updated only after some user interactions, such as toggle "Log note" then "Send message" or with a page reload. This commit fixes the issue by updating the suggested recipients on the composer in real-time when clicking on "Save". Task-Id 2089816 closes odoo/odoo#40033 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com> Co-authored-by: Alexandre Kühn <aku@odoo.com>
2019-12-13[IMP] mail: clean the emoji widget (mixin, text_emojis, char_emojis)Debauche Stéphane
PURPOSE Allow to use the text field with integrated emojis support in other apps notably mass mailing SPECIFICATIONS In this commit we somehow clean code related to emojis widgets * simplify some code bits; * update comments; * add an option on the emojis widget to trigger ``onchange`` on a ``keydown`` event; LINKS Task #2117238 PR #40045 Enterprise PR odoo/enterprise#6630
2019-12-13[MOV] mail, social: move emojis mixin and field from social to mailDebauche Stéphane
PURPOSE Allow to use the text field with integrated emojis support in other apps notably mass mailing SPECIFICATIONS Move emojis mixin and FieldTextEmojis field definition from social to mail application. Rename emojis namespace accordingly. LINKS Task #2117238 PR #40045 Enterprise PR odoo/enterprise#6630
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-29[IMP] mail: show out of office ribbon on discussmgh-odoo
This commit adds the out-of-office ribbon at the top of the conversation in the discuss app. Task-2066672 closes odoo/odoo#39362 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-10-14[FIX] mail: messaging ready after 1st chatter renderingAlexandre Kühn
Revision on https://github.com/odoo/odoo/commit/9a66619db33fca5f0cb81d9f6bfeb0fb0290cf68 Commit above improves the web client startup by not having to wait for discuss widgets to fully load beforehand. However, it introduced an issue with chatter when the 1st rendering happens before messaging becomes ready: it displays "Creating a record..." instead of the whole history of messages. This happens because when messaging is ready, it updates data from the chatter but it does not trigger a re-render. This commit fixes the issue by triggering a re-render on messaging ready. When messaging is not ready, thread field now displays "Loading..." instead of the message "Creating a record...". Task-Id 2078193 closes odoo/odoo#38751 X-original-commit: 93bdd7c91095025f4d6e7a058e0ab1c4e1a0ad60 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-10-14[FIX] mail: deletable attachments in attachment boxAlexandre Kühn
Revision on https://github.com/odoo/odoo/commit/e7aff236b8073b952a0e554d9897a8f88d5c4c91 Commit above remove cross icon on attachments from messages that are not in the chatter, since this only makes sense in the chatter. However, it also removed by mistake the possibility to delete attachments from the attachment box in the chatter. This happens because the template of attachments uses a newly introduced contextual boolean `isDeletable`, and this is false by default due to undefined being falsy. This commit fixes the issue by explicitly enabling deletion of attachments from the attachment box. Task-Id 2081987 closes #38003 X-original-commit: 1a175686d493d9f289cf391b65a56adc80da82c2
2019-10-02[FIX] mail: fixes src for text files in the document viewerThanh Dodeur
Before this commit, the url for the src of the iFrame used to display text files in the document viewer wasn't properly set, resulting in the `model` argument to be invalid. This commit fixes this issue. Task-Id 2058588 closes odoo/odoo#36160 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-09-24[MERGE] forward port branch saas-12.4 up to 9ed4872ea03Christophe Simonis
closes odoo/odoo#37372 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-24[MERGE] forward port branch saas-12.3 up to bd3e510edbcChristophe Simonis
closes odoo/odoo#37314 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-18[FIX] mail: no wait init_messaging before loading webclientAlexandre Kühn
Before this commit, discuss widgets had to wait for the route `mail/init_messaging`. This behaviour slowed down the loading of the web client. This commit solves the issue by rendering discuss widgets even when `mail/init_messaging` hasn't been resolved. For instance, the messaging menu displays a spinner until messaging becomes ready. Task-Id 2072835 closes odoo/odoo#37031 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-09-19[IMP] *: remove image_64 and clean viewsSébastien Theys
There are too many image sizes. Since they are stored resized this takes time to generate when saving a new image, it's more rows on the attachment table, more files on the disk, ... 64px is close enough to 128px that it can be removed without a big impact on download size. It will even reduce download and number of requests when both images are displayed because now only one has to be downloaded and then benefit from cache. The difference between the two is typically around 1.5kB which is negligible these days, especially when the request overhead is around 0.5kB already, not even taking into account other factors such as latency. If a 64px image must absolutely be returned, it is still possible to pass the size parameters to the image route. But the current guideline is to handle resizing in the views when necessary. Views ===== - remove width and height attributes when existing CSS rules are overriding them (eg. `.oe_kanban_avatar` in the right context) - add CSS rules instead of width and height attributes when possible - use `object-fit: cover;` where width and height are forced to avoid distortion of non-square images - for products, use `object-fit: contain;` instead, keep ratio but without crop - add new CSS rules where the expected size was max 64px*64px before due to the image size itself - remove `img-fluid` where using size classes to avoid conflicting rules task-2060865 closes odoo/odoo#36147 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2019-09-13[IMP] mail: increase font size of exception warningJinal Patel
task-2071103 closes odoo/odoo#36814 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-09-04[IMP] mail: change in mailing failure iconShreya Modi
Currently, mailing failures are using 'fa-envelope-o' (light design) while SMS failures are using 'fa-comment' (solid icon). To align them, and make the mailing failures more visible, we change fa-envelope-o to fa-envelope. task-2063188 closes odoo/odoo#36397 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-09-04[FIX] mail: no message attachment delete in discuss and chat windowAlexandre Kühn
Delete attachment from message makes only sense from chatter. Task-Id 2058455
2019-08-23[IMP] mail: pass systray activity menu in activity preview templateParth Choksi
This commit passes systray activity menu as `self` in the qweb context of the template of activity previews. Task-Id 2034580 closes odoo/odoo#35248 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
2019-08-07[IMP] mail: better exception activity handling in kanban and treeMitali Patel
The purpose of this task is to add a visual indicator on kanban and list views when there is an exception activity on a record. To do so, two fields have been added on the activity mixin that determine if the record has an exception activity and its corresponding icon. When there's an exception activity, the next activity icon is different in the kanban and in the list view, the icon is displayed at the end of the column with no label. Prefetching all activity_type_ids in compute will allow to lessen queries (3 query for this compute) and cache may benefit to other mail.activity.mixin computed field, like activity_state in kanban view Task 1889379
2019-08-05[IMP] mail, test_mail: new 'History' mailbox in DiscussNikunj Ladava
This commit adds a new mailbox in the Discuss app called 'History'. Messages that have been marked as read are moved to 'History'. Notifications are required to link history messages to users. So notifications are now deleted after they are more tha 6 months old. This means History mailbox keeps less than 6 months old messages. Note that this feature only works when user notifications are handled in Odoo. This can be set in the user preferences, under the "Notification Management" section. Task-ID 402597
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-26[MERGE] forward port branch saas-12.3 up to 40e8b67179fChristophe Simonis
2019-07-24[MERGE] Forward port of saas-12.2 to saas-12.3 up to 860ab5a1c28baMartin Trigaux
closes odoo/odoo#35119 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-18[FIX] mail: close thread window button isn't clickable easilyRomeo Fragomeli
Before this commit, the close button on the thread window was too small to click on it. The padding of the button wasn't over the all available area. After this commit, the padding of the close button is higher and so the user can target it more easily on a small screen. We had to reduce the padding of the parent. Step to reproduce: - Open the "Discuss" app - Go to the "Channels" tab - Open a channel - Try to tap on the close button on the top left window Task ID : 2033828 closes odoo/odoo#34977 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2019-07-16[FIX] mail: auto-update out-of-office info on im_status changeAlexandre Kühn
Before this commit, chat window's out-of-office info did not change when direct partner's `im_status` is/was on 'leave'. Users had to reload page to see updated out-of-office info. Task-ID 2007663
2019-06-04[REF] mail: chatter topbar stylesPierre Paridans
The Chatter's topbar (containing the buttons like 'Send Message', 'Log Note') was difficult to deal with: specially the positioning of its content (a float into another float...). So, this commit refactors the topbar's layout using Flexbox. It allows to simplify and reduce the amount of (S)CSS needed to achieve the same visual result. In the process, the Followers (dropdown) buttons now use correctly nested .btn-group components (as described by the Bootstrap 4 documentation) and SubTypes dropdown items use semantic html element (<button>) instead of attaching behavior on icon element(<i>). Finally a few Chatter's tests requested a slight adaptation (cf. trimming element's textual content). Task ID: 1928573 closes odoo/odoo#33823 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>