1. 19 Jun, 2017 3 commits
    • Jérome Perrin's avatar
      accounting: review condition to use bank account from parents group · cdb92e87
      Jérome Perrin authored
      The condition for an organisation to be able to use bank account from
      other organisations higher in the group hierarchy should not be the
      presence of bank account in this organisation, but whether or not it
      acts as an independant accounting entity, and this is defined by the
      presence of accounting periods.
      cdb92e87
    • Jérome Perrin's avatar
      Fix for "section bank account" select being empty on reports dialogs and payment transaction · 628a30a7
      Jérome Perrin authored
      Section bank account item list script was using `parent_strict_group_uid` related key but in 772033ed we removed
      `parent_strict_group_uid` related key and added support to generate
      `strict_parent_group_uid` related key.
      
       In that case, *Section Bank Account* field on payment transaction was empty  
      ![Screenshot_2017-06-16_at_18.54.33](/uploads/4f439bf14fb8b4d54df80031d281ce7a/Screenshot_2017-06-16_at_18.54.33.png) 
      
      The 
      `TypeError: Unknown columns ['parent_strict_group_uid']`
      was only in the log files, because we are still ignoring errors in TALES.
      
      I'm adding tests to cover this script, it's logic should have been tested anyway.
      
      /reviewed-on nexedi/erp5!295
      628a30a7
    • Jérome Perrin's avatar
      erp5_mysql_innodb_catalog : Normalize DELETE then INSERT indexation methods · c09bea2a
      Jérome Perrin authored
      See discussions in nexedi/erp5!257 from background.
      
      Here we try to reduce the differences in indexation methods that use `DELETE` and then `INSERT` (the one who does not always index the same number of rows).
      
      In `z_catalog_predicate_list` the `DELETE` was missing, so in the case of predicate which stopped being a predicate, that predicate was never removed from the table.
      
      
      /reviewed-on nexedi/erp5!294
      c09bea2a
  2. 16 Jun, 2017 6 commits
  3. 15 Jun, 2017 4 commits
  4. 14 Jun, 2017 7 commits
  5. 13 Jun, 2017 4 commits
  6. 12 Jun, 2017 5 commits
  7. 09 Jun, 2017 11 commits