Skip to Content

Contributors

[Question] Preserve breadcrumb after page reload or reposition chatter dynamically

Hello everyone,

While working on an Odoo 17 project, I inherited the web_chatter_position module to add a button on form views that allows users to change the position of the chatter (either at the side or at the bottom of the form).

Currently, to make the position change effective, the button triggers a page reload, which unfortunately causes the breadcrumb to be lost.

My goal would be either:
to preserve the breadcrumb after a reload (or restore it properly),
or even better, to apply the chatter position change without reloading the page to keep a smooth UX.

I explored several approaches (dynamic JS manipulation, extending FormRenderer, etc.), but I haven’t found a satisfactory solution yet.

Would anyone know:
of an existing community module that handles this use case?
or of a clean technique to dynamically reposition the chatter without forcing a page reload?

Thank you very much in advance for your insights and suggestions!

Best regards,

Nazaire ADJAKOUN
ZENPILOTE

by Nazaire ADJAKOUN - 11:26 - 28 Apr 2025

Follow-Ups

  • Re: [Question] Preserve breadcrumb after page reload or reposition chatter dynamically
    Hello Tris,

    Thank you very much for your quick reply!
    I will take a closer look at the PR you mentioned.

    Best regards,

    Nazaire ADJAKOUN

    Le lun. 28 avr. 2025 à 10:53, Tris Doan <notifications@odoo-community.org> a écrit :
    Hello,

    Have you checked this PR?

    Best regards,

    Tris Doan


    On Mon, Apr 28, 2025 at 4:27 PM Dayo Sikiton Nazaire ADJAKOUN <notifications@odoo-community.org> wrote:
    Hello everyone,

    While working on an Odoo 17 project, I inherited the web_chatter_position module to add a button on form views that allows users to change the position of the chatter (either at the side or at the bottom of the form).

    Currently, to make the position change effective, the button triggers a page reload, which unfortunately causes the breadcrumb to be lost.

    My goal would be either:
    to preserve the breadcrumb after a reload (or restore it properly),
    or even better, to apply the chatter position change without reloading the page to keep a smooth UX.

    I explored several approaches (dynamic JS manipulation, extending FormRenderer, etc.), but I haven’t found a satisfactory solution yet.

    Would anyone know:
    of an existing community module that handles this use case?
    or of a clean technique to dynamically reposition the chatter without forcing a page reload?

    Thank you very much in advance for your insights and suggestions!

    Best regards,

    Nazaire ADJAKOUN
    ZENPILOTE

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Nazaire ADJAKOUN - 12:55 - 28 Apr 2025
  • Re: [Question] Preserve breadcrumb after page reload or reposition chatter dynamically
    Hello,

    Have you checked this PR?

    Best regards,

    Tris Doan


    On Mon, Apr 28, 2025 at 4:27 PM Dayo Sikiton Nazaire ADJAKOUN <notifications@odoo-community.org> wrote:
    Hello everyone,

    While working on an Odoo 17 project, I inherited the web_chatter_position module to add a button on form views that allows users to change the position of the chatter (either at the side or at the bottom of the form).

    Currently, to make the position change effective, the button triggers a page reload, which unfortunately causes the breadcrumb to be lost.

    My goal would be either:
    to preserve the breadcrumb after a reload (or restore it properly),
    or even better, to apply the chatter position change without reloading the page to keep a smooth UX.

    I explored several approaches (dynamic JS manipulation, extending FormRenderer, etc.), but I haven’t found a satisfactory solution yet.

    Would anyone know:
    of an existing community module that handles this use case?
    or of a clean technique to dynamically reposition the chatter without forcing a page reload?

    Thank you very much in advance for your insights and suggestions!

    Best regards,

    Nazaire ADJAKOUN
    ZENPILOTE

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by doanminhtri8183 - 11:51 - 28 Apr 2025