Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iun. 24
1785
1
dec. 23
1510
1
apr. 23
1639
1
mar. 23
2490
0
dec. 22
2063