Skip to Content
मेन्यू
This question has been flagged

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
Discard
Related Posts Replies Views Activity
2
जून 24
1775
1
दिस॰ 23
1503
1
अप्रैल 23
1633
1
मार्च 23
2484
0
दिस॰ 22
2058