Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1856 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 22
7237
2
lug 23
2717
1
mag 23
3804
1
apr 24
4723
3
nov 23
2869