1. 30 Jun, 2020 4 commits
    • Jérome Perrin's avatar
      configurator_standard: use more recent category spreadsheet · 8fb5c60c
      Jérome Perrin authored
      We use to have consulting_configurator_sample_categories.ods and
      standard_category.ods . standard_category.ods was more complete, it contained
      standard_category.ods that was missing in
      consulting_configurator_sample_categories.ods .
      
      Now standard_category.ods no longer contain "standard" categories, these
      categories are now installed by business template, so update
      consulting_configurator_sample_categories.ods to the content of
      standard_category.ods with all categories (ie. before remove them all in
      5e0091a6 )
      8fb5c60c
    • Jérome Perrin's avatar
      configurator_standard: include test category spreadsheet · 312a31f5
      Jérome Perrin authored
      Use same spreadsheet for all consulting configurator tests
      312a31f5
    • Jérome Perrin's avatar
      configurator_standard_categories: add missing unit conversion group · 75a6d35e
      Jérome Perrin authored
      When there's only one quantity unit in the group a conversion group, one
      definition is needed (this might be a bug).
      75a6d35e
    • Jérome Perrin's avatar
      configuration_standard: use erp5_configurator_standard_categories · 62c43730
      Jérome Perrin authored
      Instead of using a spreadsheet for categories, use
      erp5_configurator_standard_categories business template.
      
      This business template also configures quantity unit definition in the
      new way and no longer use obsolete way of setting quantity property on
      quantity unit categories.
      
      The included spreadsheet is still used, but all categories except group and
      site have been removed, it now only contain group/my_group and site/main.
      62c43730
  2. 29 Jun, 2020 11 commits
  3. 26 Jun, 2020 2 commits
  4. 25 Jun, 2020 2 commits
    • Arnaud Fontaine's avatar
      ZODB Components: Fix pylint warning. · c8e12a94
      Arnaud Fontaine authored
      W: Dangerous default value _MARKER (__builtin__.list) as argument (dangerous-default-value)
      c8e12a94
    • Nicolas Wavrant's avatar
      erp5_trade: move the composition cache in BusinessProcess.py · e5587493
      Nicolas Wavrant authored
      Since BusinessProcess.py was moved to portal_components, the cache in mixin/composition.py,
      which was kept at the level of the zope process, was causing issue when portal_components
      was reset : the classes kept in __class_cache would not get resetted, and later calls
      to asComposedDocument would reuse them. In consequence, these classes would kept pointers
      to objects in the old class BusinessProcess, causing bugs as these objects would have
      been cleaned by the reset.
      
      The first intuition was to remove this cache, unfortunately the reason of this introduction
      (fixing a memory leak) is still valid nowadays, so I've decided to move this cache within
      BusinessProcess, as it has the advantage of emptying it whenever portal_components is resetted.
      
      For more information of the bug mentionned above, and the trials about removing the cache can
      be found in the discussion of this MR :
      !1032
      e5587493
  5. 24 Jun, 2020 3 commits
  6. 23 Jun, 2020 14 commits
  7. 22 Jun, 2020 4 commits