Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5430 Zobrazení

Default in openerp list view record once clicked its open the form view in edit mode. The same functionality how to apply in button for example List view button added once list view button clicked it switch into the form view based on this the below code used:-

        return {
            "type": "ir.actions.act_window",
            "name": "Sales Order",
            "res_model": "sale.order",
            "res_id": ids and ids[0] or False,
            "view_type": "form",
            "view_mode": "form, tree,calendar,graph",
            "view_id":  False
    "views" : [(False,'form'),(False,'tree'),(False,'calendar'),(False,'graph')],
    }

After clicking the button Form view shows data after that switch into list view data not shows but other view calendar, graph and form shows data. Only list view not shows data how to solve the issue?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 24
14257
2
bře 18
5063
0
led 18
3176
2
úno 24
25636
3
úno 25
55537