v 11.0 Third Party 9
Download for 11.0 series Deploy on Odoo.sh
Technical Name web_widget_table
You bought this module and need support? Click here!

Web Widget Table

A module to add datatable https://datatables.net/ as a widget

Table of contents


Use this widget by saying:

<field name="my_table" widget="widget_table" options="{
'field_name': 'child_ids', 'datatable_params':{'searching': False, 'paging': False, 'info': False}, 'fields': ['name','date_start', 'date_end', 'real_date_start', 'real_date_end', 'total_time'], 'headers': ['Name','Date Start', 'Date End', 'Real Date Start', 'Real Date End', 'Total Time']}"/>

"my_table" field must be of type char, it is only used to display the table. For example:

my_table = fields.Char(

You need to pass the following parameters:

This required parameter indicates a One2many field present in the model from which the fields parameter will refer
This required parameter is a list that indicates the fields from child_ids records that will be displayed in the datatable
The required parameter is a list of used string to display in the table header, they should be in the same order as the fields
This is to pass the datatable parameters https://datatables.net/manual/options, like:
paging; info; searching; scrollY; etc.

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

Do not contact contributors directly about support or help with technical issues.

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.