To use this module, you need to declare a One2many or Many2many field::
sale_order_ids = fields.One2many(
"sale.order",
"partner_id",
string="Sales Order",
)
In the view declaration, put widget="heatmap" attribute in the field tag::
...
...
Widget Options::
cellSize - Size of each subDomain cell, in pixel.
...
...
* All widget options you can find in the official `documentation `_ of the cal-heatmap lib.