コンテンツへスキップ
メニュー
この質問にフラグが付けられました

I need to be able to list quotations AND sale orders in one single screen. Now, this is an easy thing to do when you're able to call a specific action. However, I need to open a screen with the list using a function.


            return {

'name': _('Sale orders/quotations'),

'view_type': 'form',

'view_mode': 'tree',

'res_model': 'sale.order',

'type': 'ir.actions.act_window',

'domain': [('id', 'in', order_ids)],

'context':{},

}

This will always call a "default" action because, although I can specify a view, I cannot tell which action to run. So, I'm stuck.


Any ideas? It has to be made from within a function.


アバター
破棄
関連投稿 返信 ビュー 活動
3
7月 24
3122
1
3月 15
3127
2
3月 15
9550
1
6月 19
2417
1
11月 18
3750