Skip to content
Snippets Groups Projects
  1. May 16, 2023
    • Florian Charlier's avatar
      [FIX] gamification: update internal users goals · fbd919f9
      Florian Charlier authored
      
      For performance reason, we avoided computing goals for the set of users
      that didn't log in recently (See ec0c0f29).
      However, users can stay logged in for a while without having a new "log
      in event" (password asked), such that active internal users can keep
      old values in their challenges when reports are sent, which is not good.
      
      Until an improvement can be implemented in master, we drop this time
      constraint for active internal users.
      
      A test is added, checking the behavior of the method called by the cron.
      
      Task-3226408
      
      closes odoo/odoo#121483
      
      X-original-commit: 6c77dd82
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      fbd919f9
  2. Nov 05, 2019
  3. Aug 22, 2018
    • Christophe Monniez's avatar
      [FIX] gamification: compute badge stats wihtout error · 3ff0948b
      Christophe Monniez authored
      Since 960360af, when computing badge stats, a datetime was compared to a
      string leading to a traceback.  e.g. when clicking in employess >
      badges.
      
      Also, due to a typo, the compute method was assigning the stats result
      to the wrong attributes.  e.g. 'stats_my_this_month' instead of
      'stat_my_this_month'.
      
      With this commit, the above mentioned issues are fixed and a test is
      covering these issues to avoid regression.
      3ff0948b
  4. Aug 05, 2016
  5. Oct 07, 2015
  6. Jun 02, 2015
  7. Apr 16, 2014
  8. Dec 24, 2013
  9. Dec 18, 2013
Loading