İçereği Atla
Menü
Bu soru işaretlendi

Hi ,

I  need to enable the "action" button in tree view when popup screen. When iam using the tree view popup it does not enable the "action" on clicking the checkbox ..

My code:

    @api.multi

    def open_popup (self):

        return {

            'name': _ ("Purhcase Order Line"),

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

            'view_type': 'form',

            'view_mode': 'tree',

            'res_model': 'purchase.order.line',

            'res_name': 'Open Popup',

            'create': True,

            'target': 'new',

        }

refer this picture the checkbox's are checked but it does not enable the action button..

Can anyone help me to enable the action button

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Haz 24
1776
1
Ara 23
1506
1
Nis 23
1634
1
Mar 23
2487
0
Ara 22
2060