How to hide custom Action from More Dropdown depending on an attribute?

345 views Asked by At

I have added some custom options to the Actions Dropdown using:

<act_window id="launch_session_wizard_xyz"
            name="Stornieren"
            src_model="x_dummy.dummy"
            view_type="form"
            res_model="x_dummy.storno_wizard"
            view_mode="form"
            target="new"
            key2="client_action_multi" />

How can we achieve that this Dropdown-action only is visible depending on an attribute?

For Buttons I can use the attrs. Attribute but I don`t know how this can be achieved with Action DropDown Elements

0

There are 0 answers