Skip to content
Snippets Groups Projects
  1. Aug 02, 2019
    • Sébastien Theys's avatar
      [IMP] *: rename image fields · 58a2ffa2
      Sébastien Theys authored
      image_original => image_1920 (now resized to 1920)
      image_big => image_1024
      image_large => image_256
      image_medium => image_128
      image_small  => image_64
      image replaced by image_1920 (when writing) or by image_1024 (when displaying
      	what was previously the big size)
      
      + add new intermediate format:
      image_512
      
      PR: #34925
      58a2ffa2
  2. Aug 01, 2019
    • Lucas Lefèvre's avatar
      [IMP] base: Remove customer and supplier fields from res.partner · 3e97cff7
      Lucas Lefèvre authored
      
      Purpose
      =======
      
      Fields `customer` and `supplier` on `res.partner`
      are mostly used in domains of many2x fields.
      
      Those domains can confuse end users because they don't
      see the partner they are looking for; and it's not obvious why.
      
      Some identified problems:
      
      1. It can lead to duplicated partners: the user does not find
         the partner, so he creates a new one.
      
      2. The user imports supplier contacts in the Contacts app, so they
         don't get the `supplier` flag. Then the user wants to make a purchase order,
         and cannot find the new suppliers in the list
      
      3. A user removes the customer flag on a prospect, because they don't think
         it's a customer yet - except now they can't make a quote for that customer...
      
      Specification
      =============
      
      Remove the two mentioned fields.
      
      Since fields `customer` and `supplier` have been removed, all partners
      are now shown in many2one dropdowns.
      
      But in some cases, not all partners are relevant or some are more likely
      to be relevant than others. e.g. when creating a PO, top suppliers have a
      higher priority than other partners.
      
      So, adapt the places where those fields were used with the new mechanism to
      display the searched the partners, according to the number purchase/sales
      orders they made.
      
      TaskID: 2031147
      
      Co-authored-by: default avatarYannick Tivisse <yti@odoo.com>
      3e97cff7
  3. Jul 31, 2019
    • Patrick Hoste's avatar
      [IMP] eLearning: adds course and certification stat button on partner · 81c7afb8
      Patrick Hoste authored
      
      Adds two stats button on res.partner form view :
      - The first one will show all the courses that the partner is following.
      - The second one will show all the certifications the partner has passed.
      When the partner is a company :
      - All the courses followed by all the partners are shown without duplicate.
      - All the certifications passed by all the partners are shown.
      
      PR : #34908
      Task ID : 2034097
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      81c7afb8
    • qmo-odoo's avatar
      [IMP] website_slides: lesson template improvements · 2fe6274b
      qmo-odoo authored
      
      This commit adds the number of comments on
      the comments tab and also improves the design of the
      pdf sharing options
      
      Task: 1978736
      PR: #34232
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      2fe6274b
    • qmo-odoo's avatar
      [IMP] website_slides: Slide form view revamp · 9c5e4338
      qmo-odoo authored
      This commit improves the user experience in the slide.slide
      form view by reorganizing fields, renaming fields and  hiding
      unnecessary fields.
      
      This commit also introduces two  new fields:
       - comment_count: computed field that gets the number of comments on the slide
       - channel_allow_comment: Related field to the channel_id.allow_coment.
                                This field is used to hide/show unnecessary fields
      
      TaskID: 1978736
      PR: #34232
      9c5e4338
  4. Jul 30, 2019
    • qmo-odoo's avatar
      [IMP] website_slides: Fix slides displayed by category · 153de28c
      qmo-odoo authored
      This commit fixes an issue where only three slides would be
      displayed instead of four in a category of the course page.
      
      This was due to the promoted slide being ignored in its own
      category.
      
      After this commit, the promoted slide will appear in the promoted
      slot AND in its category
      
      TaskID: 1952064
      PR: #32229
      153de28c
  5. Jul 26, 2019
  6. Jul 23, 2019
  7. Jul 21, 2019
  8. Jul 14, 2019
  9. Jul 11, 2019
  10. Jul 09, 2019
  11. Jul 07, 2019
  12. Jul 01, 2019
  13. Jun 30, 2019
  14. Jul 11, 2019
    • Lucas Perais (lpe)'s avatar
      [FIX] website_slides: statistics recompute when toggle website published · 45847248
      Lucas Perais (lpe) authored
      
      As a portal user, complete some steps within a course
      Completing all of them makes the course completion to 100 %
      
      Now, in the backend, unpublish one of these steps
      
      Before this commit, the completion was not taking into account
      that a step did not "exist" anymore i.e. has been unpublished,
      leading to a completion > 100%
      
      After this commit, we search only for steps that are published
      The completion cannot exceed 100%
      
      OPW 2033553
      
      closes odoo/odoo#34800
      
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      45847248
  15. Jun 30, 2019
  16. Jun 24, 2019
    • qmo-odoo's avatar
      [IMP] website(_sale)_slides: Add login,join,buy button on quiz · cd8afe85
      qmo-odoo authored
      
      This commit improves the elearning onboarding on the quizzes
      
      If the user is not logged in, a log in button will show up under
      the quiz
      
      If he is logged in but not a member of the course and the course is public,
      a join button will appear under the quiz
      
      If the course needs to be bought, a buy button will appear under the quiz.
      
      If the course is on invite only, a message under the quiz will inform the
      user about it
      
      TaskID: 2003986
      PR: #33861
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      cd8afe85
  17. Jun 23, 2019
  18. Jun 30, 2019
  19. Jun 28, 2019
  20. Jun 24, 2019
  21. Jun 21, 2019
  22. Jun 20, 2019
  23. Jun 19, 2019
  24. Jun 28, 2019
    • Thibault Delavallée's avatar
      [FIX] gamification, website_{profile, slides}: correctly display next rank · cd039b64
      Thibault Delavallée authored
      This fix correctly displayed motivational of next rank to achieve depending
      on current karma. Indeed description_motivational field is not the
      motivational to reach next rank but to reach the current rank, taken from
      previous rank point of view. That way a given rank is configured by modifying
      only 1 data.
      
      When not having any karma points (newly created user) the next rank is computed
      as being the first available rank. Motivational phrases and badges are updated
      accordingly. This commit partially reverts 489c8623.
      
      Result
      
        * new user with no karma: next rank is the first rank;
        * user with karma and next rank: as currently;
        * user being at final rank: next rank is just current rank with a 100%
          circle;
      
      Linked to task 2005840
      Related to PR #34220
      cd039b64
    • Thibault Delavallée's avatar
      [FIX] website_profile: fix leaderboard / top3 computation · d5f8e399
      Thibault Delavallée authored
      Contains some small fixes
      
        * correctly order leaderboard by descending karma, not creation date;
        * top 3 users displayed in footer banner should be published, otherwise
          displayed images do not match the top 3 displayed in the page displayed
          when clicking;
        * correctly say Leaderboard is an overall leaderboard, not only limited
          to the current week;
      
      Linked to task 2005840
      Related to PR #34220
      d5f8e399
  25. Jun 18, 2019
  26. Jun 17, 2019
  27. Jun 18, 2019
Loading