Skip to Content
Menú
This question has been flagged
2 Respostes
5832 Vistes

    I need to refresh the kanban view of the customer after create a new record using a controller.

    Ex: the kanban view is opened and using an API client i will create a new partner, then that partner should be displayed in the kanban view without refreshing the page manually.

    How can i achieve this?

    Is there any code which i can refer to?

    for example, when we modify a field it will appear on the chatter instantly without refresh the page. Where can i find these code?

    Avatar
    Descartar
    Best Answer

    HI Kabeer,

    You can return an ir.actions.client action in order to refresh the current page you have open in Odoo:

    return {
        'type': 'ir.actions.client',
        'tag': 'reload',
    }

    You can find more information about actions, what they do and which options you have in the official docs. You can find this at https://www.odoo.com/documentation/13.0/reference/actions.html

    Avatar
    Descartar

    Hi Boubaker,

    Does it will clear the whole breadcrumb of the current position ???

    Related Posts Respostes Vistes Activitat
    1
    de maig 20
    4135
    0
    de des. 19
    4098
    1
    de juny 24
    3399
    1
    de març 22
    1861
    0
    d’ag. 21
    3234