Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1849 Zobrazení

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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 22
7235
2
čvc 23
2715
1
kvě 23
3803
1
dub 24
4722
3
lis 23
2869