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

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.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvc 24
2954
1
bře 15
3095
2
bře 15
9396
1
čvn 19
2320
1
lis 18
3647