openerp - Action only visible in form view, need it in tree view too -
i have custom module trying port openerp 6.1 openerp 7.
in module have defined several new actions point wizards in product.product model. in openerp 6.1 these action links appear in sidebar in product tree view, allowing me utilize selection of products, , in form view, using shown product.
however, in openerp 7 action links appear under "more" button in form view, not in tree view. since need able utilize actions on multiple products @ once, problem.
here action definition:
<act_window id="action_my_id" name="my name" res_model="my_model.function" src_model="product.product" view_mode="form" target="new" view_type="form" />
how create , other actions show under "more" button in tree view form view?
i found reply here on odoo forum:
in order act_window action visible in tree view, need add together next attribute it:
key2="client_action_multi"
so action definition looks this:
<act_window id="action_my_id" name="my name" res_model="my_model.function" src_model="product.product" key2="client_action_multi" view_mode="form" target="new" view_type="form" />
action openerp wizard openerp-7
No comments:
Post a Comment