Skip to content

Commit bd48bd6

Browse files
committed
[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`
1 parent 6f538ff commit bd48bd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/developer/reference/user_interface/view_architectures.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,8 +1555,8 @@ The `groupby` element can have the following attributes:
15551555

15561556
The name of the a :attr:`~odoo.fields.Many2one` field to use as header.
15571557

1558-
A special :ref:`button <reference/view_architectures/list/button>` element with `type="edit"` can
1559-
be defined to open the Many2one field's form view.
1558+
A special button element with `type="edit"` can be defined to open the Many2one field's form
1559+
view.
15601560

15611561
:requirement: Mandatory
15621562
:type: str
@@ -1578,7 +1578,7 @@ The `groupby` element can have the following attributes:
15781578
<field name="tax_id"/>
15791579

15801580
<groupby name="partner_id">
1581-
<button type="edit" name="edit" icon="fa-edit" title="Edit"/>
1581+
<button type="edit" name="edit"/>
15821582
<field name="email"/>
15831583
<button type="object" name="my_method" string="Button1" invisible="email == '[email protected]'"/>
15841584
</groupby>

0 commit comments

Comments
 (0)