ssossossosso

Forums

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

This topic contains 3 replies, has 2 voices, and was last updated by Stepan Yudin Stepan Yudin 1 year, 2 months ago.

  • Creator
    Topic
  • #22219
    Stepan Yudin
    Stepan Yudin
    Participant

    Good day everyone.

    I need set default value for owner field in vendor datagrid (for example in sales-lead-grid)
    The filter has following definition:

    I created datagrid listener and added ‘default’ block to datagrid definition:

    But owner filter is still filled with ‘All’ value by default.
    This approach works with simple text field, but not with this one.

    What am i doing wrong?


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #22220
    Stepan Yudin
    Stepan Yudin
    Participant

    Interesting. It works if i convert current user ID to string like that:


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

    #22428
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    Also you can look at default lead view.

    #22437
    Stepan Yudin
    Stepan Yudin
    Participant

    Great, thank you Mike!


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

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

You must be logged in to reply to this topic.