1. 22 Aug, 2016 4 commits
  2. 19 Aug, 2016 1 commit
  3. 18 Aug, 2016 1 commit
  4. 11 Aug, 2016 1 commit
    • Rafael Monnerat's avatar
      PerformanceTests: Update to the new hardware · 5a7536ce
      Rafael Monnerat authored
        Performance tests were reconfigured on a new hardware, which is slower them
        the previous one. So this commit move the values to the new hardware based on
        the results after few days of result.
      5a7536ce
  5. 10 Aug, 2016 2 commits
    • Sebastien Robin's avatar
      order builder: improve stock optimisations to handle several nodes · b1798654
      Sebastien Robin authored
      This is very helpful when a warehouse is splitted into multiple
      stock points.
      
      Also avoid returning no stock optimisations if no date could be
      found in future.
      b1798654
    • Sebastien Robin's avatar
      ERP5Type.dynamic: show up failures in __getattribute__ of lazy_class · d032411c
      Sebastien Robin authored
      If for some reasons loadClass was not working, it was failing totally
      silently without any log. If there is any unexpected error in loadClass,
      this ended up for example having some tests failing with :
      
      RuntimeError: Malformed property definition <persistent broken
      erp5.portal_type.Acquired Property instance '\x00\x00\x00\x00\x00\x00\x12\xb5'>
      on /erp5/portal_property_sheets/SimpleItem
      
      While only this was displayed in logs :
      
      ERP5Type/dynamic/lazy_class.py", line 350, in loadClass
          class_definition = generatePortalTypeClass(site, portal_type)
      ...
      AttributeError: __of__
      
      Which was totally unrelated to the real problem.
      
      So a silent initial error was the source of later unrelated errors, making
      it very difficult to find the initial source of problem.
      
      So make sure we have logs as soon as we are not able to load a class.
      d032411c
  6. 09 Aug, 2016 2 commits
  7. 04 Aug, 2016 2 commits
  8. 02 Aug, 2016 3 commits
    • Ayush Tiwari's avatar
      erp5_standard_property: Add select_variable property for Standard Property object. · 3cf4d7f7
      Ayush Tiwari authored
      This change solves the error which one gets while trying to access properties
      Form for an ERP5 object having one or more of its property of type 'selection'
      or 'multiple selection'.
      For example: If you try to access property form for any portal_type objects,
      you'll get an error : "'select_variable' is not defined". This is because of the
      absence of the property 'select_variable' for the property of type multiple selection,
      which in case of portal_type object is 'Property Sheet List'.
      
      This is helpful for ERP5 views/forms which displays selection or multiple selection
      type object.
      3cf4d7f7
    • Ayush Tiwari's avatar
    • Ayush Tiwari's avatar
      ERP5 Subcategory: Remove '_'(underscore) from 'multiple_selection' subcategory... · 1075a315
      Ayush Tiwari authored
      ERP5 Subcategory: Remove '_'(underscore) from 'multiple_selection' subcategory in elmentary_type category.
      
      Subcategory 'multiple_selection' has been renamed to 'multiple selection' to maintain consistency.
      Earlier, whenever a new StandardCategory object was created with property_type 'multiple selection',
      one needed to change the elementary type explicilty to use it to generate property setters and getters.
      The example for this can be seen from this commit:
      fd738753
      After this change, in the view, property type field couldn't recognize the property and displays
      (???multiple selection).
      
      Also, everywhere in erp5, list_types do mention 'multiple selction' and not 'multiple_selection'.
      So, its better to maintain consistency in naming the subcategory.
      1075a315
  9. 27 Jul, 2016 1 commit
  10. 25 Jul, 2016 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Fix bootstrap issue. · 5ba7e6fa
      Arnaud Fontaine authored
      When a Property Sheet with a ScriptConstraint (whose Document is a ZODB
      Component) was added to Memcached Tool: Document Component was partially
      loaded with no Property Sheet yet (and thus without the accessors needed
      to import ScriptConstraint ZODB Component) and ScriptConstraint Document
      was considered not available.
      5ba7e6fa
  11. 15 Jul, 2016 12 commits
  12. 08 Jul, 2016 2 commits
  13. 01 Jul, 2016 2 commits
    • Sebastien Robin's avatar
      erp5_test_result: stop affecting last remaining tests to all test nodes · 8c90e61c
      Sebastien Robin authored
      Up to now, once all test result lines in draft were processed,
      test result lines already started where affected to all test nodes.
      It was designed like this in case the initial affected test node was
      unable to finish is work (test node or machine could die for various
      reasons). But having a testnode dying should be rare, thus optimisation
      should not consider that this happens all the time, even though we
      must take into account that this could happen.
      
      This was leading to cases where a testnode, instead of quiting a test
      suite to process another was affected a test already affected. So it
      happened that we loosed one hour of a testnode while it could do much
      more useful work than repeating the work of another testnode.
      
      Thus, consider that testnodes are usually able to process their work,
      and make testnodes immediately work on another test suite once all tests
      of a test result are started.
      
      Then, run regularly an alarm looking for stuck test to restart them
      in order to affect work already affected only when required.
      
      This change should make the system more reactive when things are working
      (wich is the majority of time). Not working cases would still finish
      to work, but in a less reactive way. If we wait urgently for a test result
      and we see that a test is stuck, there is also possibility to unblock
      it by hand (if we do not want to wait the alarm).
      8c90e61c
    • Sebastien Robin's avatar
      simulation: simulation interactions should also be called when cloning a movement · 1cb86461
      Sebastien Robin authored
      Cloning a movement as same effect as creating a new one and editing it, so make
      sure interaction usually called when editing a movement are called when a movement
      is cloned. Otherwise we can get parts of simulation tree missing.
      1cb86461
  14. 30 Jun, 2016 3 commits
  15. 29 Jun, 2016 3 commits