1. 21 Dec, 2018 5 commits
    • Alain Takoudjou's avatar
      Apply commit: Disallow any compensation. · 26014b17
      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)
      26014b17
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · d0a36a0f
      Ł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.
      d0a36a0f
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · 0570df87
      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
      0570df87
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · 947110b3
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      947110b3
    • Romain Courteaud's avatar
      [erp5_web_renderjs_ui] Move include/exclude logic into form_list gadget · 9de61fa2
      Romain Courteaud authored
      Next step is to activate more contextual listbox actions.
      
      Move listbox select button to the right, to simplify cancellation.
      9de61fa2
  2. 20 Dec, 2018 2 commits
  3. 17 Dec, 2018 4 commits
  4. 14 Dec, 2018 2 commits
  5. 13 Dec, 2018 1 commit
    • Arnaud Fontaine's avatar
      Revert "mark file uploading tests as expected failure." as these Functional... · dd528bae
      Arnaud Fontaine authored
      Revert "mark file uploading tests as expected failure." as these Functional Tests are not supposed to fail.
      
      This reverts commit ade16831.
      
      enablePrivilege, and thus UniversalFileRead used to upload files, was disabled
      in Firefox 17. Since SlapOS Firefox has been upgraded, "The operation is insecure"
      error is raised when uploading files. However, this doesn't mean that these tests
      should be expected to fail (and if they are, they should be removed instead).
      dd528bae
  6. 12 Dec, 2018 1 commit
    • Jérome Perrin's avatar
      accounting: restrict restarting accounting period to Assignor · 366a760e
      Jérome Perrin authored
      This workflow involved an Assignee who can open, close, re-open and an
      Assignor who can close definitively.
      This is usually configured so that accountants are Assignee and CFO is
      Assignor.
      
      We realized that re-opening a Period that was previously closed is
      something we don't want the accountants to do without CFO's approval.
      
      To support this configuration, we only allow Assignor to re-open.
      
      Now Assignee can open and close temporarily and Assignor can re-open and
      close definitively.
      
      /reviewed-on nexedi/erp5!813
      366a760e
  7. 11 Dec, 2018 4 commits
  8. 10 Dec, 2018 5 commits
  9. 07 Dec, 2018 2 commits
    • Ayush Tiwari's avatar
      [erp5_core] Follow guidelines for Actions on portal types Catalog and Catalog... · 0b649664
      Ayush Tiwari authored
      [erp5_core] Follow guidelines for Actions on portal types Catalog and Catalog Tool by adding dialog before executing
      
      Also, Cleanup useless actions and functions
      
      /reviewed-on nexedi/erp5!811
      0b649664
    • Jérome Perrin's avatar
      Configurator and workflow cleanups · a29bb541
      Jérome Perrin authored
      * Assorted small fixes so that form comply to conventions
      * Minimal fixes of invalid html
      * make `mixin` usable in type definition 
      
      The context is I was working on a custom configurator involving some matrixboxs, so I needed a simple business configuration item just to store the matrix result. This was possible with mixin, I just made a portal type based on Item class, enabling mxins for `Matrix` and `BusinessConfiguratorItem` and I did not have to define a class ( not sure this is really better ).
      
      Then the matrixbox was not rendering properly, because browser was confused by the broken html and build a "different DOM" and selectors did not apply. This is what `configurator: fix (a bit) invalid HTML` addresses.
      
      While doing this, fix some minor problems found with forms.
      
      /reviewed-on nexedi/erp5!814
      a29bb541
  10. 06 Dec, 2018 13 commits
  11. 05 Dec, 2018 1 commit