summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/views/activity/activity_view.js
AgeCommit message (Collapse)Author
2020-01-28[REF] mail: migrate activity renderer to owlmcm-odoo
In order to prepare the future, we want to convert everything in Owl. This commit converts the activity renderer. closes odoo/odoo#42278 Task: 2149408 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-05-03[IMP] base,mail: allow to customize the activity viewHiral Bhavsar
The activity view has been greatly improved to allow to customize it more easily. It works quite similarly to the kanban view, defining `<field>` tags at the top and using these fields in the `<template>` section. The template name used to define the activity cards is `activity-box`. Note that these activity cards are rendered using `KanbanRecord` widget (this has implied that ActivityView inherits from `BasicView`). Also note that the view validation has been moved in base to include the common grammar. Task 1894990
2018-12-10[FIX] mail: adapt activity view iconMartin Geubelle
Task 1889687 adds the activity view to Studio>Views, the view is represented by icon fa-clock-o. Task 1894990 was supposed, among other things, to change the current activity view icon (fa-th) to fa-clock-o. Since this task was not merged it creates an inconsistency between the 'view switcher' and Studio. Task 1902826 closes odoo/odoo#29392
2018-12-07[REF] *: adapt views outside webAaron Bohy
to ControlPanel/Search view refactoring. *: mail,sale,web_diagram The ControlPanel being now inside the DOM of views' controller, those existing widgets needed to be adapted (in the way they define if and how they want a ControlPanel, and in the way the manipulate their DOM as it slightly changed). Tests needed to be adapted as well. Part of task 1893568 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com>
2018-09-18[IMP] mail: add force_next on activity typeXavierDo
A new field on activity type allow to change the behaviour of mark done & schedule next: -marking as done will automatically schedule the next activity, based on the default_next_activity. -It should also be impossible to edit an activity when this flag is on. task: #1884521
2018-09-07[FIX] mail: improve activity view and fix activity feedbackXavierDo
-Improve no content helper on activity view -Update chatter after editing an activity un form view -Avoid context to appear as feedback When using call_button the context is set as an arg and will be catched by the kwargs of the called action. As for action_feedback, we can create a wrapper without kwargs used when calling this method from a button to avoid this problem. Another solution would be to change the call_button in order to give the context as a kwargs. Maybe a possible improvement for master. -Remove groupby from activity view group by has no effect on activity -Change cursor to pointer on record name in activity view Task: #1878184 PR: #26668
2018-08-10[IMP] mail: add activity viewXavierDo
A simple new view to easily display all activity on a model grouped by res_id and activity_type_id. Some action are possible like sending a mail template for all record having an activity with this activity type and present in the view (depends on the filter). The view use the Kanban activity view on cells. It could be a good idea to rename this widget to something like "DropdownActivityView" (maybe after the freeze) Task: #1870662 PR: #26272