From 0fc36c18e492a2511f167b8a5f1dbd3898fb9407 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Mon, 25 Jul 2022 09:51:33 +0000 Subject: [PATCH] [CLN] rdtraining: remove reference to unexisting file The referenced `bypass.py` file isn't specified anywhere in the training documentation or code content. The paragraph is removed to avoid meaningless searches and confusing trainees. This commit also adds a missing parenthese in the preceding code content. Fixes #2488 closes odoo/documentation#2521 X-original-commit: 1c4abe4e077d1bf0ed141cdaea05210c0b241f44 Signed-off-by: Antoine Vandevenne (anv) --- content/developer/howtos/rdtraining/B_acl_irrules.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/content/developer/howtos/rdtraining/B_acl_irrules.rst b/content/developer/howtos/rdtraining/B_acl_irrules.rst index 3c96eed7f..555fad96f 100644 --- a/content/developer/howtos/rdtraining/B_acl_irrules.rst +++ b/content/developer/howtos/rdtraining/B_acl_irrules.rst @@ -336,11 +336,7 @@ right being checked: the invoice (as creating the invoice accesses the property, therefore triggers an ACL check) e.g.:: - print(" reached ".center(100, '=') - -- Execute ``bypass.py`` in ``estate_account``, giving it the name of your - database, and the name of your version of ``action_sold`` (unless you named it - ``action_sold`` then it's fine) + print(" reached ".center(100, '=')) You should see ``reached`` in your Odoo log, followed by an access error.