From bd48bd623b8afb3f5c290704b4bf32deb8e17337 Mon Sep 17 00:00:00 2001 From: william-andre Date: Fri, 31 Oct 2025 11:34:57 +0100 Subject: [PATCH] [IMP] developer: deprecated attributes in groupby buttons In order to be more consistent, the `type="edit"` attributes have been removed and the button is forced to be "View" in `.button-secondary` --- .../reference/user_interface/view_architectures.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/developer/reference/user_interface/view_architectures.rst b/content/developer/reference/user_interface/view_architectures.rst index b932d3a5bb..36efa4964d 100644 --- a/content/developer/reference/user_interface/view_architectures.rst +++ b/content/developer/reference/user_interface/view_architectures.rst @@ -1555,8 +1555,8 @@ The `groupby` element can have the following attributes: The name of the a :attr:`~odoo.fields.Many2one` field to use as header. - A special :ref:`button ` element with `type="edit"` can - be defined to open the Many2one field's form view. + A special button element with `type="edit"` can be defined to open the Many2one field's form + view. :requirement: Mandatory :type: str @@ -1578,7 +1578,7 @@ The `groupby` element can have the following attributes: -