From 95c5289568a2807ba223ce6cb83b329b86277747 Mon Sep 17 00:00:00 2001 From: "Thomas Becquevort (thbe)" Date: Wed, 20 May 2026 14:24:46 +0000 Subject: [PATCH] [FIX] developer/tutorials: Button example without deprecated attrs Using attrs to make a button invisible is deprecated since 17.0 but the button example hyperlink sends to a commit that used it so it induces people following the tutorial to use attrs which shouldn't be done anymore. This commit replaces the link with the commit that replaced the attrs="" to the plain invisible="" use on the exact same button. (And adjusts the size of the heading delimiter to respect documentation guidelines.) X-original-commit: 05c46d7af945c18567a194258f33f8612a8baf86 --- content/developer/tutorials/server_framework_101/09_actions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/developer/tutorials/server_framework_101/09_actions.rst b/content/developer/tutorials/server_framework_101/09_actions.rst index 43096519256..6a2d551ea22 100644 --- a/content/developer/tutorials/server_framework_101/09_actions.rst +++ b/content/developer/tutorials/server_framework_101/09_actions.rst @@ -93,7 +93,7 @@ Finally, a public method should always return something so that it can be called When in doubt, just ``return True``. There are hundreds of examples in the Odoo source code. One example is this -`button in a view `__ +`button in a view `__ and its `corresponding Python method `__