OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions How Do I Override "mode" config in oro_entity_config for Customer Entity?

This topic contains 0 replies, has 1 voice, and was last updated by  roberto.briones 5 years, 2 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
  • #38174

    roberto.briones
    Participant

    Right now I have in the table oro_entity_config a field Oro\Bundle\SalesBundle\Entity\Customer with the value hidden in the column mode.

    I realize that this affects in the Emails Templates section not being able to use the Customer Entity in the templates.

    I tried to change manually the value of the column mode to default instead of hidden and that solved the problem in the templates but after running the migrations commands it reset the field to hidden again.

    I checked the file vendor/oro/crm/src/Oro/Bundle/SalesBundle/Entity/Customer.php and it has the following annotation:

    The question is how can I override the “mode” to put the value “default”? Is even a way to do it? Thanks in advance.

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

Back to top