1. 01 Oct, 2020 1 commit
  2. 29 Sep, 2020 5 commits
  3. 28 Sep, 2020 4 commits
    • Arnaud Fontaine's avatar
      ZODB Components: Products import compatibility (MR !1271). · 5fea47d1
      Arnaud Fontaine authored
      This implements Products import compatibility based on Component.source_reference
      using existing import hooks so that Products.ERP5.Document.Person for example
      is importable (actually returning erp5.component.document.Person module).
      
      This only works with non-FS modules (IOW when the ZODB is accessible and
      portal.portal_components is available).
      5fea47d1
    • Jérome Perrin's avatar
      testXHTML: fix business template installation order · 08b48c6f
      Jérome Perrin authored
      This test (just like all legacy filesystem tests) does not use business
      template dependencies but just install business templates in the order from
      getBusinessTemplateList, but business templates are not listed in correct
      order.
      
      It use to be OK (which warnings), but erp5_test_result can no longer be
      installed without erp5_project, so review installation order to install
      erp5_project earlier.
      08b48c6f
    • Tatuya Kamada's avatar
      f97e908a
    • Tatuya Kamada's avatar
      erp5_tabular_data_tool: Add portal_tabular (Tabular Data Tool) · 43affc49
      Tatuya Kamada authored
      Tabular Data Tool is a Tool to handle tabular data (2-dimentional table data)
      in erp5.
      The tabular data type is currently a plain pandas DataFrame. It is intended to
      use with ERP5 Reports to create spread sheets (ODS/Excel).
      
      With Tabular Data Tool, we can do those things on reporting:
      
      - transform dict-list, portal-catalog-result and document-list into a tabular data
      - joining/grouping/sorting the tabular data
      - using vectorizing function to optimise time consuming reports
      43affc49
  4. 25 Sep, 2020 22 commits
  5. 24 Sep, 2020 5 commits
  6. 23 Sep, 2020 3 commits
    • Jérome Perrin's avatar
      forge: fix random failures with testTemplateTool · ef4060d7
      Jérome Perrin authored
      getRepositoryList contain all business template repositories, ie:
      
            ['/srv/slapgrid/slappart4/srv/slapos/soft/c63ba7265399450b28f9ea6d5667a5e7/parts/erp5-doc/bt5',
             '/srv/slapgrid/slappart4/srv/slapos/soft/c63ba7265399450b28f9ea6d5667a5e7/parts/erp5/bt5',
             '/srv/slapgrid/slappart4/srv/slapos/soft/c63ba7265399450b28f9ea6d5667a5e7/parts/erp5/product/ERP5/bootstrap',
             '/srv/slapgrid/slappart4/srv/slapos/soft/c63ba7265399450b28f9ea6d5667a5e7/parts/erp5-bin/bt5']
      
      it seems in random order.
      
      Test was written to use the one from parts/erp5/bt5, but since it just
      takes "anything which does not contain bootstrap" it was sometimes getting
      erp5-bin or erp5-doc and could not find erp5_configurator_standard business
      template.
      
      Change the selection of the repository to take into account that we may also
      have erp5-doc and erp5-bin and so that it fails if more than one.
      ef4060d7
    • Jérome Perrin's avatar
      patches/Restricted: allow random.Random · b512c173
      Jérome Perrin authored
      all member of random module are available (because in ZopeGuards, there's a
      random.__allow_access_to_unprotected_subobjects__ = 1), SystemRandom class
      also is, but Random class was not, even though there should be nothing unsafe
      in this.
      
      This is needed if we want to use a random number generator with a fixed seed
      to get reproductible results. We could use random.seed module level function
      but since this is also used by several things in ERP5 this does not produce
      reproductible sequences.
      b512c173
    • Jérome Perrin's avatar
      Enable coding style for scalability test · cba1f0e2
      Jérome Perrin authored
      See merge request !1265
      cba1f0e2