summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/views/activity/activity_controller.js
AgeCommit message (Collapse)Author
2020-03-13[REF] *: Adapt all modules to new control panelJulien Mougenot
Adaptation of the code throughout all modules to properly instantiate the newly refactored control panel and update it accordingly. Part of task 2196029 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
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-09-19[FIX] mail: pass context from schedule activityJinal Patel
Problem is that while creating Opportunity from schedule activity at the bottom of the activity view, context was not applied. For Example, CRM > Pipeline, while creating opportunity that will create a lead because context was not applied. In this commit, context should be applied. task-2072491 closes odoo/odoo#37139 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-05-03[IMP] base, mail: set CRUD on activity view as attributesHiral Bhavsar
Just like other views (form, list, kanban, etc.) CRUD operations (create, delete and edit) are now set as attributes on the activity node based on the user access rights. Task 1894990
2019-05-03[IMP] mail: allow to create record from activity viewHiral Bhavsar
In the activity view footer, it's now possible to create a new record (and an associated activity). When clicking on the link, a 'SelectCreate' dialog is opened and the activity is created when selecting a record. Task 1894990
2019-05-03[IMP] mail: visually show the activity creation on empty cellsHiral Bhavsar
An indication that the user can schedule new activities by clicking on an empty cell is now displayed while hovering an empty cell. When clicking on the empty cell, the activity form is opened in a modal defaulted to the corresponding activity type (no dropdown menu anymore). Task 1894990
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-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