From e1045e4625769c733cbd1b25c480db69532016ac Mon Sep 17 00:00:00 2001 From: gilvanleal Date: Mon, 20 Feb 2017 04:46:52 -0300 Subject: [PATCH] [FIX] doc: correct server action variable name self is not defined, use model instead Closes #15556 --- doc/reference/actions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index 221c01ecfe6..21547b9e8fd 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -350,7 +350,7 @@ Evaluation context A number of keys are available in the evaluation context of or surrounding server actions: -``self`` +``model`` the model object linked to the action via ``model_id`` ``object``, ``obj`` only available if ``active_model`` and ``active_id`` are provided (via