Commit Graph
4467 Commits
Author SHA1 Message Date
Alexandre Kühn b3de4ee4bd [FIX] mail: no traceback when deleting a message
Before this commit, when deleting a message, there was a traceback.
This was caused by `MessageView/onComponentUpdate` wrongly assuming
`MessageView` from a single branching of identifying owner
(`messageListViewItemOwner`), when there is another one
(`deleteMessageConfirmViewOwner`), specific to when a message is
being deleted.

As a result, crash came from programming error of accessor on
undefined relational field.

Task-3055205

closes odoo/odoo#104995

X-original-commit: 1fbc125451c62b444ce49fa11c8216e52e299b64
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-11-04 14:00:42 +01:00
Sébastien Theys 2994a3da0d [IMP] mail: give space to field list rather than their details
This allows to more easily browse and see all existing fields rather than
seeing a lot of details.

closes odoo/odoo#104839

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-11-03 18:12:16 +01:00
Alexandre Kühn 410ab5ae96 [IMP] mail, *: define template in models
*: snailmail, website_livechat

This commit adds definition of component template
in the models. This allows not defining JS of component
for most view models.

Task-3053061

closes odoo/odoo#104641

Related: odoo/enterprise#33491
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-11-02 21:16:56 +01:00
Alexandre Kühn 701351ca94 [FIX] mail: missing separator at end of emoji category bar
Before this commit, there was not visual separator between
end of emoji category bar and the rest of emoji picker header.

Task-3045141

closes odoo/odoo#104767

X-original-commit: d4b654c9322fd7c9f5a3bb94fa41d20fc5d8c998
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-11-02 20:12:52 +01:00
Alexandre Kühn db34bbacda [REV] mail: revert "[FIX] mail: remove suggested recipient"
Revert this fix, as it was not working as expected, and even prevent to create a partner.

Revert of following PR: #103596

closes odoo/odoo#104695

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-11-02 12:37:10 +01:00
Pierre-Yves Dufays 7c6a24d84f [FIX] mail: update message count when messages are deleted
When a record was deleted, the related messages were removed in discuss
front-end but the message counter was not updated. This solves this issue.

Task-2960281

closes odoo/odoo#99371

Related: odoo/upgrade#3841
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2022-11-02 10:40:05 +01:00
Sébastien Theys 391d5d9420 [IMP] mail: move extra attachments to account module
task-2925723

closes odoo/odoo#104478

Related: odoo/enterprise#33393
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-31 12:42:18 +01:00
Sébastien Theys daa7cfaf4d [IMP] mail: simplify compute of allAttachments with sort
Part of task-2925723

Part-of: odoo/odoo#104478
2022-10-31 12:42:18 +01:00
Sébastien Theys 389d040faa [IMP] mail: remove obsolete convertData and field from attachment
These are no longer used.

Part-of: odoo/odoo#104478
2022-10-31 12:42:17 +01:00
tsm-odoo 3a05266350 [FIX] mail: make messaging rpc handle args/kwargs correctly
Before this commit, the messaging rpc method ignored some parameters
when passed as `kwargs`.

This PR allow the following arguments to be passed either in `args` or
`kwargs`:
- `create`: `vals_list`.
- `write`: `vals`.
- `read`: `fields`.
- `readGroup`: `fields/groupBy/domain`.
- `search`: `domain`.
- `search_read`: `domain/fields`

closes odoo/odoo#104562

X-original-commit: 7cde0af7e370c830f9b18132139b4339d966cee6
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Stockbauer Matthieu (tsm) <tsm@odoo.com>
2022-10-31 10:41:47 +01:00
Malay Khamar b9411a0374 [FIX] mail: fix the user image issue in detail activity view by removing padding
closes odoo/odoo#104578

X-original-commit: 0d841f96f3eb976c692dee0d521943f6ee386547
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-30 02:49:19 +02:00
Alexandre Kühn cc6546677d [IMP] mail, *: Rename component to match model (step 2)
[IMP] mail: rename ActivityBox to ActivityBoxView (component)
Task-3046113

[IMP] mail: rename ActivityMarkDonePopoverContent (component)
Task-3046122

[IMP] mail: rename AttachmentBox to AttachmentBoxView (component)
Task-3046129

[IMP] mail: rename AttachmentDeleteConfirm (component)
Task-3046160

[IMP] mail: rename CallActionList (component)
Task-3046187

[IMP] mail: rename CallParticipantVideo to CallParticipantVideoView (component)
Task-3046193

[IMP] mail: rename ChannelInvitationFormSelectablePartner (component)
Task-3046287

[IMP] mail: rename ChannelInvitationFormSelectedPartner (component)
Task-3046288

[IMP] mail: rename ChannelMember (component)
Task-3046298

[IMP] mail: rename ChannelMemberList (component)
Task-3046306

[IMP] mail: rename ChannelMemberListCategory (component)
Task-3046307

[IMP] mail: *: rename ChatWindowHeader (component)
*: hr, im_livechat, website_livechat
Task-3046330

[IMP] mail: rename ChatWindowHiddenMenu (component)
Task-3046358

[IMP] mail: rename ChatWindowHiddenMenuItem (component)
Task-3046515

[IMP] mail, *: rename Composer (component)
*: hr_recruitment, im_livechat
Task-3046555

[IMP] mail: rename ComposerSuggestedRecipient (component)
Task-3046598

[IMP] mail: rename ComposerSuggestedRecipientList (component)
Task-3046624

[IMP] mail, *: rename ComposerTextInput (component)
*: im_livechat
Task-3046648

[IMP] mail: rename DeleteMessageConfirm (component)
Task-3046661

[IMP] mail, *: rename Discuss (component)
*: im_livechat
Task-3046685

[IMP] mail: rename DiscussMobileMailboxSelection (component)
Task-3046703

[IMP] mail: rename DiscussMobileMailboxSelectionItem (component)
Task-3046709

[IMP] mail, *: rename DiscussSidebar (component)
Task-3046719

[IMP] mail: rename DiscussSidebarMailbox (component)
Task-3046732

[IMP] mail: rename DropZone (component)
Task-3046739

[IMP] mail: rename FollowButton (component)
Task-3047154

[IMP] mail: rename Follower (component)
Task-3047203

[IMP] mail: rename FollowerListMenu (component)
Task-3047236

[IMP] mail: rename FollowerSubtype (component)
Task-3047272

[IMP] mail: rename MailTemplate (component)
Task-3047314

[IMP] mail, *: rename Message (component)
*: im_livechat, sms, snailmail, website_sale
Task-3047352

[IMP] mail: rename MessageAuthorPrefix (component)
Task-3047683

[IMP] mail, *: rename MessageList (component)
*: hr_recruitment, website_livechat
Task-3047718

[IMP] mail, *: rename MessageNotificationPopoverContent (component)
*: sms
Task-3047742

[IMP] mail: rename MessageSeenIndicator (component)
Task-3047765

[IMP] mail, *: rename MessagingMenuTab (component)
*: im_livechat
Task-3047802

[IMP] mail: rename MobileMessagingNavbar (component)
Task-3047806

[IMP] mail, *: rename NotificationGroup (component)
*: sms, snailmail
Task-3047829

[IMP] mail, *: rename NotificationList (component)
*: im_livechat
Task-3047871

[IMP] mail: rename NotificationRequest (component)
Task-3047883

[IMP] mail, *: rename PersonaImStatusIcon (component)
*: hr_holidays
Task-3047969

[IMP] mail, *: rename ThreadIcon (component)
*: hr_holidays, im_livechat
Task-3047980

[IMP] mail, *: rename ThreadNeedactionPreview (component)
*: im_livechat, rating, test_mail_full
Task-3048021

[IMP] mail, *: rename ThreadTextualTypingStatus (component)
*: im_livechat
Task-3048042

[IMP] mail, *: rename ThreadTypingIcon (component)
*: im_livechat
Task-3048043

[IMP] snailmail: rename SnailmailError (component)
Task-3048051

[IMP] website_livechat: rename VisitorBanner (component)
Task-3048069

Task-3047725

closes odoo/odoo#104548

Related: odoo/enterprise#33411
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-28 20:39:58 +02:00
Zelong Lin a02ad8ce83 [IMP] mail: introduce @odoo/owl import syntax
Use the standard import syntax for '@odoo/owl'

task-3046123

closes odoo/odoo#104431

Related: odoo/enterprise#33371
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-28 13:22:53 +02:00
Zelong Lin 0f67c6a886 [FIX] mail: notification display bug
task-2990307

closes odoo/odoo#104390

X-original-commit: a500ce3785dd2facfe934b022ebe5d21239f3e4f
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-28 00:50:49 +02:00
Sébastien Theys 63e0ef8d01 [FIX] mail: fix race condition in mail tour
If the check for messaging happens after switching from channel to starred
(where there is no composer) it would crash when using `this`.

closes odoo/odoo#104392

X-original-commit: d3091762cc5769ed13b5a828769bcd03f440a8f8
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-27 20:53:44 +02:00
Alexandre Kühn aea67604b4 [FIX] mail: do not crash when scrolling on message list
closes odoo/odoo#104351

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-27 18:43:23 +02:00
Alexandre Kühn a820570abc [IMP] mail, *: Rename component to match model (step 1)
*: calendar, website_slides

[IMP] mail, *: rename component Activity to ActivityView
*: calendar, website_slides
Task-3045361

Task-3046089

closes odoo/odoo#104261

Related: odoo/enterprise#33300
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-27 14:41:19 +02:00
Sébastien Theys bade59a3a7 [IMP] mail, test_mail: convert legacy code from activity view cell
task-3026018

closes odoo/odoo#103326

Related: odoo/enterprise#32853
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-27 12:40:09 +02:00
Alexandre Kühn daac0cdd51 [IMP] mail: remaining move code to models (MessageComponent)
Task-3000365

closes odoo/odoo#104004

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-26 17:07:19 +02:00
Jorge Pinna Puissant 886f3de768 [IMP] web,*: force props validation for components
*: base_automation, lunch, mail, mrp, project, web_editor, website

This commit adds a warning if the props validation is not set for a
component.

The props validation is important to tell how a component should be
used, by looking at its code, it's a good documentation of the component.
It's also critical, to test if the component is correctly used, if all
the obligatory props are passed and that there are of the correct type.

For more information, see: https://github.com/odoo/owl/blob/master/doc/reference/props.md#props-validation

closes odoo/odoo#103723

Related: odoo/enterprise#33044
Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-10-26 16:07:18 +02:00
Didier (did) 74b30cb480 [IMP] mail: remove moment from the convert data and compute it
closes odoo/odoo#103935

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-26 12:23:06 +02:00
Nemael 605d43b1b2 [FIX] mail: clean emoji_picker modeling
This commit cleans up a bit of the emoji picker modeling, and
removes a bit of dead code

Task-2985893

closes odoo/odoo#103411

Related: odoo/enterprise#33128
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-25 18:44:51 +02:00
Brieuc-brd fa2b182dc4 [FIX] mail: MessagingMenuTab, adapt for dark mode
This commit adapts the color of `MessagingMenuTab` for dark mode.

task-2710677

X-original-commit: 2b641f3140b784c2f4c03fd3a76c8fda2e0ed79e
Part-of: odoo/odoo#103162
2022-10-25 15:03:29 +02:00
Renaud Thiry 0db9c830a9 [FIX] mail: remove suggested recipient
When creating a recipient from composer_suggested_recipient the user
is free to modify the partner form however they want.

This can lead to them inputing data which will create a partner
that does not match the suggested partner data.
In that case the box acts as if the partner was not created.

This aims to remove the partner in such cases and warn the user.

task #3016112

closes odoo/odoo#104005

X-original-commit: 51dd925d3660609b03349c42377e15064461eb3e
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-25 12:05:18 +02:00
Alexandre Kühn ed6f8c2d57 [IMP] mail: move code from components to models (step 4)
This commit moves some code from components to models,
so that eventually all business code will be in the models.

[IMP] mail: Move code from components to models (DiscussMobileMailboxSelectionItem)
Task-3004221

[IMP] mail: Move code from components to models (ActivityMarkDonePopoverContent)
Task-3004282

[IMP] mail: move code to models (MessageComponent)
Task-3000365

closes odoo/odoo#104003

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-25 04:05:58 +02:00
Nemael 4ec6116fb5 [FIX] mail: show spinner while emoji picker is loading
Before this commit, when opening emoji picker for the 1st
time, content was blank for a small time.

This happens because data of emoji picker is lazy loaded
until opening of emoji picker the 1st time. The problem
is that it gives the impression that emoji picker is not
working, but it's actually loading.

This commit fixes the issue by showing a "loading..." screen
while the emoji picker is loading data.

Task-3015932

closes odoo/odoo#103957

X-original-commit: 22472cd4d2681c07371c8515bb964553b7c2b700
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-24 17:07:05 +02:00
Thanh Dodeur 3698a189c0 [FIX] mail: allows the callMainView to adapt its content on resize
Before this commit, only the window resize would trigger a rerender of
the mainCallView. This commit makes sure that any resize of the
component will trigger a recomputation of the content layout.

closes odoo/odoo#103818

X-original-commit: 0d95da350898b6555a59d379b03181f688456c9d
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-22 01:33:29 +02:00
Shawcker be7e487dfd [FIX] mail: fix tag style not applying color/box-shadow
Currently, the rounded-pill around many2many_tags_email tags is not rendered correctly: the color and the box-shadow style attributes are not applied.

This commit fixes that by adding the o_tag class to email tags, in order to apply the o_tag.o_tag_color_0 css rule.

closes odoo/odoo#103770

X-original-commit: 2a61a3c17c933c712c05a10359ee0d8bffa1dccc
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-21 16:15:00 +02:00
Didier (did) 365f5a9863 [IMP] mail: introduce notification handler mail.record/insert
Some of our current bus notification only insert data in the models system. We
can now simplify the way we handle them by using a generic `mail.record/insert`
handler.

closes odoo/odoo#102863

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-21 15:19:18 +02:00
Nemael 76d45c2d29 [FIX] mail: emoji search bar focused on mobile
The emoji search bar should not be automatically focused when using odoo
on mobile.

This commit re-introduce the auto-focus of the search bar, and also
cancel auto-focus if using odoo on mobile

Task-3015386

closes odoo/odoo#103672

X-original-commit: 282a09c5d62d32a35636c9357033b8f18631b85f
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-20 17:17:20 +02:00
Alexandre Kühn 00b4da36bb [IMP] mail: introduce Chatter/shouldReloadParentFromFileChanged
This commit introduce a field to determine condition for
reloading chatter parent view when a file has changed.

This allow patching the field so that more conditions
could trigger a view reload.

Task-2886634

closes odoo/odoo#103660

X-original-commit: 3e097db1c92a316fb7c5de0ce6124ce5ea7e07be
Related: odoo/enterprise#33005
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-20 17:17:03 +02:00
Alexandre Kühn 70723fb938 [IMP] mail: Move code from components to models (step 3)
Move code from components to models, so that eventually all the
business logic is in models.

The benefit of business code in models is to ease proper modelling
of whole state of the discuss features, which is highly desireable
for easily maitainable code or to implement sophisticated features
in a robust way.

[IMP] mail: move code to models (AttachmentViewer)
Task-2996277

[IMP] mail: Move code from components to models (DropZone)
Task-3004211

[IMP] mail: move code from components to models (ChatWindow)
Task-3004259

[IMP] mail: Move code from components to models (ChatWindowHiddenMenu)
Task-3014736

[IMP] mail: Move code from components to models (ChatWindowHiddenMenuItem)
Task-3004253

[IMP] mail: pass only record as props (ChatWindowHeader)
Task-3001202

[IMP] mail: Move code from components to models (MessageList)
Task-3004204

closes odoo/odoo#103591

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-20 07:31:44 +02:00
Alexandre Kühn 9c8a987e0f [FIX] mail: no write on read-only SuggestedRecipientInfo/isSelected
Before this commit, when a recipient is suggested in composer header
and current user click on checkbox, there was the following warning
in the console:

```
read-only SuggestedRecipientInfo/isSelected on record(SuggestedRecipientInfo_1) was updated
```

The state of a selected suggested recipient is determined by being
manually selected on UI, but also that there's a partner related
to this recipient. `isSelected` is a computed field with itself
as dependency, and it was also imperatively set. We don't want
any computed field to be set imperatively, hence the warning in
the console.

This commit fixes the issue by introducing another field that
is specific to selection on UI by current user. This field does
not depend on whether there's a partner. This field is imperatively
set, and then `isSelected` is fully declarative as a computed field
with no self dependency and no imperative update.

Task-3032869

closes odoo/odoo#103573

X-original-commit: 8e2980e1e871a8046f09d3d0affb6400ee030eeb
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-19 19:54:04 +02:00
Adam Heinz 3772a25920 [FIX] mail: Failed to load resource ting.mp3
closes odoo/odoo#103464

X-original-commit: 3d5a2b559fe6efd1d8c6e1f07c7f56502e7efc5e
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-18 20:49:23 +02:00
Stanislas Gueniffey 683f37de27 [FIX] mail: add missing component in form_renderer
WebClientViewAttachmentViewContainer was missing in the FormRenderer components
This prevented opening account.payment lines from the Batch Content tab of Batch Payments

closes odoo/odoo#103450

X-original-commit: 2d58c5bf8679cffd4d0ad33782f47962b72cc3cd
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-18 18:58:40 +02:00
Louis Wicket (wil) eb24659182 [FIX] mail: fix unstar button title
The toggle star action view currently does not take into account the
starred state of the message, returning "Mark as Todo" unconditionally
as a title for the button.

This commit adds a check for the starred state to return an appropriate
title if the message is already starred.

closes odoo/odoo#103432

X-original-commit: b77660850bb0dbf4fad2a52d931e230f4acde975
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2022-10-18 17:12:07 +02:00
tsm-odoo f9e7a34ef7 [IMP] mail: remove owl bus on/off
These are deprecated since Owl 2, and lead to memory leak in the
compatibility layer. This PR removes the last ones in the mail code.

task-2877316

closes odoo/odoo#103301

Related: odoo/enterprise#32842
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-18 13:17:11 +02:00
Louis Wicket (wil) 051495ab95 [IMP] mail: move code from components to models (DiscussMobileMailboxSelection)
- Create DiscussMobileMailboxSelectionView model
- Pass DiscussMobileMailboxSelectionView record as props

Task-3014747.

closes odoo/odoo#103317

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-17 18:11:21 +02:00
Louis Wicket (wil) 2e2700e69e [IMP] mail, *: move code from components to models (ThreadTypingIcon)
*: im_livechat

Task-3004018.

Part-of: odoo/odoo#103317
2022-10-17 18:11:20 +02:00
Louis Wicket (wil) 2ae8ad027c [IMP] mail: move code from components to models (ThreadTextualTypingStatus)
Task-3002619.

Part-of: odoo/odoo#103317
2022-10-17 18:11:20 +02:00
Louis Wicket (wil) 2a57a6765f [IMP] mail: move code from components to models (MessagingMenuTab)
Task-3004195.

Part-of: odoo/odoo#103317
2022-10-17 18:11:20 +02:00
Louis Wicket (wil) f6a3153612 [IMP] mail, *: move code from components to models (DiscussSidebar)
* = im_livechat

Create DiscussSidebarView
Replace the use of useUpdate with useUpdateToModel
Task-3004215.

Part-of: odoo/odoo#103317
2022-10-17 18:11:19 +02:00
Alexandre Kühn 9cbbf036f6 [FIX] mail: properly compute active category from scroll
Before this commit, the active category was wrongly computed,
which results is wrong display of the active category while
scrolling and while clicking on the category bar.

The bug was that computation relied on condition of 1st rendered row,
instead of 1st visible row. Rendered rows include the extra before
the 1st visible one, here 10 extra rows above.
As a result, the computation of active category acts as if the
viewport was offset by 10 rows upward.

Task-3017324

closes odoo/odoo#103124

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-13 09:19:46 +02:00
Nemael 1a28201956 [FIX] mail: emoji picker additional rendered rows not working
On the emoji picker, additional rendered rows on top and bottom
were not loaded correctly on top.

This commit fixes the top rendered rows not working properly.

Also fixes computation of some fields that should contain
integer values (index) but had float instead, which required
late rounding.

Task-3000424

X-original-commit: 24d9b970d032709b8f80cf49da057156ccd7fde5
Part-of: odoo/odoo#103124
2022-10-13 09:19:45 +02:00
stefanorigano (SRI) 29497f4119 [FIX] mail: o_ChatterTopbar, adapt layout when no activities
Prior of this commit records without activities buttons were rendered
with a double border (eg. CRM > Sales Teams > Team's formView).

This commit will adapt the layout accordingly avoiding to render a
border when it's not necessary.

closes odoo/odoo#103145

X-original-commit: 1903f7aa2553b555b58df066f584feb4caf25e71
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-12 19:52:41 +02:00
Thanh Dodeur e4938b3862 [FIX] prevents the callViewer from being too small on small screens
Before this commit, the callViewer could end up too small and only have
space for the callActionList, which was hiding call participants.

taskid-3014640

closes odoo/odoo#103144

X-original-commit: b9370f5fdf0dcbcf23280f370408eab5183433e6
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-12 19:52:39 +02:00
Thanh Dodeur 4de6e78067 [FIX] mail: prevent traceback when trying to recover a rtc connection
Before this commit, trying recover a connection that didn't exist
anymore would cause a traceback. This commit fixes this issue.

closes odoo/odoo#103088

X-original-commit: 44973577e4bfc7b36b5d3aa356519a36fb6ecc78
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-11 18:56:01 +02:00
tsm-odoo 1dea9e9900 [IMP] mail: improve kanban activity style after refactoring
This PR improves the style of the kanabn actiivty popover after the wowl
refactoring. It focuses on:
- Restoring button hover style
- Restoring scroll behavior for multiple activities
- Restoring text ellipsis on long activity summary/name
- Centering mark done buttons
task-2998139

closes odoo/odoo#102983

X-original-commit: 2cebfd9
Related: odoo/enterprise#32667
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-11 17:59:21 +02:00
Alexandre Kühn c9dbb8e36b [FIX] mail: do not refocus search bar on click category bar
Before this commit, when clicking on category in category bar,
the search bar was (re-)focused.

It was flickering, especially when device prompt a soft keyboard,
such as on mobile.

This commit fixes the issue by not (re-)focusing the search bar
when clicking on a category from the category bar.

Task-3013819

closes odoo/odoo#102987

X-original-commit: 61790c029b3b78c2a099ec72b0d688c28d803374
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-11 13:16:16 +02:00
Alexandre Kühn 6650188d2c [FIX] mail: no crash when click on failure in mobile
Before this commit, when clicking on a mail failure in
the messaging menu in mobile, it crashed.

`NotificationGroupView` is already destroyed, so it crashed
due to attempting to access a field (`messaging`)

Task-3013202

closes odoo/odoo#102986

X-original-commit: 73b94715f0d0086d361937491c27c611a03a9f67
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-11 13:16:14 +02:00