1. 16 Mar, 2021 3 commits
    • Arnaud Fontaine's avatar
      RFC: ERP5Workflow: Existing Workflow PythonScript should not require any change. · eece41db
      Arnaud Fontaine authored
      * Add WORKFLOW.{scripts,transitions...} property which is just a ComputedAttribute
        returning a dict (TODO: Instead of a dict, this should be ContainerTab to have
        objectIds()...).
      
      * Allow a Workflow Script to call another one by overriding portal_workflow.__getattr__.
        With DCWorkflow, `container` was bound to its parent (WORKFLOW.scripts which is a
        mapping), but now `container` is bound to the WORKFLOW itself as Transitions, Scripts
        and Variables are all at the same level. This is not very efficient but this is only
        in DCWorkflow compatibility mode after all.
      
        The initial implementation was creating a `ScriptContext`, a temporary object with
        all scripts of the current Workflow added. However, this required changing existing
        Workflow Script code and especially this did not work with the following use case:
        1. Script Context is created before calling a Workflow Script.
        2. That script calls a Workflow Script from another Workflow.
           => This will fail as ScriptContext is only created for the Workflow.
      eece41db
    • Arnaud Fontaine's avatar
      WIP: Merge erp5_workflow into erp5_core. · db090455
      Arnaud Fontaine authored
      Ignore for now the differences between ERP5Workflow implemented for Configurator
      a long time ago and "new" ERP5Workflow.
      db090455
    • Arnaud Fontaine's avatar
      WIP: ERP5Workflow: DC Workflows are now ERP5 object and migrated to ERP5Workflow. · ee567550
      Arnaud Fontaine authored
      Work done by Wenjie Zheng, Isabelle Vallet, Sebastien Robin and myself.
      ee567550
  2. 18 Feb, 2021 1 commit
  3. 09 Feb, 2021 1 commit
  4. 29 Jan, 2021 1 commit
  5. 28 Jan, 2021 1 commit
  6. 26 Jan, 2021 1 commit
  7. 30 Nov, 2020 1 commit
  8. 26 Nov, 2020 15 commits
  9. 23 Nov, 2020 2 commits
  10. 17 Nov, 2020 4 commits
  11. 13 Nov, 2020 2 commits
  12. 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
  13. 11 Nov, 2020 1 commit
  14. 09 Nov, 2020 1 commit
  15. 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
  16. 04 Nov, 2020 3 commits