1. 15 Jun, 2020 10 commits
    • Rafael Monnerat's avatar
      Apply commit to Support use category for total price calculation. · 78e04516
      Rafael Monnerat authored
      Original commit from : Lukasz Nowak <luke@nexedi.com>
                             3e45ec35
      78e04516
    • Alain Takoudjou's avatar
      Apply commit: Disallow any compensation. · fc39de7a
      Alain Takoudjou authored
      From Lukasz Nowak:
      
      1- Compensation is undesired. (51c8a250)
      
        Raise loudly with message.
      
      2- Disallow any compensation. (3c74ed07)
      
      3- Emit more informative log. (534b2e77)
      fc39de7a
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · d6b99c3e
      Łukasz Nowak authored
      Also minimise activity hurricane by calling expand directly.
      
      Open Orders are searched using indexation timestamp, which allows to see them
      in "windows", and does not repeat expand if not needed.
      
      Generate activities and allow to pass the tag. Use search and activate
      everywhere which will allow to walk through objects without killing the cluster
      even in case of really big documents.
      
      Avoid calling isDivergent which can take few minutes to finish.
      
      causality_state comes from well designed causality workflow, which informs
      enough about delivery state. Fetching causality_state property is extremely
      fast.
      d6b99c3e
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · c29ba94d
      Rafael Monnerat authored
      Notes:
      
      Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as
      these interaction workflows do not generate activities directly, and do work
      that can't be postponed.
      
      By contrast, 'calculate' transition of delivery_causality_workflow is modified
      so that no 'updateCausalityState' activity is created by default.
      
      This commit also update list of method_id which should not call calculate_causality
      c29ba94d
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · f60d1a02
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      f60d1a02
    • Jérome Perrin's avatar
      Only show groups from user assignments in report dialogs · 66f398f5
      Jérome Perrin authored
      Because most of the times we configure roles so that users assigned to a group can only see documents from this group, it's a better default that in reports they can only select the groups they are affected to (and the sub categories of these groups).
      
      For more complex security configurations, the script `Base_getDialogSectionCategoryItemList` can be customised.
      
      See merge request nexedi/erp5!1136
      66f398f5
    • Jérome Perrin's avatar
      Remove split and defer action · 9dd1ca85
      Jérome Perrin authored
      "Split and Defer" action
      
      ![screenshot of split_and_defer transition](/uploads/2a9d4efc139b881bfec82a425996c659/image.png)
      
      functionality can be achieved with "Solve Divergences" action with a "Split and Defer" 
      
      ![screenshot of solve_divergence transition choosing split and defer action](/uploads/704c4713d842455c4e369a99d8f4867a/image.png)
      
      we don't need two ways of doing the same thing.
      
      This removes the workflow transitions and the dialogs and update the tests to use the "Solve Divergences" action instead.
      
      See merge request nexedi/erp5!1148
      9dd1ca85
    • Jérome Perrin's avatar
      French translations for new messages and "solve divergence" with simulation · 82824aeb
      Jérome Perrin authored
      Main goal was to make erp5_trade 100% translated, also the divergence explanations.
      
      The result of the solve divergence dialog is:
      
      ![solve divergence dialog in french](/uploads/7ba5d3fcccb58b223471566d528c5c0a/image.png)
      
      This also fixes a few small problems with existing translations
      
      See merge request nexedi/erp5!1149
      82824aeb
    • Jérome Perrin's avatar
      fix WebPage.getImplicitSuccessorValueList in the context of web site · c5a9d1df
      Jérome Perrin authored
      Fix a problem with `WebPage.getImplicitSuccessorValueList`, it did not detect references such as:
      
      ```
      <img src="reference">
      ```
      
      when the web page was in the context of a web site, because of some wrong relative URL calculations.
      
      See merge request nexedi/erp5!1153
      c5a9d1df
    • Jérome Perrin's avatar
      *: Update XML to new WorkflowHistoryList data structure · 1e2c40e2
      Jérome Perrin authored
      Following up nexedi/erp5!941 , use a script ( nexedi/erp5$444 ) to rewrite most of XML.
      
      The script was not so clever and skipped several cases that would be hard to implement.
      
      
      See merge request nexedi/erp5!1156
      1e2c40e2
  2. 12 Jun, 2020 5 commits
  3. 11 Jun, 2020 5 commits
  4. 10 Jun, 2020 1 commit
  5. 09 Jun, 2020 14 commits
  6. 08 Jun, 2020 5 commits