Skip to content
Snippets Groups Projects
  1. May 03, 2019
    • qmo-odoo's avatar
      [FIX] website_slides: fix various quiz issues · 8d9c0548
      qmo-odoo authored
      
      This commit fixes a few issues with quizz
      
        * change background-color to white in fullscreen mode;
        * prevent going up to the top of the page when selecting an answer;
        * highlight selected answers in fullscreen;
        * fix the display of already completed quizzes
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      
      closes odoo/odoo#33140
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      8d9c0548
    • qmo-odoo's avatar
      [FIX] website_slides_survey: fix some certifications issues in eLearning frontend · ef3ccce0
      qmo-odoo authored
      This commit fixes a few issues with courses which have certification
      
       * fix links to already passed certifications: currently it crashed, now it
         redirects to the certification end screen;
       * "Begin your certification now" green box link now has same behaviour
         as links in the list view. It redirects to either the start certification
         screen or the first slide in fullscreen mode. Moreover once the user has
         started the course (at least one completed slide) this box disappears as
         it is not really useful anymore;
      
      Some dead code is removed.
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      ef3ccce0
    • Toufik Ben Jaa's avatar
      [FIX] survey: allow survey user to test a survey · 69cd8bc6
      Toufik Ben Jaa authored
      
      - When tyring to test a survey as a "Survey User" you are redirected to the
        homepage.
        This is due to a faulty access rights check that only allows "Survey
        Managers" to test them.
      
      closes odoo/odoo#33132
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      69cd8bc6
    • qmo-odoo's avatar
      [FIX] website_slides: fix the end course button · 9d26c122
      qmo-odoo authored
      
      This commit fixes the "End Course" button displayed after successfully passing
      a quizz. Before this commit, the button didn't do anything, now, it redirects
      to the slides homepage.
      
      ommit linked to task ID 1978530 (fixes linked to internal testing).
      
      closes odoo/odoo#33133
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      9d26c122
    • Aurélien Warnon's avatar
      [FIX] website_slides: fix courses completion on user profile page · bf3ed3fc
      Aurélien Warnon authored
      This commit fixes the courses (slide.channel) completion displayed on the user
      profile page. It uses the number of completed slides instead of the percentage
      of completion. This is due to the completion field having been updated
      recently to store number of completed slides instead of a computed percentage
      for performances reasons [1]
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      
      [1] See 534822e5
      bf3ed3fc
    • qmo-odoo's avatar
      [FIX] website_slides: Add back the slide type icons in the lists · 8af1fe54
      qmo-odoo authored
      This commit adds back the slide type icons on the sidebar list
      in fullscreen and not fullscreen mode.
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      8af1fe54
    • qmo-odoo's avatar
      [FIX] website_slides: fix join course widget selector · fa24d7df
      qmo-odoo authored
      This commit fixes the selector for the slide_course_join widget. This issue
      comes from the removal of the selector 'o_wslides_wrap' recently removed
      when cleaning the DOM [1].
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      
      [1] See e5c7e43c
      fa24d7df
    • qmo-odoo's avatar
      [FIX] website_profile: allow administrators to update profiles · f4b5b709
      qmo-odoo authored
      Before this commit, only the users who validated their email could change
      their own profile. In addition to that behavior we let administrators update
      all profiles.
      
      Commit linked to task ID 1978530 (fixes linked to internal testing).
      f4b5b709
  2. Feb 21, 2019
  3. May 02, 2019
  4. Apr 26, 2019
    • Denis Ledoux's avatar
      b1193004
    • Gert Pellin's avatar
      [FIX] point-of-sale: discount line on ticket · 26c4acc7
      Gert Pellin authored
      
      Before this fix an extra line with the price without discount will be
      printed even if there is no discount on the product.
      
      After this fix the line will only be printed if there is a discount.
      
      The error occured due to the use of t-else instead of t-elif.
      
      closes odoo/odoo#32989
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      26c4acc7
    • Xavier Morel's avatar
      [IMP] base: avoid unnecessary exists in Contact HTML formatter · 617ba288
      Xavier Morel authored
      
      Protactively checking exists() seems unnecessary, it's likely that the
      widget would be called on an empty recordset but seems very unlikely
      that it'll be called on a missing record. The commit which added the
      exists() call performs significant refactoring/rewrite and doesn't
      explain why this exists() call would be useful.
      
      Since exists is not cached and qweb field converters are not batched,
      saves a large number of queries when formatting a series of addresses
      e.g. with 99 hr.job, /jobs goes from ~170 queries and ~100ms spent in
      SQL to ~70 queries and ~60ms spent in SQL.
      
      Though the total performance improvement is very limited as even with
      odoo/odoo#32985 the endpoint takes ~700ms (with the aforementioned 99
      hr.job visible to the current user).
      
      closes odoo/odoo#32986
      
      Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
      617ba288
  5. Apr 25, 2019
  6. Apr 30, 2019
  7. Apr 28, 2019
  8. Apr 25, 2019
  9. Apr 24, 2019
  10. Apr 23, 2019
  11. Apr 25, 2019
  12. Apr 24, 2019
  13. Apr 23, 2019
Loading