Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM How to remove the default sub entity in the initial create view?

This topic contains 1 reply, has 2 voices, and was last updated by  igalayev 4 months ago.

  • Creator
  • #30887


    I’m implementing one-to-many relationship bewteen opportunity and interested product. It’s almost done. But I found that the interested product entity is always initialized as 1 in the create opportunity page. By default, there should be no interested product entity in a opportunity.

    I tried the following setting with empty_data but doesn’t work

    also the empty_data in CollectionType

    however, I still see the default product interest form displayed in create opportunity page. Is there an option can help setup this?

    Thank you in advance!

Viewing 1 replies (of 1 total)
  • Author
  • #30888


    Hi, it seems that you need many-to-many relation if an opportunity can have a collection of interested products.
    Otherwise, if opportunity refers to only one product it’s a bit confusing why collection for type is used.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No