From 2ec544e26b5f921294260838628eff95674420a3 Mon Sep 17 00:00:00 2001 From: Jim Plaku Date: Mon, 3 Mar 2025 15:38:11 +0000 Subject: [PATCH] [IMP] tutorials/server_framework_101: add warning about access rights When readers follow the server framework 101 tutorial, it's common for them to set the model access rights the same as in the tutorial's example at chapter 4. Following this example they will have read only permissions and by chapter 6 they will not be able to create/update or delete objects in order to follow with the tutorial. This commit adds a warning for readers to remind them of the relation between the access rights set previously and what they can see and do using the UI. closes odoo/documentation#12289 X-original-commit: 14de18996e90cab95a10135ae8ed98527dbd8577 Signed-off-by: Antoine Vandevenne (anv) --- .../tutorials/server_framework_101/06_basicviews.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/developer/tutorials/server_framework_101/06_basicviews.rst b/content/developer/tutorials/server_framework_101/06_basicviews.rst index f7f027b08..df7de53b0 100644 --- a/content/developer/tutorials/server_framework_101/06_basicviews.rst +++ b/content/developer/tutorials/server_framework_101/06_basicviews.rst @@ -66,6 +66,12 @@ to see the result. You will probably use some copy-paste in this chapter, therefore always make sure that the ``id`` remains unique for each view! + +.. warning:: + Remember to set the correct access rights to the user as explained in the :doc:`security intro <04_securityintro>`! + + The :guilabel:`Create` button is not shown if the user has only read permission. + Form ====