Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Merge requests
  • !387

Merged
Created Mar 16, 2018 by Administrator@rootMaintainer

6196 add custom fields on companies

  • Overview 0
  • Commits 3
  • Changes 16

Created by: zog

⚠️ Dépend de https://github.com/af83/stif-boiv/pull/374

Code a exécuter dans la console:

CustomField.create resource_type: "Company", field_type: :list, options: {list_values: ["propre", "sous-traitant", "franchise", "partenaire", "distribution croisée", "offre combinée", "sous-traitant V2"]}, workgroup: Workgroup.last, code: :type, name: "Type"
CustomField.create resource_type: "Company", field_type: :string, workgroup: Workgroup.last, code: :public_name, name: "Nom Public"
CustomField.create resource_type: "Company", field_type: :string, workgroup: Workgroup.last, code: :referent_name, name: "Nom Du Référent"
CustomField.create resource_type: "Company", field_type: :string, workgroup: Workgroup.last, code: :address, name: "Adresse"
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: 6196-ad-custom-fields-on-companies