From ad276b6f455589acd1164a04d94de7416544b57d Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 29 Mar 2020 06:53:33 +0000 Subject: [PATCH] [UPD] README.rst --- web_widget_dropdown_dynamic/static/description/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_widget_dropdown_dynamic/static/description/index.html b/web_widget_dropdown_dynamic/static/description/index.html index 82089dc28..d17e254a2 100644 --- a/web_widget_dropdown_dynamic/static/description/index.html +++ b/web_widget_dropdown_dynamic/static/description/index.html @@ -396,12 +396,12 @@ instead.

Usage

-@api.model
+@api.model
 def method_name(self):
     values = [
         ('value_a', 'Title A'),
     ]
-    if self.env.context.get('depending_on') == True:
+    if self.env.context.get('depending_on') == True:
         values += [
             ('value_b', 'Title B'),
         ]