Skip to content
Snippets Groups Projects
  1. Dec 22, 2016
  2. Dec 21, 2016
    • Pierre Masereel's avatar
    • Thibault Delavallée's avatar
      [MERGE][ADD] mail, various: add activities · 60700557
      Thibault Delavallée authored
      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.
      60700557
    • Ravi Gadhia's avatar
      [IMP] survey: add support of activities · 44e28928
      Ravi Gadhia authored
      survey.survey model now supports activities. Filters have been added to ease
      their management.
      44e28928
    • Ravi Gadhia's avatar
      [IMP] stock: add support of activities · bea77bbc
      Ravi Gadhia authored
      stock.picking model now supports activities. Filters have been added to ease
      their management.
      bea77bbc
    • Ravi Gadhia's avatar
      [IMP] sale, purchase: add support of activities · e759f576
      Ravi Gadhia authored
      sale.order and purchase.order models now support activities. Filters have been
      added to ease their management.
      e759f576
    • Ravi Gadhia's avatar
      [IMP] project, project_issue: add support of activities · 9988c4a9
      Ravi Gadhia authored
      project.task and project.issue models now support activities. Filters have been
      added to ease their management.
      9988c4a9
    • Ravi Gadhia's avatar
      [IMP] note: add support of activities · 39130d88
      Ravi Gadhia authored
      note.note model now supports activities. Filters have been added to ease
      their management.
      39130d88
    • Ravi Gadhia's avatar
      [IMP] mrp, mrp_repair: add support of activities · 1d62b59f
      Ravi Gadhia authored
      mrp.production and mrp.repair models now supports activities. Filters have been
      added to ease their management.
      1d62b59f
    • Ravi Gadhia's avatar
      [IMP] maintenance: add support of activities · dce47eb4
      Ravi Gadhia authored
      maintenance.equipment and maintenance.request models now supports activities.
      Filters have been added to ease their management.
      dce47eb4
    • Ravi Gadhia's avatar
    • Ravi Gadhia's avatar
      [IMP] hr_recruitment: add support of activities · aeda5d58
      Ravi Gadhia authored
      hr.applicant model now supports activities. Filters have been added to ease
      their management.
      aeda5d58
    • Ravi Gadhia's avatar
      [IMP] crm, website_crm: replace support of activities · 87e45715
      Ravi Gadhia authored
      crm.lead model now supports activities. Filters have been added to ease
      their management. Mail activities replace the old crm.activity model. All code
      related to crm.activity is then removed, including views and custom widget.
      Standard activities feature is now used widely in Odoo addons and replace
      those custom activities.
      
      A small update is required in website_crm_partner_assign. Now the portal user
      can only update or create its own activities aka assigned to him. If he has
      an activity assigned to him it is displayed in the opportunity website view.
      If not editing the opportunity will create a new activity assigned to him.
      87e45715
    • Ravi Gadhia's avatar
      [IMP] account: add support of activities · 4aa3f3f9
      Ravi Gadhia authored
      account.invoice model now supports activities. Filters have been added to ease
      their management.
      4aa3f3f9
    • Ravi Gadhia's avatar
      [IMP] mail: add activities allowing to define next actions on various models · 60bacefd
      Ravi Gadhia authored
      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.
      60bacefd
    • Ravi Gadhia's avatar
      [FIX] web_kanban: correctly align kanban status in kanban vignettes · 936bc358
      Ravi Gadhia authored
      Otherwise ze bouboule is not aligned with other elements being in the same
      line of the vignette.
      936bc358
    • Thibault Delavallée's avatar
      [FIX] mail: customers should not follow default internal subtypes · 4f54f130
      Thibault Delavallée authored
      This is a manual forward-port of commit 03ac47b9
      
      Currently when someone is added as follow to a document default subtypes
      are computed if no specific subtypes are given to the subscription. However
      if internal subtypes are set as default those are added to all new
      followers. It should take into account customers and shared users and avoid
      adding them internal subtypes.
      
      Customers and shared users are not notified of messages using an internal
      subtype. So currently there is no information leak. However with this fix
      we ensure internal subtypes are not followed by external people even if
      no notification is created.
      
      Compared to original commit tests are slightly updated because there are now
      default internal subtypes in data. Not in 10.0 and previous versions.
      4f54f130
    • Thibault Delavallée's avatar
  3. Dec 20, 2016
  4. Dec 19, 2016
  5. Dec 17, 2016
  6. Dec 15, 2016
  7. Dec 14, 2016
  8. Dec 13, 2016
  9. Dec 12, 2016
  10. Dec 11, 2016
Loading