ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 7 replies, has 3 voices, and was last updated by Artem Liubeznyi Artem Liubeznyi 9 months, 3 weeks ago.

  • Creator
    Topic
  • #23646
    Anton
    Anton
    Participant

    Currently contact source has TV, Website, but I would like to add additional sources.

    How do I do this? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #23668
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    I suggest you create new migration in your custom bundle similar to this with your new options https://github.com/orocrm/crm/blob/master/src/Oro/Bundle/ContactBundle/Migrations/Data/ORM/LoadSourceData.php

    #23670
    Anton
    Anton
    Participant

    Do you think I can use an ftp manager to edit that .php file directly, adding my options, and not break oro?

    #23691
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    If oro is installed that migration has already been executed and never executed again, you should create new migration in your custom bundle. You can read how to create it and run. I suggest you do database backup before any system update.

    #24622
    Anton
    Anton
    Participant

    I was quote this as a 6 to 8 hour project.

    I see that lead sources can be changed easily through the UI. I really think contact source should be just as easy.

    Perhaps the estimate was wrong. How long do you anticipate a new oro migration would take to create and run?

    Thanks

    #24632
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Lead source field you can easily modify because it is ‘select’ field of Lead, but contact source is not select field. New bundle&migration take i think ~1-2h

    #24633
    Anton
    Anton
    Participant

    Ok thanks for the help

    #24634
    Artem Liubeznyi
    Artem Liubeznyi
    Oro Core

    @Anton, if you are willing to contribute the migration to our CRM master, it will be greatly appreciated. We already had a couple of requests to transform our old dictionary fields to option sets that can be managed from the UI.

    We have this task in the backlog as well, but a hand from the community will be great.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.