Forums

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

Forums OroCommerce Workflow : Form empty

This topic contains 4 replies, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 2 weeks, 3 days ago.

  • Creator
    Topic
  • #37534

    Guillaume Deneux
    Participant

    Hello,

    I added custom fields to the “Request For Quote” entity and selected them in a RFQ workflow transition. But when we run the workflow, we arrive at the transition with an empty form. If I select a native field of the entity, it is displayed. The problem is therefore with fields added by hand.

    Is it a bug or have I to do something else to get these fields?

    An example of fields added to the file :
    src/Custom/RFPBundle/Resources/config/oro/workflows/b2b_rfq_frontoffice_default_custom.yml

    Attributes.yml

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #37536

    Guillaume Deneux
    Participant

    If I replace :

    by

    I have a field but i lose the field relation entity.

    #37550

    Guillaume Deneux
    Participant

    I’m still stuck on this problem, if anyone had an idea to submit I would be very happy.

    #37560

    Guillaume Deneux
    Participant

    I found the reason after a long search :

    vendor/oro/commerce/src/Oro/Bundle/RFPBundle/Acl/Voter/FrontendRequestVoter.php:84

    if anyone could explain to me the relationship between “b2b_rfq_frontoffice_flow” and the display of my fields in my form I would be delighted to understand it.

    thank you

    #37563
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    It doesn’t look like above Voter is related to your issue.

    To provide default values for the workflow form we use another approach.
    Try to add after attribute_fields

    As it’s described at the documentation https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/ActionBundle/Resources/doc/configuration-reference.md#form-options-configuration

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

You must be logged in to reply to this topic.

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

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com