1. 28 Jun, 2017 13 commits
  2. 26 Jun, 2017 3 commits
    • Jérome Perrin's avatar
      accounting: review AccountModule_getAvailableGapList · 7859a03f
      Jérome Perrin authored
      * Remove include_empty_item: We always want an empty item in dialogs
      * Remove include_gap_in_path: This was always true
      
      simplify code a little bit.
      7859a03f
    • Jérome Perrin's avatar
      fixup! accounting: translate GAP category in account view · d1bd710e
      Jérome Perrin authored
      * There was another level of cache in Account_hashGapItemList
      * Category title was used in AccountModule_getAvailableGapList
      d1bd710e
    • Vincent Pelletier's avatar
      MemcachedTool: Pool memcache.Client instances · d9c996fd
      Vincent Pelletier authored
      Unlike other database adaptors, memcache adaptors can be shared among
      transactions. So pool them in order to reduce the number of connections
      established to memcached servers. And as the connections handle
      thread-safety internally (by inheriting from threading.local), threads
      can share the same connection instance.
      Also, do not create a new connector each time we get disconnected, just
      reconnect.
      Also, memcached internally retries connection, so no need to retry it
      ourselves.
      Also, do not log when failing to update & delete entries in cache
      server: this is a racy cache, each read much be checked anyway, so
      failed writes are just business as usual.
      Also, document a bit more why we catch "any" exception happening during
      finish, and specify base exception class following python coding best
      practices.
      Also, use named constant for loggin levels for remaining log directives.
      Also, display traceback when catching a connection issue during
      __getitem__, as the original exception gets converted into a KeyError.
      d9c996fd
  3. 23 Jun, 2017 4 commits
    • Jérome Perrin's avatar
      bdc4326e
    • Vincent Bechu's avatar
      erp5_officejs: add audioplayer app with export zip · d6665300
      Vincent Bechu authored
      /reviewed-on !305
      d6665300
    • Jérome Perrin's avatar
      Accounting: better selection of bank account on payment transaction · 02a31024
      Jérome Perrin authored
      This includes two parts, first is to change the condition for an organisation to be able to use the bank accounts from organisations from parent groups. This is useful for the case where organisations from subgroups does not represent different legal entities but simply some "business units". 
      
      The condition for that have always been: if organisation does not contain bank account, this organisation can use bank accounts from the parent groups.
      
      To be consistent with other places, such a closing accounting periods or setting grouping references, change the condition to: if the organisation does not contain accounting periods, this organisation can use bank accounts from parent organisations.
      
      The behavior should not change much and allow to create bank accounts or cash registers that can be used only in one sub-group organisation.
      
      
      Second part is about making it visually easier to understand which organisation the bank account belong to by adding some non-selectable options in the select for the organisations. This is only enabled when available bank accounts are not all contained in the same organisation.
      
      ![Screenshot_2017-06-19_at_15.24.35](/uploads/dc538645bb79a00f25444547d524635f/Screenshot_2017-06-19_at_15.24.35.png)
      
      /reviewed-on nexedi/erp5!299
      02a31024
    • Jérome Perrin's avatar
      Fix bank reconciliation with multiple sections using the same bank account · 29b72bb5
      Jérome Perrin authored
      This is fix for #20170614-26135D "Bank Reconciliation only show transactions for the selected organisation"
      
      At the same time, we stop using `portal_catalog.getObject` in `erp5_bank_reconciliation`.
      
      /reviewed-on nexedi/erp5!297
      29b72bb5
  4. 22 Jun, 2017 5 commits
  5. 21 Jun, 2017 6 commits
  6. 20 Jun, 2017 3 commits
  7. 19 Jun, 2017 6 commits