Skip to Content
Menu
This question has been flagged

I have been following the Odoo Tutorial, specifically... 

www.odoo.com/documentation/16.0/developer/tutorials/master_odoo_web_framework/03_custom_kanban_view.html

At stage 4 some code is provided to programatically, through javascript, set a filter.

selectCustomer(customer_id, customer_name) {
   this.env.searchModel.setDomainParts({
      customer: {
            domain: [["customer_id", "=", customer_id]],
            facetLabel: customer_name,
      },
   });
}

Is it possible to also, programatically, through javascript, set a GroupBy?

Many Thanks,

Simon


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
lapkr. 22
7260
2
liep. 23
2724
1
geg. 23
3820
1
bal. 24
4741
3
lapkr. 23
2879