Commit Graph
147201 Commits
Author SHA1 Message Date
Louis Wicket (wil) 683fc344af [IMP] mail: rename composer model
Rename javascript model `mail.composer` to `Composer` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81327

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 12:06:57 +00:00
Louis Wicket (wil) f3eecdcd2f [IMP] mail: rename chatter model
Rename javascript model `mail.chatter` to `Chatter` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81325

Related: odoo/enterprise#22863
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 12:06:53 +00:00
Louis Wicket (wil) 01709c6a74 [IMP] mail: rename canned response model
Rename javascript model `mail.canned_response` to `CannedResponse` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81318

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 12:06:46 +00:00
Louis Wicket (wil) d54f224f2b [IMP] mail, snailmail: rename notification model
Rename javascript model `mail.notification` to `Notification` in order
to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81418

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:50 +00:00
Louis Wicket (wil) db0afd3760 [IMP] mail, *: rename partner model
Rename javascript model `mail.partner` to `Partner` in order to
distinguish javascript models from python models.

Part of task-2701674.
 * = hr, hr_holidays, im_livechat, website_livechat

closes odoo/odoo#81406

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:47 +00:00
Louis Wicket (wil) b024377742 [IMP] mail, sms, snailmail: rename notification group model
Rename javascript model `mail.notification_group` to `NotificationGroup`
in order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81405

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:42 +00:00
Louis Wicket (wil) 512d19896c [IMP] mail: rename message reaction group model
Rename javascript model `mail.message_reaction_group` to
`MessageReactionGroup` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81383

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:39 +00:00
Louis Wicket (wil) 561c6736f0 [IMP] mail: rename message in reply to view model
Rename javascript model `mail.message_in_reply_to_view` to
`MessageInReplyToView` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81382

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:35 +00:00
Louis Wicket (wil) 443cbc625c [IMP] mail: rename message action list model
Rename javascript model `mail.message_action_list` to `MessageActionList` inorder to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81381

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:31 +00:00
Louis Wicket (wil) 25dbc6e58b [IMP] mail: rename mail template model
Rename javascript model `mail.mail_template` to `MailTemplate` in order
to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81372

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:28 +00:00
Louis Wicket (wil) 35c932e406 [IMP] mail: rename locale model
Rename javascript model `mail.locale` to `Locale` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81371

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 11:12:24 +00:00
Louis Wicket (wil) d535acf459 [IMP] mail: rename follower subtype model
Rename javascript model `mail.follower_subtype` to `FollowerSubtype` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81370

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:20 +00:00
Louis Wicket (wil) 3ec2b9e5b5 [IMP] mail: rename follower model
Rename javascript model `mail.follower` to `Follower` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81369

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:16 +00:00
Louis Wicket (wil) 4e2ab22270 [IMP] im_livechat, mail: rename discuss sidebar category item model
Rename javascript model `mail.discuss_sidebar_category_item` to
`DiscussSidebarCategoryItem` in order to distinguish javascript models
from python models.

Part of task-2701674.

closes odoo/odoo#81367

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:13 +00:00
Louis Wicket (wil) 421c671fbf [IMP] im_livechat, mail: rename discuss model
Rename javascript model `mail.discuss` to `Discuss` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81335

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:12:06 +00:00
Louis Wicket (wil) 1edec02e4b [IMP] mail: rename dialog model
Rename javascript model `mail.dialog` to `Dialog` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81333

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 11:12:02 +00:00
Louis Wicket (wil) 08e34b4ca9 [IMP] mail: rename attachment list model
Rename javascript model `mail.attachment_list` to `AttachmentList` in order
to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81316

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 11:11:58 +00:00
Louis Wicket (wil) 5108f97b8c [IMP] mail: rename attachment box view model
Rename javascript model 'mail.attachment_box_view' to AttachmentBoxView
in order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#80602

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:11:54 +00:00
Louis Wicket (wil) 5ce76d3af8 [IMP] hr: rename employee model
Rename javascript model 'hr.employee' to 'Employee' in order to
distinguish javascript model from python model.

Part of task-2701674.

closes odoo/odoo#80561

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 11:11:51 +00:00
Paolo (pgi) b63901b41d [FIX] account: Manual write-off with tax fixed
When the Reconciliation Model had a tax on the writeoff,
the journal_id wasn't populated by widget.get_reconciliation_dict_from_model(),
preventing the reconciliation from happening.

opw-2689002

closes odoo/odoo#81396

X-original-commit: 17a1c960cc3cce1850a6009ebf9641174e0304fb
Related: odoo/enterprise#22891
Signed-off-by: Paolo Gatti (pgi) <pgi@odoo.com>
2021-12-15 10:18:09 +00:00
Louis Wicket (wil) cfbfca7c83 [IMP] mail, website_livechat: rename country model
Rename javascript model `mail.country` to `Country` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81331

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 10:18:01 +00:00
Julien Van Roy e4818b6821 [IMP] account: Invoice / Bill Outstanding Debit / credit improvement
This commit:
1) fixes the customer invoice/vendor bill outstanding debit/credit warning anchor link
2) improves the customer invoice/vendor bill outstanding section
3) fixes the customer invoice/vendor bill outstanding debit/credit warning messages when viewing an account move reversal
4) modifies the order of the 'invoice lines' tab for mobile view

1) The anchor link did not work when pointing to a field (the id of a field is not propagated into the DOM).
Hence,the target field is put inside a div with the correct id.

2) The outstanding section is placed to the right, below the amount due and next to the description for clarity purpose.
The 'Add' button is turned into a secondary button (s.t. it is more noticeable). Each entry name is now a link to to the corresponding account move.

3) The warning messages are modified because they were not consistent and confusing when viewing an account move reversal.

4) Previously, the order on the 'invoice lines' tab was: narration>total>widget, now it is: total>widget>narration

task-2669132

closes odoo/odoo#78550

Signed-off-by: Laurent Smet <las@odoo.com>
2021-12-15 09:26:54 +00:00
Julien Van Roy e2c0fec9ff [IMP] account: remove dead code
Part-of: odoo/odoo#78550
2021-12-15 09:26:54 +00:00
Florian Damhaut e0c1071d59 [FIX] uom: Correct uom creation link
Since 6f182eeeab UoM should be created through the UoM category tab as the UoM form view is now unusable.
To ensure that this is the case, we remove menu link to the form view and update the other to lead to UoM category instead.

opw-2702953

closes odoo/odoo#81221

X-original-commit: 58a3954d606d48b2a4cf678eb0bf13d6e28b1aef
Signed-off-by: Damhaut Florian (flda) <flda@odoo.com>
2021-12-15 08:15:43 +00:00
Louis Wicket (wil) 61c658542a [IMP] mail: rename thread partner seen info model
Rename javascript model `mail.thread_partner_seen_info` to
`ThreadPartnerSeenInfo` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81435

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:27 +00:00
Louis Wicket (wil) 58118d2f1d [IMP] mail: rename thread cache model
Rename javascript model `mail.thread_cache` to `ThreadCache` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81434

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:23 +00:00
Louis Wicket (wil) a43d662017 [IMP] mail, *: rename thread model
Rename javascript model `mail.thread` to `Thread` in order to
distinguish javascript models from python models.

Part of task-2701674.
 * = hr, hr_holidays, im_livechat, website_livechat

closes odoo/odoo#81433

Related: odoo/enterprise#22910
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:16 +00:00
Louis Wicket (wil) 0b43921d3b [IMP] mail: rename suggested recipient info model
Rename javascript model `mail.suggested_recipient_info` to
`SuggestedRecipientInfo` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81432

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:12 +00:00
Louis Wicket (wil) a408eb8f7d [IMP] mail: rename sound effects model
Rename javascript model `mail.sound_effects` to `SoundEffects` in order
to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81431

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:08 +00:00
Louis Wicket (wil) 6fd5f70358 [IMP] mail: rename sound effect model
Rename javascript model `mail.sound_effect` to `SoundEffect` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81417

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:59:03 +00:00
Louis Wicket (wil) e6c27f5fc1 [IMP] mail: rename rtc session model
Rename javascript model `mail.rtc_session` to `RtcSession` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81416

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:58:59 +00:00
Louis Wicket (wil) 74fddfd312 [IMP] mail: rename rtc peer notification model
Rename javascript model `mail.rtc_peer_notification` to
`RtcPeerNotification` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81415

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:58:55 +00:00
Louis Wicket (wil) 5f87c6ff47 [IMP] mail: rename rtc option list model
Rename javascript model `mail.rtc_option_list` to `RtcOptionList` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81414

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:58:51 +00:00
Louis Wicket (wil) 4d56255d73 [IMP] mail: rename rtc layout menu model
Rename javascript model `mail.rtc_layout_menu` to `RtcLayoutMenu` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81413

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:58:47 +00:00
Louis Wicket (wil) b3091216d7 [IMP] master: rename rtc controller model
Rename javascript model `mail.rtc_controller` to `RtcController` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81412

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:58:43 +00:00
Louis Wicket (wil) 66382ab1d7 [IMP] mail: rename rtc configuration menu model
Rename javascript model `mail.rtc_configuration_menu` to
`RtcConfigurationMenu` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81411

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:43 +00:00
Louis Wicket (wil) 56e1257dc4 [IMP] mail: rename rtc call viewer model
Rename javascript model `mail.rtc_call_viewer` to `RtcCallViewer` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81410

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:40 +00:00
Louis Wicket (wil) 4a647e17b0 [IMP] mail: rename rtc call participant card model
Rename javascript model `mail.rtc_call_participant_card` to
`RtcCallParticipantCard` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81409

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:37 +00:00
Louis Wicket (wil) 916fc7430b [IMP] mail: rename rtc model
Rename javascript model `mail.rtc` to `Rtc` in order to distinguish
javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81408

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:33 +00:00
Louis Wicket (wil) e4eeff3d4f [IMP] mail: rename popover view model
Rename javascript model `mail.popover_view` to `PopoverView` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81407

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:30 +00:00
Louis Wicket (wil) 1d8da9232a [IMP] mail: rename model model
Rename javascript model `mail.model` to `Model` in order to distinguish
javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81390

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:26 +00:00
Louis Wicket (wil) 9303e896f4 [IMP] mail, *: rename messaging notification handler model
Rename javascript model `mail.messaging_notification_handler` to
`MessagingNotificationHandler` in order to distinguish javascript models
from python models.

Part of task-2701674.
* = im_livechat, website_livechat

closes odoo/odoo#81389

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:23 +00:00
Louis Wicket (wil) e8552668f0 [IMP] mail: rename messaging menu model
Rename javascript model `mail.messaging_menu` to `MessagingMenu` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81388

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 01:03:18 +00:00
Louis Wicket (wil) c8cfc58ea8 [IMP] mail, *: rename messaging initializer model
Rename javascript model `mail.messaging_initializer` to
`MessagingInitializer` in order to distinguish javascript models from
python models.

Part of task-2701674.
* = crm_livechat, im_livechat, mail_bot

closes odoo/odoo#81387

Related: odoo/enterprise#22889
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 00:10:51 +00:00
Louis Wicket (wil) deb12bc032 [IMP] hr, mail, snailmail: rename messaging model
Rename javascript model `mail.messaging` to `Messaging` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81386

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 00:10:48 +00:00
Louis Wicket (wil) bf297be03a [IMP] mail: rename message view model
Rename javascript model `mail.message_view` to `MessageView` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81385

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 00:10:44 +00:00
Louis Wicket (wil) b02edc2887 [IMP] mail: rename message seen indicator model
Rename javascript model `mail.message_seen_indicator` to
`MessageSeenIndicator` in order to distinguish javascript models from
python models.

Part of task-2701674.

closes odoo/odoo#81384

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 00:10:41 +00:00
Louis Wicket (wil) d7d5d522c2 [IMP] mail: rename device model
Rename javascript model `mail.device` to `Device` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81332

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 00:10:37 +00:00
Louis Wicket (wil) 4dfec3b8bf [IMP] im_livechat, mail: rename chat window model
Rename javascript model `mail.chat_window` to `ChatWindow` in order to
distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81322

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 00:10:34 +00:00
Louis Wicket (wil) 7936173c27 [IMP] mail: rename activity type model
Rename javascript model 'mail.activity_type' to 'ActivityType' in order
to distinguish javascript model from python model.

Part of task-2701674.

closes odoo/odoo#80600

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-15 00:10:30 +00:00