Commit Graph
4441 Commits
Author SHA1 Message Date
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
Pierre Paridans dd9877e080 [REF] web,*: each module handle its own dark mode variables
Instead of having a dedicated module for all-things dark mode related,
this commit moves the (S)CSS files into their respecting modules and
uses `web` and `web_enterprise` to provide the base infrastructure for
the dark mode (cf. dedicated assets bundle).

Note:
Don't forget that you have to handle 2 cases:
1: SCSS variables must be placed BEFORE bright ones
2: CSS variables must be placed AFTER

task-2710677

Part-of: odoo/odoo#102868
2022-10-11 13:15:56 +02:00
stefanorigano (SRI) c8f6bbea46 [FIX] web, mail, lunch: remove the 'default-badge' border
Prior to this commit, the border of any badge was set to "1px
$o-brand-primary" in order to achieve the default badge design that
comes with transparent background.

Unfortunately this rule was affecting colored badges too, leaving no
choice rather then either remove the border (causing misalignment with
siblings default badges) or hide/re-color/keep the undesired decoration
, but with mixed results.

These commit will review the behavior applying an outline (that doesn't
affect badge's placement) to "default badges" only.

Commit preparatory to the introduction of dark-mode.

task-2710677

Part-of: odoo/odoo#102868
2022-10-11 13:15:55 +02:00
stefanorigano (SRI) 3fb351e4de [IMP] mail: adapt for dark-mode
This commit adapts several components in order to correctly handle
color-scheme variations.

task-2710677

Part-of: odoo/odoo#102868
2022-10-11 13:15:53 +02:00
stefanorigano (SRI) 17ec20ca75 [IMP] web, mail: introduce bg-view class
Since the view's background-color has been historically white, the
`bg-white` class has been used to make match several UI components.

Despite working for the default color-scheme, this approach leads to
inconsistencies when the default view's background-color changes, eg.
dark-mode.

This commit introduce 'bg-view' to set any element to match the view's
background-color, whatever it is.

Commit preparatory to the introduction of dark-mode.

task-2710677

Part-of: odoo/odoo#102868
2022-10-11 13:15:52 +02:00
Sébastien Theys 7dd6124807 [FIX] mail: avoid losing chatter record when changing container
Form view has multiple containers that are exclusive, before this commit
switching from one container to the other would lose all current chatter state.

closes odoo/odoo#102934

X-original-commit: a3d151d0c9c84c2dcffc28a342c40f38d0b28370
Related: odoo/enterprise#32644
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-10 18:08:55 +02:00
Alexandre Kühn 36346eb1d0 [IMP] im_livechat, *: Show Livechat Button with notification
*: mail, website_livechat

This commit adds new option in Livechat Button visibility
"Show with notifcation", which allow to see livechat button
and also display a customizable floating text next to button.

This text appears 1 second after the livechat button become visible.

Task-2937993

closes odoo/odoo#102930

X-original-commit: 785356f46b49d1b3d9b975319c87f39266694b82
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2022-10-10 18:08:48 +02:00
Louis Wicket (wil) bfc1d414db [IMP] mail: forbid default values on identifying fields
There is no strong need to have default values on identifying fields,
while allowing it adds overhead to every insert. The trade-off is not
worth it, therefore this commit removes the support for identifying field
default values and simplifies the code of findFromIdentifyingData
accordingly.

closes odoo/odoo#102912

Related: odoo/enterprise#32634
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-10 18:08:43 +02:00
Louis Wicket (wil) 3e3b43e597 [IMP] mail: merge path and filename fields of SoundEffect
Context:
We want to get rid of default values on identifying fields, and
SoundEffect/path is currently the only field to present this pattern.

Merging path and filename fields together makes the default value no
longer meaningful, as there is no full path that is shared by multiple
records and which would therefore consist of a relevant default value.

The point of removing default values from identifying fields is to
simplify the code of findFromIdentifyingData, which is called by every
single insert, so that we no longer have the overhead of looking for
default values.

This commit modifies the SoundEffect model in order to enable the
simplification (and therefore, optimization) of findFromIdentifyingData.

Part-of: odoo/odoo#102912
2022-10-10 18:08:42 +02:00
Romain Estievenart ab1254e4a1 [FIX] web: restore form and chatter width size
In 15.3, the width was applied on `o_form_sheet_bg`.
As the form view has been refactored in 16, we have to apply
it on the new parent `o_form_view_container`.

We also restore the chatter width to the same value as in 15.3:
```scss
.o_FormRenderer_chatterContainer {
    &.o-aside {
        width: $o-chatter-min-width;
    }
}
```

Steps to reproduce:
- Open Helpdesk on screen at 1534x657
- Open a vip support
- Unfold 'Done'
- Click on 'Ugly Chair', the chatter take a lot of space => bug

Steps to reproduce
- Open Sales
- Open a quotation
- Switch between Order lines, Other info, Customer Signature
  notebook tabs a flicker occurs => bug

closes odoo/odoo#102911

X-original-commit: 3e71df358caf878409947af1619378fbfeb2be4b
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-10-10 18:08:39 +02:00
tsm-odoo 7094781d3e [FIX] mail: fix chat window hidden menu dropdown
Before this PR, the chat window hidden menu dropdown would have been
opened to the bottom of the corresponding button. The issue is that,
this button is position at the really bottom of the page, causing the
dropdown to be outside of the page.

This PR fixes this issue by adding the missing `data-bs-toggle`
attribute.

task-3011161

closes odoo/odoo#102765

X-original-commit: a4b69feb13852dd13160564bce3b0ae1cb453c0b
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Stockbauer Matthieu (tsm) <tsm@odoo.com>
2022-10-10 11:56:54 +02:00
Julien Mougenot f34768a555 [FIX] web,*: Unify active actions
`activeActions` is a set of boolean values determining what actions
(i.e. 'create', 'delete', etc.) can be performed on the current view or
subview (x2many).

Before this commit, the x2many fields used a different naming convention
than the one set on the views (e.g. 'canCreate' instead of 'create').
This caused mismatches when subviews would try to rely on the parent
view `activeActions` to define their own. This also introduced a bad
design where the "type" of `activeActions` would be determined by that
same mismatch.

Another issue was that the list renderer did not always check for the
existence of activeFields in its props, despite defining them as
optional.

This commit unifies the names of the active actions accross views and
x2many fields, while adding a "type" property to it s.t. its owner
can determine what context it finds itself in.

closes odoo/odoo#102115

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2022-10-10 10:53:48 +02:00
Romain Estievenart dd4f5eb44c [FIX] mail: restores the chatter's ability to grow in FormView
The commit odoo/odoo@babf7634e0 broke a
previous fix in odoo/odoo@6228500a3f
allowing the chatter to grow beyond its original size.

This commit restores the `flex-grow: 1` on the chatter's container but
also limit its maximum width (like in saas-15.3) to avoid it becoming
unreadable.

closes odoo/odoo#102767

X-original-commit: 3db27dc6c2e22b2b86650d1828f8e52929c43df6
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
Signed-off-by: Romain Estievenart (res) <res@odoo.com>
2022-10-08 12:31:57 +02:00
Alexandre Kühn d6fe28a5fd [FIX] mail: guard mouseover handlers
Before this commit, some mouseenter and mouseleave
handlers were prone to raising a traceback due not
being properly guarded.

closes odoo/odoo#102652

X-original-commit: f0dafec5c17b0ae0c645156a253c5d93beea7372
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-07 17:48:03 +02:00
Romain Estievenart 7d50f09aea [FIX] mail: text overlap on list view
Remove no longer needed `!important` on `overflow: visible` because the
new list view doesn't have any stacking context issue. Thanks to the
`o_PopoverManager` inside the `o-main-components-container`.

Steps to reproduce:

> Open the helpdesk app
> Click on VIP Support tickets
> Go to the list view
> reduce the size of the activities column
  => it's produce text contain overlapping with the other column => bug

X-original-commit: e22abffdc230c2ae494a85fdf7fd8d6b488be3ea
Part-of: odoo/odoo#102608
2022-10-07 14:37:27 +02:00
stefanorigano (SRI) c9abf79cfe [FIX] mail: followButtonView, review design
This commit force the button's width to the longest string available,
depending by the language either "Following" or "Unfollow".

It also force "Unfollow" text-color to "warning".
Indeed, since it appears on :hover only, the text color used was
ultimately the :hover(ed) version, that's substantially darker.

task-3005130

closes odoo/odoo#102528

Related: odoo/enterprise#32453
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-07 14:37:01 +02:00
stefanorigano (SRI) df6373970c [IMP] mail: topChatter, review design
task-3005130

Part-of: odoo/odoo#102528
2022-10-07 14:37:01 +02:00
stefanorigano (SRI) 9ed4a700c1 [FIX] mail: formRenderer, chat's width should match form's sheet one
task-3005130

Part-of: odoo/odoo#102528
2022-10-07 14:37:00 +02:00
Samuel Degueldre 89013fa42a [PERF] mail, web: accelerate page loading by lazy-loading emoji data
Previously, the emoji data that is used in the emoji grid was part of
the main assets bundle. This file is almost 500kB and the data it needs
is only needed when opening the emoji grid. This commit moves this file
into its own bundle and only loads it when opening the emoji grid
instead.

This PR also batches the inserts in the emoji model, bringing the time
it takes to do those inserts from ~8000ms to ~800ms.

closes odoo/odoo#102562

X-original-commit: e272e4fc6abce3153cce3748d8a5a7df63565916
Related: odoo/enterprise#32468
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-07 13:37:11 +02:00
Mathieu Duckerts-Antoine a393892e62 [FIX] mail: activity view: progress bar counters
The commit https://github.com/odoo/odoo/commit/c877cab866f2c1968f4f9aaf8ceebc02fa014eed
has recently refactored the css of the kanban column progress bar making
the rules for o_legacy_kanban_counter be applied only in legacy kanban
views. This lead the style of the progress bars in activity view to be
broken. Here we fix that style by copying the rules we want in the
file activity_view.scss.

closes odoo/odoo#102520

X-original-commit: 84788c27a6c22a55bb0d7e375ae60b78beeea050
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
Signed-off-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2022-10-06 23:14:22 +02:00
Louis Wicket (wil) 30a9ecc14c [IMP] mail: split related paths only once
closes odoo/odoo#102501

X-original-commit: ab802a367c1e115e6f02a3657f42fae4e691ad28
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-06 23:14:13 +02:00
Thanh Dodeur 99f49ca08d [FIX] mail: prevent traceback on reconnecting to call
Before this commit, when reconnecting to a call that was still holding
a participantCard of an outdated rtcSession a crash would occur as
joining a call removes all your previous rtcSessions while generating
a new one while having a `isCausal` on their participantCards.

This commit removes this `isCausal` as the rtcSession of a
channelMember/participantCard should be able to change over time.

closes odoo/odoo#102498

X-original-commit: c903852de3e6d4b99600797c7b426e2e3dfa4bea
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-06 19:59:19 +02:00
Sébastien Theys 49020574f3 [FIX] mail, website: hide backend chat windows from website preview
Part of task-2978890

closes odoo/odoo#102473

X-original-commit: cd7b6a799d84f59ac3b64b262cd13d00965c9c71
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-06 19:58:47 +02:00
Didier (did) b95c95e6d4 [IMP] mail: convert LegacyComponent CallOptionMenu
part of task-2783065

closes odoo/odoo#102433

Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2022-10-06 19:04:09 +02:00
tsm-odoo 9e4a8dc43f [IMP] mail, *: split mock server by model/controller
*: bus, calendar, hr_holidays, im_livechat, note, rating, snailmail,
website_livechat.

The mail mock server is getting bigger and bigger. As a consequence,
navigating/keeping it up to date is quiet inconvenient.

This commit solves this issue by splitting it by model/controller.

closes odoo/odoo#98374

Related: odoo/enterprise#32314
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-06 19:03:49 +02:00
Didier (did) bc5fde3e3e [FIX] mail: introduce hasEditButton
closes odoo/odoo#102421

X-original-commit: 715902da8ae76f5f027e4209c52e69c28f4bcb71
Related: odoo/enterprise#32400
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Signed-off-by: Debondt Didier (did) <did@odoo.com>
2022-10-06 18:01:37 +02:00
Didier (did) f54c392111 [IMP] mail: convert LegacyComponent webClientViewAttachmentView
Since
https://github.com/odoo/enterprise/commit/afcdd1878a2eaf4cbca85d1169dea31a108c8c43#diff-f064a21c91b8daa5d78c44e88e2c02345ff0a7230403dd3600a65d3a6b0653d3L18
there is no listener for preview_attachment_validation.

Part of task-2783065

closes odoo/odoo#102406

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2022-10-06 18:01:29 +02:00