Skip to content
Snippets Groups Projects
  1. Jan 20, 2015
  2. Oct 07, 2014
  3. Sep 18, 2014
    • Thibault Delavallée's avatar
      [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys. · 7cad4baa
      Thibault Delavallée authored
      Indeed using fromkeys with a list / dict as argument leads to the creation
      of shared list / dict. This could create some ugly side effects when
      used in loops. This commit fixes or cleans this kind of statement to avoid
      unwanted side effects.
      7cad4baa
    • Martin Trigaux's avatar
    • Martin Trigaux's avatar
      [IMP] gamification: usability and shit · 56b3db82
      Martin Trigaux authored
      Challenge
      - 'Reward as soon as every goal is reached' box checked by default (most of the time people want this behaviour, few special cases were do not)
      - Click on challenge kanban opens goal list instead of challenge form
      - Add button 'Start Challenge' clicking on statusbar is not intuitive
      
      Badge
      - When creates a challenge from badge view, set by default badge to 'For Every Succeding User' field
      - replace filter 'Current' vs 'Passed' by 'Running' (in progress and done with not reached end date) vs 'Done' (done & failed without end date or end date passed)
      
      Goal
      - list of badge on employee form not the first tab
      56b3db82
  4. Sep 02, 2014
  5. Sep 01, 2014
    • Martin Trigaux's avatar
      [FIX] gamification: performance improvement · 40e84376
      Martin Trigaux authored
      On a large database, thousands of badges may have been granted. This code used to prefetch all fields of the users and badge users. This was highly inefficient. Replace this code by SQL query.
      40e84376
  6. Aug 13, 2014
    • Olivier Dony's avatar
      [FIX] gamification: prohibitive record rule processing with many users/goals · 7aa0376f
      Olivier Dony authored
      Due to the multi-company record rule on gamification.goal,
      each access to the Goals menu and each opening of the
      Messaging menu (thus calling get_serialised_gamification_summary())
      is extremely slow (with several thousands goals/users).
      
      Adding auto_join to the user_id FK on goals makes it much
      faster. However it causes crashes when reading the table
      because the _order of gamification.goal uses `create_date`,
      which becomes ambiguous after the auto_join with res_users.
      
      Solving this can be done by re-implementing _read_flat()
      in the ORM using the internal Query object, as in search(),
      which takes care of fully-qualifying all column names.
      
      Until this is fixed, a simple workaround is to use
      start_date in the _order instead of collision-prone `create_date`.
      7aa0376f
  7. Aug 04, 2014
  8. Jul 06, 2014
    • Raphael Collet's avatar
      [MERGE] new v8 api by rco · cbe2dbb6
      Raphael Collet authored
      A squashed merge is required as the conversion of the apiculture branch from
      bzr to git was not correctly done. The git history contains irrelevant blobs
      and commits. This branch brings a lot of changes and fixes, too many to list
      exhaustively.
      
      - New orm api, objects are now used instead of ids
      - Environements to encapsulates cr uid context while maintaining backward compatibility
      - Field compute attribute is a new object oriented way to define function fields
      - Shared browse record cache
      - New onchange protocol
      - Optional copy flag on fields
      - Documentation update
      - Dead code cleanup
      - Lots of fixes
      cbe2dbb6
  9. Jun 25, 2014
  10. Jun 17, 2014
  11. Jun 10, 2014
  12. Jun 03, 2014
    • Martin Trigaux's avatar
      [FIX] gamification: do not group on agregated field for sum · aa116544
      Martin Trigaux authored
      The read_group behaviour has changed and read_group no longer sum on the field you are grouping.
      Instead agregate on the field we want to sum and use no groupby.
      For future version, grouping on a user such as what is done in batch mode is a better way to process.
      aa116544
  13. Jun 02, 2014
  14. May 14, 2014
  15. May 12, 2014
  16. May 09, 2014
  17. May 07, 2014
  18. May 06, 2014
  19. May 02, 2014
  20. Apr 24, 2014
  21. Apr 22, 2014
  22. Apr 18, 2014
Loading