Skip to content
Snippets Groups Projects
  1. Jun 04, 2020
    • Elisabeth Dickinson's avatar
      [IMP] crm: make tips bioutifoul, and add moar tips · 2503a66c
      Elisabeth Dickinson authored
      
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Improve existing tips to be more inlined with new digest styling.
      
      Add new tips, notably
      
        * use lead enrichment;
        * use lead mining;
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      
      Co-Authored-By: default avatarElisabeth Dickinson <edi@odoo.com>
      Co-Authored-By: default avatarThibault Delavallée <tde@odoo.com>
      2503a66c
    • Thibault Delavallée's avatar
      [IMP] digest: make tips bioutifoul, and add moar tips · 2fa98051
      Thibault Delavallée authored
      
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Improve existing tips to be more inlined with new digest styling.
      
      Add new tips, notably
      
        * Invite team members;
        * Learn about Odoo (eLearning platform);
        * allow push notifications;
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      
      Co-Authored-By: default avatarElisabeth Dickinson <edi@odoo.com>
      Co-Authored-By: default avatarThibault Delavallée <tde@odoo.com>
      2fa98051
    • Thibault Delavallée's avatar
      [REF] digest: move template to QWeb · 99c2c2ee
      Thibault Delavallée authored
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Digest now use qweb views instead of a standard mail.template record for
      rendering as
      
        * template is very custom;
        * probability of breaking it while edition the mail template is high;
          it is easier to maintain and extend in qweb;
        * only body was really used, other mail-related fields were not used;
      
      We therefore remove the mail template data and the field used for it on
      the digest model. Template is now forced to a Qweb view.
      
      We can also remove the template_id field. Indeed we think that having
      different templates for digests is a really advanced use case we do not
      want to support.
      
      Finally kpis and action computation is rewritten. It now returns an unique
      structure containing all information in a more neutral way, holding values
      for 3 columns. Purpose is to be less date-oriented in data construct and
      allow people to use digest qweb template to display a 3-columns KPIs content
      even if not related to yesterday / last 7 days / last 30 days.
      
      LINKS
      
      Task ID 2197417
      Community PR odoo/odoo#51619
      Upgrade PR odoo/upgrade#1256
      99c2c2ee
    • Thibault Delavallée's avatar
      [IMP] digest: improve digest by adding daily sending and preferences · 14abd4fd
      Thibault Delavallée authored
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Add a daily digest option, allowing to send digests on a daily basis. It
      will be the default settings to help users coming back to odoo.
      
      Add a slowdown heuristics. If not any user targeted by a daily digest logs
      himself within 3 days, digest is slowed down to a weekly setting to avoid
      spam.
      
      Add a preference section in template, to hold notably links to some
      configuration steps sent mainly for admin / CEOs.
      
      Improve access on models.
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      14abd4fd
    • Thibault Delavallée's avatar
      [REF] digest: make digest template bioutifoul · add1a04a
      Thibault Delavallée authored
      
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Improve template according to FP specifications, aka
          Header
          Tip
          KPIs
          Preference text
          Want to customize?
          Mobile Tip
          Footer
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      Upgrade PR odoo/upgrade#1256
      
      Co-Authored-By: default avatarElisabeth Dickinson <edi@odoo.com>
      Co-Authored-By: default avatarThibault Delavallée <tde@odoo.com>
      add1a04a
    • Thibault Delavallée's avatar
      [REF] digest: reorganize code to ease future changes · c329c618
      Thibault Delavallée authored
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      Slightly reorganize code to ease future changes, notably in KPIs computation
      that will be made a bit more generic.
      
      LINKS
      
      Task ID 2197417
      PR #51619
      c329c618
    • Thibault Delavallée's avatar
      [FIX] digest: ensure cron sends all ready digests · 48e94a6e
      Thibault Delavallée authored
      Currently only digest planned "today" are sent. Which means that digest that
      missed a cron tick are not sent anymore. We fix that by making the cron run
      on all digest whose scheduled date is in the past or today.
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      48e94a6e
    • Thibault Delavallée's avatar
      [IMP] mail: add first lightweight support of qweb in rendering mixin · e1432afd
      Thibault Delavallée authored
      PURPOSE
      
      Make digest email and tips more appealing. The goals of these tips are
      
        * to encourage the adoption of other apps (Did you know ?);
        * to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
        * to show social proof and increase trust (emphasis on already existing
          projects / customers to);
      
      SPECIFICATIONS
      
      In this commit we simply add a first support of tools to render qweb templates
      like rendering jinja. Instead of giving the template to render the xml id of
      the view is passed.
      
      This code is meant to be improved in a near future with new use cases that
      will soon arise.
      
      LINKS
      
      Task ID 2197417
      PR odoo/odoo#51619
      e1432afd
  2. May 29, 2020
  3. Jun 04, 2020
  4. Jun 03, 2020
    • Nicolas Martinelli's avatar
      [FIX] crm: default partner lang · 2725e80a
      Nicolas Martinelli authored
      
      - Create a lead and set a language
      - Convert to opportunity and choose 'Create a new customer'
      
      The new customer created doesn't have the language of the lead set.
      
      This is more logical to set the same language to the new customer.
      
      opw-2270321
      
      closes odoo/odoo#52376
      
      X-original-commit: 1999c68ff4eb382019c92064d9285411314a39be
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      2725e80a
  5. Jun 04, 2020
    • Author Name's avatar
      [FIX] website_event: event registration in edit mode · 11907c17
      Author Name authored
      
      The event registration form is made up of a public widget that
      instantiates an internal normal widget. All public widget are
      automatically destroyed when entering in edit mode as well as the widget
      it created. Therefore, it's main element is removed from the DOM when
      the widget is destroyed. Here, we're detaching the main element from the
      internal widget before the widget is destroyed so that we avoid to
      destroy his main element from the DOM when entering in edit mode.
      
      task-2210733
      
      closes odoo/odoo#52426
      
      X-original-commit: d515e423
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      11907c17
  6. May 29, 2020
  7. Jun 04, 2020
  8. Jun 03, 2020
  9. Jun 04, 2020
  10. Jun 03, 2020
  11. May 25, 2020
  12. Jun 03, 2020
Loading