1. 21 Nov, 2022 28 commits
  2. 17 Nov, 2022 9 commits
  3. 16 Nov, 2022 2 commits
    • Jérome Perrin's avatar
      *: add some missing security declaration on component code · 8be39d34
      Jérome Perrin authored
      This does not seem to be an actual problem because the object is
      declared protected, but these missing security declarations make
      testSecurity fail.
      8be39d34
    • Jérome Perrin's avatar
      testSecurity: don't skip portal_components in test_method_protection · e300e3f6
      Jérome Perrin authored
      We have been using `filter(lambda x:'/erp5/' in x[0], error_list)` as a
      way to see only missing declarations from ERP5 code, but only ERP5
      filesystem code contains /erp5/ in the filenames, in-ZODB components
      filename is set to something like <portal_components/document.erp5.FTPConnector>
      
      Change to also check methods for which filename contains <portal_components
      and also to print the ignored methods
      e300e3f6
  4. 10 Nov, 2022 1 commit
    • Jérome Perrin's avatar
      accounting: support more cases of grouping internal invoices · aebfb199
      Jérome Perrin authored
      The logic to guess groupable lines was considering source of
      destination side of an accounting transaction depending on
      preferences. This was not good, for two reasons:
       - with internal transactions we want to consider both the source
        and the destination
       - if user preferences are mis-configured, grouping would not work.
      
      switch to a logic where we consider both source and destination
      sides to prevent these problems.
      aebfb199