summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less
diff options
context:
space:
mode:
authorDharmang Soni <dpr@openerp.com>2018-04-04 15:34:43 +0530
committerThibault Delavallée <tde@odoo.com>2018-04-09 14:35:06 +0200
commit807c4c3f5e729d8b2f463d93e73b0dbbc008492b (patch)
treedc6774487c50efbd6c09b5ae642744582b3fe260 /addons/mail/static/src/less
parentc56491b11bc399247a595a2e08bbc940d2be3746 (diff)
[REF] mail, note: move reminder feature from mail to note
This commit refactors f488dc58c37fdc7fd49df759165de641e213444b that added reminder feature in activities. After merging it was suggested specifications were not correct and it has been decided to move the whole reminder feature in note. Reminders are now notes instead of activities. Now when having note appµ systray proposes to create a note / reminder. A note.note record is created with info given by the user. If a date is given in the systray quick create then an activity is scheduled on this note. This means user can create records in activity systray that are not activities but notes used as reminders. Those will use the first availableµ note column for the user. As reminders are now notes the support of activities not linked to any document is removed, as well as archiving activities and tests linked to that behavior. This commit has been not carefully tested nor in-depth reviewied. It is considered as too important for the upcoming freeze. This closes task ID 1833628. Closes #24129 . Many thanks to @dpr-odoo for its quick development and good work on this task.
Diffstat (limited to 'addons/mail/static/src/less')
-rw-r--r--addons/mail/static/src/less/discuss.less23
-rw-r--r--addons/mail/static/src/less/mail_activity.less9
2 files changed, 1 insertions, 31 deletions
diff --git a/addons/mail/static/src/less/discuss.less b/addons/mail/static/src/less/discuss.less
index b2bfc6236c8..4e0ae26dccc 100644
--- a/addons/mail/static/src/less/discuss.less
+++ b/addons/mail/static/src/less/discuss.less
@@ -391,7 +391,7 @@
.o_channel_title {
.o-flex-display();
.o_channel_name {
- .o-flex(1, 1, auto);
+ .o-flex(0, 1, auto);
.o-text-overflow();
}
.o_channel_counter {
@@ -428,27 +428,6 @@
}
}
-.o_reminder.o_mail_channel_preview {
- background-color: white;
- .o_reminder_input {
- border: none;
- }
- .o_reminder_datetime {
- .o_datepicker {
- .o_datepicker_input {
- float: right;
- text-align: right;
- border: none;
- font-size: 11px;
- width: 50%;
- }
- .o_datepicker_button {
- display: none;
- }
- }
- }
-}
-
@media (max-width: @screen-xs-max) {
@o-mail-chatter-mobile-gap: 2%;
diff --git a/addons/mail/static/src/less/mail_activity.less b/addons/mail/static/src/less/mail_activity.less
index f98e0974b7b..5f1320ce402 100644
--- a/addons/mail/static/src/less/mail_activity.less
+++ b/addons/mail/static/src/less/mail_activity.less
@@ -132,15 +132,6 @@
.o_kanban_inline_block {
display: inline-block;
}
- .o_text_line_through {
- text-decoration: line-through;
- }
- .o_reminder_title {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- padding-bottom: 10px;
- }
.o_mail_activity {
.o_activity_btn {
span.fa {