1. 14 Feb, 2019 3 commits
  2. 13 Feb, 2019 2 commits
    • Ayush Tiwari's avatar
      f75b7c3b
    • Arnaud Fontaine's avatar
      ZODB Components: Backward compatibility with instances before ZODB Interfaces/Mixins (e84d2b51). · 20fcbf6e
      Arnaud Fontaine authored
      e84d2b51 introduced template_{interface,mixin}_id BusinessTemplate properties
      in erp5_property_sheets without keeping backward compatibility and thus
      preventing update:
        Module Products.ERP5.Tool.TemplateTool, line 1446, in upgradeSite
          update_catalog=update_catalog)
        Module Products.ERP5.Tool.TemplateTool, line 1289, in updateBusinessTemplateFromUrl
          imported_bt5 = self.download(url = download_url, id = id)
        Module Products.ERP5.Tool.TemplateTool, line 382, in download
          bt = self._download_local(path, id)
        Module Products.ERP5.Tool.TemplateTool, line 328, in _download_local
          bt.importFile(path)
        Module Products.ERP5.Document.BusinessTemplate, line 5887, in importFile
          self.storeTemplateItemData()
        Module Products.ERP5.Document.BusinessTemplate, line 5165, in storeTemplateItemData
          InterfaceTemplateItem(self.getTemplateInterfaceIdList())
      AttributeError: getTemplateInterfaceIdList
      20fcbf6e
  3. 12 Feb, 2019 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and... · e84d2b51
      Arnaud Fontaine authored
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and Interface (erp5.component.interface).
      
      * One Mixin/Interface class per ZODB Component.
        => Already the case for FS Mixin, not for Interfaces.
      * ZODB Components module name ('reference' property) and class name:
        + Mixin: FooMixin.
        + Interface: IFoo.
      
      Rationale:
        + Avoid current FS hacks: registry (Mixins, mixin_class_registry) or import
          all classes explicitly in __init__.py (Products.ERP5Type.interfaces).
        + Consistent naming.
        + Consistent with ZODB Documents Components.
      
      Also, modify pylint checker to handle Zope Interfaces:
        + E: 4, 0: Inheriting 'Interface', which is not a class. (inherit-non-class)
        + E: 5, 2: Method has no argument (no-method-argument)
      e84d2b51
  4. 11 Feb, 2019 3 commits
  5. 08 Feb, 2019 1 commit
  6. 07 Feb, 2019 4 commits
  7. 04 Feb, 2019 10 commits
  8. 01 Feb, 2019 2 commits
  9. 31 Jan, 2019 2 commits
  10. 29 Jan, 2019 2 commits
  11. 28 Jan, 2019 1 commit
  12. 25 Jan, 2019 2 commits
  13. 21 Jan, 2019 5 commits
  14. 18 Jan, 2019 2 commits