1. 07 Apr, 2020 1 commit
    • Arnaud Fontaine's avatar
      newTemp*() deprecation (1bce8563, 04b49859): Remove hack in... · 7bea7bb2
      Arnaud Fontaine authored
      newTemp*() deprecation (1bce8563, 04b49859): Remove hack in NotificationTool.sendMessage() not working with ZODB Components.
      
      When a Portal Type could not be found, sendMessage() was creating a temp_object
      instead (even when passing store_as_event=True) by calling newTempPORTAL_TYPE()
      and thus assuming a filesystem Document. So from now on, Portal Type must be
      available and thus sendMessage() will fail otherwise. Moreover, if store_as_event
      is True, this will no longer create a temp_object silently as it used to when
      the Portal Type is not available.
      
      This moves Mail Message Portal Type from erp5_crm to erp5_base as MailMessage_send
      (send() being called directly from sendMessage() for temp_object) is already
      in erp5_base. As this is only to allow creating temp_object, leave its Actions,
      Workflows and Constraint relying on erp5_crm API as they are.
      7bea7bb2
  2. 06 Apr, 2020 2 commits
  3. 03 Apr, 2020 7 commits
  4. 02 Apr, 2020 3 commits
  5. 01 Apr, 2020 3 commits
    • Georgios Dagkakis's avatar
      erp5_web: remove python:here.isXXX() * 'checked' tales expressions · 617258d9
      Georgios Dagkakis authored
      These conditions were added many years ago and they should not be needed
      since checkboxes work without this extra complexity
      617258d9
    • Jérome Perrin's avatar
      Make coding style install less business templates · 4558c52d
      Jérome Perrin authored
      Move `BusinessTemplate_getPythonSourceCodeMessageList` to `erp5_core`, so that coding style tests don't need to install `erp5_administration` and all its dependencies.
      
      `erp5_core` is not the final place for this, because this is not required to for business template bootstrap, but this is temporary until we finish business template reorganisation.
      
      This revealed several problems of wrong dependencies between business templates that we could not see before, when coding style was installing too many business templates such as `erp5_pdm`, `erp5_trade`, `erp5_simulation`, `erp5_project`.
      
      See merge request !1089
      4558c52d
    • Arnaud Fontaine's avatar
      ZODB Components: Interface Component: pylint was incorrectly emitting: `W:... · b78241cd
      Arnaud Fontaine authored
      ZODB Components: Interface Component: pylint was incorrectly emitting: `W: __init__ method from base class is not called`.
      b78241cd
  6. 31 Mar, 2020 9 commits
  7. 30 Mar, 2020 9 commits
  8. 27 Mar, 2020 6 commits