ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 4 months ago.

  • Creator
    Topic
  • #20760

    madlexx
    Participant

    I created a new mass-action for order-items-grid in orocrmmagentobundle. But have a little bug, when selected only one item and executed delete mass action I get a error ‘There is nothing to do in mass action “delete””. The method this.datagrid.getSelectionState() returned Object which contain array selectedIds , but value of every item is undefined. On another pages situation is different, delete mass action worked as expected. What problem can be here?
    My datagrid:

    My send-shioment-action.js:

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

    madlexx
    Participant

    Problem was in datagrid.yml of the magentobundle. There was missed properties id for magento-orderitem-grid thus delete mass action doesn’t worked for one item and custom action doesn’t worked too.

    #20806
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi,

    By default this grid doesn’t use mass action, so id wasn’t added.

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

You must be logged in to reply to this topic.