web_one2many_list_action

by ,
Odoo
v 8.0 Third Party 212
Download for v 8.0
Technical Name web_one2many_list_action
LicenseAGPL-3
You bought this module and need support? Click here!

Web One2many List Action

This module extends the list view used for one2many fields inside form views to use the 'tree_but_open' interface to define actions for rows.

To use this just specify a 'tree_but_open' action on the target model of the one2many field relation.

Example:

<!-- server action retrieves ir.actions.act_window to open row specific popup -->
<record model="ir.actions.server" id="message_index_list_view_delegate_open">
    <field name="name">message_index_list_view_delegate_open</field>
    <field name="model_id" ref="model_message_index"/>
    <field name="code">action = object.button_popup_delegate()</field>
</record>
<!-- tree_but_open key -- delegates to a server action to execute on row clicked -->
<record id="message_index_list_view_open" model="ir.values">
    <field name="model">message.index</field>
    <field name="key2">tree_but_open</field>
    <field name="name">message_index_list_view</field>
    <field eval="'ir.actions.server,%d'%message_index_list_view_delegate_open" name="value"/>
    <field name="res_id" eval="0"/>
</record>

Installation

To install this module, just follow basic steps to install an Odoo module.

Configuration

No configuration needed.

Usage

To use this module, you need to:

  • go to ...
Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.