Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by  zhex900 3 months, 2 weeks ago.

  • Creator
    Topic
  • #37109

    zhex900
    Participant

    Hi,

    I am trying to implement a custom mass action. I used this thread thread as a guide.

    Have this javascript error:

    My code are here:
    To install the code. I run
    php app/console cache:clear –env=dev -vvv
    php app/console assets:install
    php app/console assetic:dump
    php app/console oro:requirejs:build

    1.assetic.yml

    2. actions.yml

    3. requirejs.yml

    4. autoallocate-action.js

    5. AutoAllocateMassAction.php

    6. AutoAllocateActionHandler.php

    7. services.yml

    8. datagrids.yml

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

    jderdziak
    Participant

    Extend MassAction from: ‘oro/datagrid/action/mass-action’, instead of ModelAction

    autoallocate-action.js should look like this:

    #37113

    zhex900
    Participant

    Solved!
    I changed Extend MassAction from: ‘oro/datagrid/action/mass-action’, instead of ModelAction.

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

You must be logged in to reply to this topic.

ssossossosso