summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/module_view.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2016-12-21 11:01:13 +0100
committerThibault Delavallée <tde@odoo.com>2016-12-21 11:01:13 +0100
commit60700557c65a42bac17bc48f1f8daccedafbd988 (patch)
treeb8dc0efa2b7ef31284ecad79c297de169d6438cf /odoo/addons/base/module/module_view.xml
parente41d3fb0363e99e4529139f82083f3e0e822677f (diff)
parent44e2892809303f2c1691519bf6ec4a4cfc25a982 (diff)
[MERGE][ADD] mail, various: add activities
This commit introduces generic activities to use in your addons. Activities are actions user have to take on a document like making a phonecall or organizing a meeting. Activities come with the mail module as they are integrated in the Chatter but are not bundled with mail.thread. New models are * mail.activity.type: used to categorize activities. Each type is a different kind of activity e.g. call, mail, meeting. An activity can be generic i.e. available for all models using activities; or specific to a model in which case res_model_id field should be used. * mail.activity: an actual activity to perform. Activities are linked to documents using res_id and res_model_id fields. Activities have a deadline that can be used in kanban view to display a status. Once done activities are unlinked and a message is posted. This message has a new activity_type_id field that indicates the activity linked to the message. This commit introduces a mail.activity mixin to use in various addons that enables the activities feature. It works like the mail.thread mixin. It defines a activity_ids one2many field toward activities using res_id and res_model_id. Various related / computed fields are also added to have a global status of activities on documents. Activities come with a new JS widget for the form view. It is integrated in the Chatter widget although it is a separate widget. It displays activities linked to the current record and allow to schedule, edit and mark done activities. Use widget="mail_activity" on activity_ids field in form view to use it. There is also a kanban widget defined. It defines a small widget to integrate in kanban vignettes. It allow to manage activities directly from the kanban view. Use widget="kanban_activity" on activitiy_ids field in kanban view to use it. Next commits will aim at integrating activities inside main Odoo addons. Thanks to R&D India for their work and testing on this task. Thanks to belgian Usabiliteam for reviewing and testing it. Thanks to @jem-odoo for the final review. May his soul lie in peace with the trumpets of paradise.
Diffstat (limited to 'odoo/addons/base/module/module_view.xml')
0 files changed, 0 insertions, 0 deletions