Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 141
    • Merge requests 141
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !903

Closed
Created Jul 04, 2019 by Arnaud Fontaine@arnauDeveloper
  • Report abuse
Report abuse

WIP: ERP5Type: getTypeBasedMethod for init_script

  • Overview 16
  • Commits 1
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: arnau-TM-getTypeBasedMethod-for-init_script
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7