Skip to Content
Menu
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 24
1783
1
gruod. 23
1508
1
bal. 23
1636
1
kov. 23
2489
0
gruod. 22
2061