Commit Graph
147192 Commits
Author SHA1 Message Date
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
Louis Wicket (wil) c873ea643a [IMP] mail, calendar, website_slides: rename activity model
Rename javascript model 'mail.activity' to 'Activity' in order to
distinguish javascript model from python model.

Part of task-2701674.

closes odoo/odoo#80555

Related: odoo/enterprise#22593
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2021-12-15 00:10:23 +00:00
Louis Wicket (wil) a74c67169a [IMP] mail: rename channel command model
Rename javascript model `mail.channel_command` to `ChannelCommand` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81320

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-14 22:26:58 +00:00
Louis Wicket (wil) de0eec346a [IMP] mail: rename attachment viewer model
Rename javascript model `mail.attachment_viewer` to `AttachmentViewer`
in order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81317

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-14 21:37:13 +00:00
Louis Wicket (wil) ccabe512b3 [IMP] mail: rename attachment image model
Rename javascript model `mail.attachment_image` to `AttachmentImage` in
order to distinguish javascript models from python models.

Part of task-2701674.

closes odoo/odoo#81315

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-14 20:42:44 +00:00
Raphael Collet 6a12cd65d5 [FIX] core: create() always inverses fields in the same order
This makes the inversion of fields deterministic, as some orderings make
street fields crash in module base_address_extended.

closes odoo/odoo#80824

Related: odoo/enterprise#22711
Related: odoo/upgrade#3093
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-12-14 19:13:18 +00:00
Yannick TivisseandVictor Feyens 18952cdc76 [IMP] *: Convert single create method into multi
Taskid: 2703085
Part-of: odoo/odoo#80824
Co-authored-by: Victor Feyens <vfe@odoo.com>
2021-12-14 19:13:18 +00:00
Louis Wicket (wil) b403c7e068 [IMP] mail: rename activity box view model
Rename javascript model `mail.activity_box_view` to ActivityBoxView in
order to distinguish javascript model from python model.

Part of task-2701674.

closes odoo/odoo#80605

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-14 19:13:13 +00:00
std-odoo ea5101a4ee [IMP] mail: add capital letters to the "Read More / Less" button
Purpose
=======
In the chatter, when we reply to an email, the parent email is folded
behind a "read more" button. Add capital letters to this button to make
it more visible.

Task-2656302

closes odoo/odoo#80571

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-12-14 19:13:09 +00:00
Louis Wicket (wil) 1b74cb210e [IMP] mail: rename guest model
Rename javascript model 'mail.guest' to 'Guest' in order to distinguish
javascript model from python model.

Part of task-2701674.

closes odoo/odoo#80547

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-12-14 19:13:05 +00:00