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
  • !126

WIP: inconsistent listbox proxy fields for modules

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Jérome Perrin requested to merge jerome/erp5:listbox_module_proxy_field into master Jun 09, 2016
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Since 76282344 , most modules do not have a count method anymore.

But not all of them, because we have two proxy fields for listboxs , my_list_mode_listbox and my_view_mode_module_listbox that are not used consistently.

$ git grep  my_list_mode_listbox | wc -l
196
$ git grep  my_view_mode_module_listbox | wc -l
64

According to https://www.erp5.com/erp5-HowTo.Configure.Proxy.Field/erp5-Guideline.Form.Profixification/#the-semantic-field-name-needs-to-be-associated-with-the-technical-context the technical_context_name for module listbox is list_mode, so my understanding is that modules should not use my_view_mode_module_listbox because this is not view_mode, so my_list_mode_listbox sounds better.

I am planning to change all users of my_view_mode_module_listbox to use my_list_mode_listbox , but I would like to make sure my understanding is correct and we agree on this.

/cc @seb @vpelletier @gabriel @romain @jm @kazuhiko @yusei

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