跳至內容
選單
此問題已被標幟
1882 瀏覽次數

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


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 22
7265
2
7月 23
2725
1
5月 23
3821
1
4月 24
4742
3
11月 23
2880