1. 13 Oct, 2020 5 commits
    • Jérome Perrin's avatar
      ERP5Catalog/content_translation: support translated related keys · 502eb899
      Jérome Perrin authored
      Translated properties are indexed in content translation table,
      so nothing prevent us from using them in related keys. Since in
      many places we show to user translated titles in relations, it
      makes sense to also support searching and sorting in catalog.
      
      This extends related keys syntax only for the newest syntax, so
      related keys like `source__translated__title=X` would allow searching
      for document who have a source relation to a document with title X.
      
      Since any properties can be translated, if for example a property
      `foo` would exist and be translatable, it would be possible to search
      using `source__translated__foo=X`
      
      This is only available when content_translation business template
      is installed.
      502eb899
    • Jérome Perrin's avatar
      test_result: fix "Retry Count" being acquired on test result line · 7a3141b2
      Jérome Perrin authored
      At the end of test result, we calculate the sum of test result line
      retries and set it as a property on test result. Listbox will then
      show for each test result line the number of retries. Problem is
      that we did not set retry count property on test result lines which
      were not retried, so they acquired this from the parent test result.
      
      To prevent this, always set a retry count property on test result
      and set it to 0 when they are not retried.
      7a3141b2
    • Jérome Perrin's avatar
      abade4ee
    • Jérome Perrin's avatar
      testERP5Catalog: test new related key syntaxes · 91286e10
      Jérome Perrin authored
      In 4bcf5c6a (CatalogTool: Introduce new dynamic related key syntax, 2017-07-25)
      we introduced a new syntax to solve some ambiguities in the previous syntax, but
      the test suite was still testing the old syntax only.
      
      Update tests to test the new syntax and to also check the old legacy syntax.
      91286e10
    • Jérome Perrin's avatar
      testERP5Catalog: fix outdated docstring · c9976c8b
      Jérome Perrin authored
      c9976c8b
  2. 12 Oct, 2020 1 commit
  3. 08 Oct, 2020 1 commit
  4. 05 Oct, 2020 9 commits
  5. 01 Oct, 2020 3 commits
  6. 30 Sep, 2020 9 commits
  7. 29 Sep, 2020 11 commits
  8. 28 Sep, 2020 1 commit
    • 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