OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Remove a Field from a bundle

This topic contains 2 replies, has 2 voices, and was last updated by  hurricane 7 years, 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #28916

    mikeboski
    Participant

    I have a client that wants to remove some of the Fields from the vendor/oro/crm/src/OroCRM/Bundle/CallBundle
    I completely removed every reference of PhoneNumber.
    As wanted it does not show up in grid view or New Call View or edit view.
    However it still shows up in the Entity Manager.

    I’ve tried a bunch of commands I found in the forums/docs:
    app/console oro:entity-config:update –force
    php app/console cache:clear
    php app/console doctrine:schema:update –force
    php app/console doctrine:schema:update –dump-sql
    php app/console doctrine:cache:clear-metadata

    any ideas thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #28917

    mikeboski
    Participant

    I removed the phoneNumber from that folder vendor/oro/crm/src/OroCRM/Bundle/CallBundle only

    #28918

    hurricane
    Participant

    Hi @mikeboski,

    It is not a good idea to remove this field from vendor folder. This is a system field, and should not be removed.
    As I understand, you need the similar activity as Call. So as solution you can create your custom activity ActivityBundle/README.md.

    Best Regards,
    Denis Voronin

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

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top