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.
-@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'), ]