From b20dfd99123948ac2ef33235a0ee04f7db08749b Mon Sep 17 00:00:00 2001 From: "Thomas Becquevort (thbe)" Date: Wed, 20 May 2026 16:24:46 +0200 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.) --- .../developer/tutorials/server_framework_101/09_actions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/developer/tutorials/server_framework_101/09_actions.rst b/content/developer/tutorials/server_framework_101/09_actions.rst index 9fc86d913bb..9ada114efbe 100644 --- a/content/developer/tutorials/server_framework_101/09_actions.rst +++ b/content/developer/tutorials/server_framework_101/09_actions.rst @@ -1,6 +1,6 @@ -================================== +================================= Chapter 9: Ready For Some Action? -================================== +================================= So far we have mostly built our module by declaring fields and views. We just introduced business logic in the :doc:`previous chapter <08_compute_onchange>` thanks to @@ -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 `__