Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !903

WIP: ERP5Type: getTypeBasedMethod for init_script

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Arnaud Fontaine requested to merge arnau-TM-getTypeBasedMethod-for-init_script into master Jul 04, 2019
  • Overview 16
  • Commits 1
  • Pipelines 0
  • Changes 3

While preparing ERP5 upgrade for my customer, I noticed that their patch bt5 defines several XXX_init Python Script to customize behavior and I thought it would be great to have an afterClone-like getTypeBasedMethod for init_script too and thus this would get rid of many patched Portal Types.

Furthermore, there are several commits in erp5.git adding XXX_init Python Script doing the same thing so it seems I'm not the only one who could benefit from such feature.

Unit Tests passed with these changes.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: arnau-TM-getTypeBasedMethod-for-init_script
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7