1. 08 Dec, 2020 3 commits
  2. 30 Nov, 2020 1 commit
  3. 26 Nov, 2020 15 commits
  4. 23 Nov, 2020 2 commits
  5. 17 Nov, 2020 4 commits
  6. 13 Nov, 2020 2 commits
  7. 12 Nov, 2020 1 commit
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: wait a bit longer for Xvfb to start · 6708c75a
      Jérome Perrin authored
      When running on testnode, runUniTest is responsible for picking a free $DISPLAY.
      This is implemented by starting Xvfb on a $DISPLAY, waiting a bit and if it is
      still running we assume the $DISPLAY was free. But it seems sometimes we don't
      wait enough, when testnodes are overloaded.
      
      This implementation is wrong, we could run a command check that X is running,
      but as explained in the code command below, xdpyinfo or other tools are
      currently not available in test environment. Since we are considering switching
      this to seleniumserver (which would take care of running a X Server for us) so
      this is OK for now.
      6708c75a
  8. 11 Nov, 2020 1 commit
  9. 09 Nov, 2020 1 commit
  10. 05 Nov, 2020 2 commits
    • Jérome Perrin's avatar
      Related keys for translated relations · 7b434341
      Jérome Perrin authored
      Implement related keys for translated relations (like `source__translated__title`) and change content translation to index categories, by also indexing types whose translation is set in Localizer.
      
      See merge request nexedi/erp5!1292
      7b434341
    • Jérome Perrin's avatar
      Stock report valuation · 3530f7c6
      Jérome Perrin authored
      Extend stock report dialog to allow choosing a (simple) valuation method
      
      ![stock report dialog screenshot](/uploads/2e0fa7c420954c3f84260605b3a6930e/image.png)
      
      which be displayed in a new column, showing the inventory value for each line
      
      See merge request nexedi/erp5!1203
      3530f7c6
  11. 04 Nov, 2020 6 commits
  12. 29 Oct, 2020 2 commits
    • Jérome Perrin's avatar
      content_translation: Also index translations from message catalogs · f14811fa
      Jérome Perrin authored
      Now that we are able to search using content translation, we also want
      to extend this so that columns like "group__title" can be searchable in listboxs,
      but categories are usually translated with `erp5_content`, which was not indexed
      in content_translation table.
      
      Extend content translation indexing to also support translations coming from
      Localizer catalog make this possible.
      
      The only limitation I could think of is that categories will need to be reindexed
      when the messages are modified in catalog.
      f14811fa
    • Jérome Perrin's avatar
      ERP5Catalog/content_translation: support translated related keys · aee8bcac
      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.
      aee8bcac