Commit Graph
151076 Commits
Author SHA1 Message Date
Ivan Yelizariev 2f1bd13274 [FIX] project: make custom fields copiable again
Since #73341 copy_data is filtered to avoid leaking information to portal user.
Partically, it makes custom field not copiable.

Fix it by disabling the filter for internal users. This may lead to a problem
with hacky field `personal_stage_type_ids`. To avoid extra complexity in the
code, just mark it as `copy=False`. The latter change is kind of an improvement
from functional point of view, since using default personal stage seems to be a
better idea rather than copying the stage.

---

opw-2746922

closes odoo/odoo#87064

X-original-commit: 9947e82c5c25cde030aca43f7eb6fe1293300329
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2022-03-23 19:25:12 +01:00
Julien Mougenot a5cce9f592 [FIX] web: Empty cache when editing favorites
Before this commit, the view service kept the same cache information
even thought favorite filters would be created or deleted. This caused
inconsistencies when the interface tried to reload views that would
access the cache and display outdated information.

Now the related views cache keys are invalidated when favorite filters
are created or deleted.

closes odoo/odoo#76507

closes odoo/odoo#87031

X-original-commit: 84e260e4ecad5116def4d9dcdd0b35d7e87fa45d
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-03-23 19:25:05 +01:00
Jinjiu Liu 6aec353480 [FIX] purchase: removed header on subsequent pages of RFQ
Reproduction:
1. Change Document layout style to "Boxed"
2. Creating a PO with long descriptions for each product, make sure the
report is at least 2 pages
3. Send By Email (use default RFQ template)
4. In chatter, open the RFQ pdf file-> go to second page -> the
descriptions overlap the header

Reason: like a fix from previous bug in sale order report, the header is
removed in subsequent pages to avoid overlapping

Fix: set the header to row group, keep the new change in master too

opw-2779427

closes odoo/odoo#87026

X-original-commit: dece57d1c8e7d0a86c58802459434c02d53ecb58
Signed-off-by: Arnold Moyaux <arm@odoo.com>
Signed-off-by: Liu Jinjiu (jili) <jili@odoo.com>
2022-03-23 19:25:01 +01:00
Alexandre Kühn 8aa97941c6 [IMP] mail: guard RtcLayoutMenuComponent
Task-2797754

closes odoo/odoo#86940

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 18:05:21 +01:00
Alexandre Kühn 3f89170c8d [IMP] mail: guard RtcInvitationCardComponent
Task-2797754

closes odoo/odoo#86938

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 18:05:17 +01:00
Alexandre Kühn 6f69dc504f [IMP] mail: guard RtcControllerComponent
Task-2797754

closes odoo/odoo#86936

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 18:05:12 +01:00
FrancoisGe 2853e7d1cf [FIX] web: CP separate namespace and search value
The purpose of this commit is to allow the removal of the search value
without removing the namespace.

Use case before this commit:
1. I perform a search in the homeMenu;
2. The command palette opens with "/" + my search;
3. I realise that my search is wrong and I would like to delete its
contents;
4. I press control+a to select the content of my search;
5. I press the backspace key;
6. The "/" and my search is deleted;
7. I perform a new search;
8. I realize that I forgot to add "/" at the beginning.

This commit will remove the namespace from the input which will allow
the user to delete the search without adding the namespace.

If the user wants to remove the namespace, they will have to press the
backspace key with an empty input.

If the user wishes to change the namespace, they will have to start
their search with that namespace. This will be removed from the input
and replace the old namespace.

closes odoo/odoo#86926

Task-id: 2768527
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-03-23 18:05:08 +01:00
Alexandre Kühn ea0d4faa79 [IMP] mail: guard RtcCallViewerComponent
Task-2797754

closes odoo/odoo#86848

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 17:14:20 +01:00
Alexandre Kühn 403666fcc7 [IMP] mail: guard RtcCallParticipantCardComponent
Task-2797754

closes odoo/odoo#86847

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 17:14:16 +01:00
Alexandre Kühn ff47ba8dad [IMP] mail: guard PopoverViewComponent
Task-2797754

closes odoo/odoo#86845

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 17:14:11 +01:00
Alexandre Kühn beda6fc72c [IMP] mail, *: guard PartnerImStatusIconComponent
*: hr_holidays

Task-2797754

closes odoo/odoo#86844

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 17:14:07 +01:00
Alexandre Kühn f6a0636733 [IMP] mail: guard ThreadViewTopbarComponent
Task-2797754

closes odoo/odoo#86952

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:17:13 +01:00
Alexandre Kühn d099d45f25 [IMP] mail: guard ThreadViewComponent
Task-2797754

closes odoo/odoo#86951

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:17:10 +01:00
Alexandre Kühn 146e11ecc8 [IMP] mail: guard ThreadTextualTypingStatusComponent
Task-2797754

closes odoo/odoo#86950

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:17:06 +01:00
Alexandre Kühn 90b3ea7cfe [IMP] mail: guard ThreadPreviewComponent
Task-2797754

closes odoo/odoo#86949

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:17:01 +01:00
Alexandre Kühn 55286327fa [IMP] mail: guard ThreadNeedactionPreviewComponent
Task-2797754

closes odoo/odoo#86948

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:16:57 +01:00
Alexandre Kühn 694fe89cfc [IMP] mail, *: guard ThreadIconComponent
*: im_livechat

Task-2797754

closes odoo/odoo#86947

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:16:54 +01:00
Alexandre Kühn 4b5d981b47 [IMP] mail: guard RtcVideoComponent
Task-2797754

closes odoo/odoo#86946

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:16:50 +01:00
Alexandre Kühn 38b6e2ade8 [IMP] mail: guard RtcOptionListComponent
Task-2797754

closes odoo/odoo#86945

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 16:16:46 +01:00
Alexandre Kühn 89e036f0cf [IMP] mail: guard NotificationRequestComponent
Task-2797754

closes odoo/odoo#86843

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:59 +01:00
Alexandre Kühn 5f6da59b02 [IMP] mail: guard NotificationPopoverComponent
Task-2797754

closes odoo/odoo#86839

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:55 +01:00
Alexandre Kühn 583dafa240 [IMP] mail: guard NotificationListComponent
Task-2797754

closes odoo/odoo#86838

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:50 +01:00
Alexandre Kühn 13caf09833 [IMP] mail: guard NotificationGroupComponent
Task-2797754

closes odoo/odoo#86837

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:46 +01:00
Alexandre Kühn e606de75af [IMP] mail: guard MobileMessagingNavbarComponent
Task-2797754

closes odoo/odoo#86836

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:41 +01:00
Alexandre Kühn 8830389c7d [IMP] mail: guard MessagingMenuComponent
Task-2797754

closes odoo/odoo#86835

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:36 +01:00
Alexandre Kühn ccd0806881 [IMP] mail: guard MessageSeenIndicatorComponent
Task-2797754

closes odoo/odoo#86834

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:32 +01:00
Alexandre Kühn dae7be97f4 [IMP] mail: guard MessageReactionGroupComponent
Task-2797754

closes odoo/odoo#86833

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:28 +01:00
Alexandre Kühn b901d037ac [IMP] mail: guard MessageListComponent
Task-2797754

closes odoo/odoo#86832

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:24 +01:00
Alexandre Kühn 37edb5b38c [IMP] mail: guard MessageInReplyToViewComponent
Task-2797754

closes odoo/odoo#86831

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:20 +01:00
Alexandre Kühn f5107aef05 [IMP] mail: guard MessageAuthorPrefixComponent
Task-2797754

closes odoo/odoo#86830

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:15 +01:00
Alexandre Kühn ad9bc3474c [IMP] mail: guard MessageActionListComponent
Task-2797754

closes odoo/odoo#86829

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:11 +01:00
Alexandre Kühn 16577265a8 [IMP] mail: guard MediaPreviewComponent
Task-2797754

closes odoo/odoo#86827

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:07 +01:00
Alexandre Kühn 1a7840fc46 [IMP] mail: guard MailTemplateComponent
Task-2797754

closes odoo/odoo#86826

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:37:03 +01:00
Alexandre Kühn 0be13d7fe8 [IMP] mail: guard FollowerSubtypeListComponent
Task-2797754

closes odoo/odoo#86824

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:36:59 +01:00
Alexandre Kühn f89aa1e548 [IMP] mail: turn 'ComposerView/hasThreadName' into field
Task-2793280

closes odoo/odoo#86470

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 14:36:54 +01:00
Alexandre Kühn 1aa07b0f94 [IMP] mail: guard FollowerSubtypeComponent
Task-2797754

closes odoo/odoo#86823

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:46 +01:00
Alexandre Kühn b28d151b1e [IMP] mail: guard FollowerListMenuComponent
Task-2797754

closes odoo/odoo#86822

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:42 +01:00
Alexandre Kühn ca604a31b2 [IMP] mail: guard FollowerComponent
Task-2797754

closes odoo/odoo#86820

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:38 +01:00
Alexandre Kühn 08562f9e7f [IMP] mail: guard FollowButtonComponent
Task-2797754

closes odoo/odoo#86819

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:34 +01:00
Alexandre Kühn a34fa43b18 [IMP] mail: guard EmojiListComponent
Task-2797754

closes odoo/odoo#86818

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:30 +01:00
Alexandre Kühn bd9f3344ee [IMP] mail: guard DiscussSidebarCategoryItemComponent
Task-2797754

closes odoo/odoo#86814

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:27 +01:00
Alexandre Kühn 5aed3d08ca [IMP] mail: guard DiscussSidebarCategoryComponent
Task-2797754

closes odoo/odoo#86813

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:22 +01:00
Alexandre Kühn 28f4ca1418 [IMP] mail: guard DiscussSidebarComponent
Task-2797754

closes odoo/odoo#86811

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:18 +01:00
Alexandre Kühn 2616fa4e39 [IMP] mail: guard DiscussPublicViewComponent
Task-2797754

closes odoo/odoo#86810

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:15 +01:00
Alexandre Kühn 412f64f17d [IMP] mail: guard DiscussComponent
Task-2797754

closes odoo/odoo#86809

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:11 +01:00
Alexandre Kühn 08610e1d87 [IMP] mail: guard DialogComponent
Task-2797754

closes odoo/odoo#86800

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:07 +01:00
Alexandre Kühn bc9599a955 [IMP] mail: guard DeleteMessageConfirmComponent
Task-2797754

closes odoo/odoo#86799

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:40:03 +01:00
Louis Wicket (wil) ee9759a144 [MOV] mail, *: move utils files up
* = calendar, hr, hr_holidays, im_livechat, note, sms, snailmail,
test_mail, website_livechat, website_slides
Task-2759586

closes odoo/odoo#86791

Related: odoo/enterprise#25491
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-03-23 13:39:56 +01:00
Jinjiu Liu 609195b025 [FIX] website_sale: changed domain for Online Sales Analysis
Reproduction:
1. Install eCommerce, and complete a checkout using the Wire Transfer
   payment, but don’t confirm the order at the website backend
2. Go to Orders > Unpaid Orders, the new created order should be there
3. Go to Reporting > Online Sales, select the "Unpaid Orders" filter
4. No pivot table shown for the unpaid orders

Reason: the pivot table is restricted for confirmed orders only (‘sale’
or ‘done’), the unpaid orders filter in Reporting has a different domain
from Orders

Fix: Remove the domain constraint for pivot table. Set the "Confirmed
Orders" filter to default

opw-2754932

closes odoo/odoo#86933

X-original-commit: 09b91b4bdf73004b70ff65f8f88ba034978af56b
Related: odoo/enterprise#25473
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-03-23 12:10:57 +01:00
Florian Damhaut e20c70977c [FIX] website_sale: searchbar also search product code
Step to reproduce:
- Search code of product in website_sale search bar

Current Bheaviour:
- No result

Behaviour after PR:
- Search also try to match , similar behaviour to V14 and before

opw-2737648

closes odoo/odoo#86921

X-original-commit: 395643d1377750577f3588506035623f9d0489c9
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-03-23 12:10:53 +01:00