Skip to content
Snippets Groups Projects
  1. Feb 19, 2019
    • qmo-odoo's avatar
      [IMP] website_slides: Add elearning feature to slides · c564ae6c
      qmo-odoo authored
      Purpose of this commit is to introduce a new way of displaying and managing
      slides in eLearning module. Its purpose is to give a better experience to
      users when going through a course. Notably a fullscreen mode allows to take
      lessons one by one without going out of the elearning display. Integration
      of all slide types eases taking the course step by step.
      
      Quiz are introduced in this commit. Those are an addition to slides with
      some question / answers (multiple choice). It allows customer to gain karma
      and improves gamification. Certifications are still done using the survey
      application. Quiz targets only small tests at the end of a given slide.
      
      A new widget is added to display and control slide display in fullscreen
      mode. Old display is still available for documentation channels or when
      going out of fullscreen mode, to see details on comments / review / statistics
      and have access to share options.
      
      This commit is linked to task ID 1902304 and PR #29876. It closes the main
      work on refactoring website slides into eLearning, with other tasks already
      merged in current community [1][2][3][4][5].
      
      [1] Task ID 1940360 landed at b2149bc7: certification inclusion
      [2] Task ID 1936153 landed at 6c6179e5: homepage inclusion
      [3] Task ID 1937160 landed at 8b7605c9: selling courses
      [4] Task ID 1922159 and 1940516 landed at 5fa651cb and 6a64c3ce:
          new user profile and gamification of slides / forum
      [5] Task ID 1938643 landed at 77b5673a: upload channel/slide
      c564ae6c
    • Vandan Shah's avatar
      [IMP] *: Add progress bar on kanban views based on activities · 7a80ebe3
      Vandan Shah authored
      Purpose
      =======
      
      If the activities are available on a model (i.e. inherits mail.activity.mixin),
      add a progress bar based on the activities if nothing is defined yet.
      
      closes odoo/odoo#24777
      7a80ebe3
    • Vandan Shah's avatar
      [IMP] web: improve kanban tooltip · d09ecc8b
      Vandan Shah authored
      1) Remove the total record tooltip from kanban group.
      2) Remove progressbar help from kanban view.
      3) Improvements in testcase since we have removed total record tooltip.
      d09ecc8b
    • Antoine Guenet's avatar
      [FIX] web_editor: properly position image handle in product configurator · f5c269db
      Antoine Guenet authored
      The image handle (grey overlay over the image) was not properly
      repositioning on scroll in the product configurator (a side effect of
      not having a popover).
      
      closes odoo/odoo#31226
      f5c269db
    • Antoine Guenet's avatar
      [FIX] web_editor: stop wrapping text in p on delete in anchor · d9a77bd8
      Antoine Guenet authored
      This notably fixes a bug with the accordion snippet (website) where
      selecting a title and typing seemed to add a newline.
      
      closes odoo/odoo#31222
      d9a77bd8
    • David Monjoie's avatar
      [IMP] base,doc: add scales attribute to gantt view · addeae99
      David Monjoie authored
      closes odoo/odoo#31210
      addeae99
    • David Monjoie's avatar
      [IMP] base,doc: add offset attribute · 7c48315d
      David Monjoie authored
      Depending on the scale, the number of units to add to today to
      compute the default period. Examples: An offset of +1 in default_scale
      week will open the gantt view for next week, and an offset of -2 in
      default_scale month will open the gantt view of 2 months ago.
      7c48315d
  2. Feb 18, 2019
    • Antoine Guenet's avatar
      [FIX] web_editor: remove invisible space on insert media where forbidden · 1f4b606a
      Antoine Guenet authored
      The web editor inserts zero-width characters (unicode 200B) around media
      when inserting them in the DOM so as to be able to edit before and after
      said media (contenteditable caveat). It should however not do so in fake
      not-editable nodes - such as the navbar - given that we do not expect to
      edit in them but only to replace the media. This ensures that behaviour.
      
      closes odoo/odoo#31200
      1f4b606a
  3. Feb 19, 2019
    • Christophe Monniez's avatar
      [IMP] tests: replace browser_js success and failure strings · fec86404
      Christophe Monniez authored
      When evaluating js tests using the browser_js method, they are
      considered a success when 'ok' is found in the console log and a failure
      if 'error' is found instead.
      
      This is not very robust and recently failed with this commit : 7410de11
      It adds a filter named 'Error' in a view, when the 'click_all' test
      clicks on this filter, a message with the name of the filter is written
      in the console, wrongly leading to a test failure.
      
      With this commit, the browser_js method expects a log message in the
      browser console with the explicit text "test successful".
      On the other hand, any error in the console log will lead to a test
      failure but a test can be forced to fail with the explicit error message
      in the browser console "test failed".
      
      As a bonus, the python logger should now also log browser js trace messages.
      
      closes odoo/odoo#31158
      fec86404
    • Robot Odoo's avatar
      [FIX] website_slides: hide publish widget if user cannot publish · 83e6faf9
      Robot Odoo authored
      Purpose
      =======
      
      The "publish/unpublish" widget is always shown on slide.channel/slide.slide for
      a website_publisher user even if he's not allowed to manage the publishing of
      the channel (see slide.channel.can_publish field).
      
      This commit will hide the widget on both the slide.channel and the slide.slide frontend
      pages if the user doesn't have the right to publish/unpublish. A generic solution
      implemented directly in the publish mixin has been chosen to ease understanding
      and allow easy reuse in other applications.
      
      Commit linked to task ID 1902304 (main elearning task).
      
      closes odoo/odoo#31187
      Unverified
      83e6faf9
    • Robot Odoo's avatar
      [FIX] doc: build errors & some warnings · d56402a5
      Robot Odoo authored
      closes odoo/odoo#30835
      Unverified
      d56402a5
    • Aurélien Warnon's avatar
      [FIX] website_slides: handle publishing rights of channel/slide · 3c88e75c
      Aurélien Warnon authored
      Purpose
      =======
      
      Handle publishing of the slide.slide/slide.channel accordingly to the new
      'can_publish' field in the website published mixin.
      3c88e75c
    • Aurélien Warnon's avatar
      [IMP] website: add a field to handle publish rights for publish mixin · 91696805
      Aurélien Warnon authored
      Purpose
      =======
      
      The "publish/unpublish" widget is always shown on the frontend as long as the user
      is a website_publisher and the object has a "website_published" field.
      
      In some modules (namely website_slides) we need to handle a more refined level of access.
      
      This commit adds a "can_publish" computed field that can be overridden to add some additional
      access rules to the object and hide the widget if the user doesn't have the rights to
      publish/unpublish.
      91696805
  4. Feb 18, 2019
  5. Feb 15, 2019
    • Juhil Somaiya's avatar
      [IMP] mail_bot: Blocked notification alert to User · 02eebe15
      Juhil Somaiya authored
      If user has blocked odoo push notifications
      then there's no way to enable via the OdooBot notification in the systray as it depends on the navigator
      so display the alert message under users preference section.
      
      Related Task ID: 1929547
      
      closes odoo/odoo#30496
      02eebe15
  6. Feb 18, 2019
  7. Feb 12, 2019
  8. Feb 18, 2019
  9. Feb 15, 2019
Loading