Skip to main content
License: AGPL-3

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.

Release files for odoo8-addon-web-one2many-list-action 8.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo8-addon-web-one2many-list-action 8.0.1.0.0
File Interpreter ABI Platform
odoo8_addon_web_one2many_list_action-8.0.1.0.0-py2-none-any.whl Python 2 none any Details

Release files / odoo8_addon_web_one2many_list_action-8.0.1.0.0-py2-none-any.whl

Download URL odoo8_addon_web_one2many_list_action-8.0.1.0.0-py2-none-any.whl
Size 18.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4f57c81033752e1a2c6237be0470d6e45a1c115ea99b1ec29975bed497aca799
BLAKE2b-256 checksum
How to use checksums
dc6a2f312b33e8733247614f9dfff6180fa961318dbcfdbe693a8e3fdf38e137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page