Hi ! someone can tell me how to display view from a button having type="object" ? In other words, how to display view from a method ?
Pertanyaan ini telah diberikan tanda
Your method should return an action, something like this:
return {
'name': _(u"Eventos Eletrônicos"),
'view_mode': 'form',
'view_id': view[1],
'view_type': 'form',
'res_model': 'l10n_br_account.document_event',
'res_id': last_event,
'type': 'ir.actions.act_window',
'nodestroy': True,
'target': 'new',
'domain': '[]',
'context': None
}
Existing Object/Button ?
Danimar Ribeiro : Thank you very much :) so the view it can be not attached to database ? I meant can I display a tree view which contain a list which not a table in database ?
Danimar Ribeiro : so the view it can be not attached to database ? I meant can I display a tree view which contain a list which not a table in database ?
Danimar Ribeiro : Thank you very much :) so the view it can be not attached to database ? I meant can I display a tree view which contain a list which not a table in database ?
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
3
Des 25
|
4100 | ||
|
Add button after Create and Import (Odoo11)
Diselesaikan
|
|
2
Nov 20
|
12668 | |
|
search_default does not work?..
Diselesaikan
|
|
1
Feb 24
|
8930 | |
|
[8.0] How to put a button at the label position?
Diselesaikan
|
|
1
Apr 17
|
4951 | |
|
|
0
Des 15
|
4177 |