-
- Downloads
[REF] mail, note: move reminder feature from mail to note
This commit refactors f488dc58 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.
Showing
- addons/mail/__manifest__.py 0 additions, 1 deletionaddons/mail/__manifest__.py
- addons/mail/controllers/main.py 0 additions, 12 deletionsaddons/mail/controllers/main.py
- addons/mail/data/mail_activity_data.xml 0 additions, 7 deletionsaddons/mail/data/mail_activity_data.xml
- addons/mail/data/mail_activity_demo.xml 0 additions, 10 deletionsaddons/mail/data/mail_activity_demo.xml
- addons/mail/models/mail_activity.py 8 additions, 66 deletionsaddons/mail/models/mail_activity.py
- addons/mail/models/res_users.py 5 additions, 17 deletionsaddons/mail/models/res_users.py
- addons/mail/static/src/img/reminder.png 0 additions, 0 deletionsaddons/mail/static/src/img/reminder.png
- addons/mail/static/src/js/systray.js 12 additions, 117 deletionsaddons/mail/static/src/js/systray.js
- addons/mail/static/src/less/discuss.less 1 addition, 22 deletionsaddons/mail/static/src/less/discuss.less
- addons/mail/static/src/less/mail_activity.less 0 additions, 9 deletionsaddons/mail/static/src/less/mail_activity.less
- addons/mail/static/src/xml/systray.xml 0 additions, 23 deletionsaddons/mail/static/src/xml/systray.xml
- addons/mail/static/tests/systray_tests.js 3 additions, 35 deletionsaddons/mail/static/tests/systray_tests.js
- addons/mail/views/mail_activity_views.xml 0 additions, 99 deletionsaddons/mail/views/mail_activity_views.xml
- addons/note/__init__.py 2 additions, 1 deletionaddons/note/__init__.py
- addons/note/__manifest__.py 5 additions, 0 deletionsaddons/note/__manifest__.py
- addons/note/controllers/__init__.py 4 additions, 0 deletionsaddons/note/controllers/__init__.py
- addons/note/controllers/note.py 27 additions, 0 deletionsaddons/note/controllers/note.py
- addons/note/data/mail_activity_data.xml 12 additions, 0 deletionsaddons/note/data/mail_activity_data.xml
- addons/note/models/__init__.py 1 addition, 0 deletionsaddons/note/models/__init__.py
- addons/note/models/mail_activity.py 16 additions, 0 deletionsaddons/note/models/mail_activity.py
Loading
Please register or sign in to comment