diff --git a/web_ir_actions_act_multi/static/description/index.html b/web_ir_actions_act_multi/static/description/index.html index 22eb24b4d..ebd66db7d 100644 --- a/web_ir_actions_act_multi/static/description/index.html +++ b/web_ir_actions_act_multi/static/description/index.html @@ -386,7 +386,7 @@ ul.auto-toc {
To use this functionality you need to return following action with list of actions to execute:
-@api.multi +@api.multi def foo(): self.ensure_one() return { diff --git a/web_ir_actions_act_view_reload/static/description/index.html b/web_ir_actions_act_view_reload/static/description/index.html index 3fa793553..0ec5ef674 100644 --- a/web_ir_actions_act_view_reload/static/description/index.html +++ b/web_ir_actions_act_view_reload/static/description/index.html @@ -386,7 +386,7 @@ ul.auto-toc {Usage
To use this functionality you need to return following action:
-@api.multi +@api.multi def foo(): self.ensure_one() return { diff --git a/web_ir_actions_act_window_message/static/description/index.html b/web_ir_actions_act_window_message/static/description/index.html index 055573076..166c94392 100644 --- a/web_ir_actions_act_window_message/static/description/index.html +++ b/web_ir_actions_act_window_message/static/description/index.html @@ -397,7 +397,7 @@ ul.auto-toc { # ir.actions.act_window_close 'close_button_title': 'Make this window go away', # Use HTML instead of text - 'is_html_message': True, + 'is_html_message': True, # this is an optional list of buttons to show 'buttons': [ # a button can be any action (also ir.actions.report.xml et al) @@ -406,8 +406,8 @@ ul.auto-toc { 'name': 'All customers', 'res_model': 'res.partner', 'view_mode': 'form', - 'views': [[False, 'list'], [False, 'form']], - 'domain': [('customer', '=', True)], + 'views': [[False, 'list'], [False, 'form']], + 'domain': [('customer', '=', True)], }, # or if type == method, you need to pass a model, a method name and # parameters @@ -419,7 +419,7 @@ ul.auto-toc { # list of arguments to pass positionally 'args': [self.ids], # dictionary of keyword arguments - 'kwargs': {'force': True}, + 'kwargs': {'force': True}, # button style 'classes': 'btn-primary', } diff --git a/web_refresher/README.rst b/web_refresher/README.rst index 7704a1bb3..a9641400e 100644 --- a/web_refresher/README.rst +++ b/web_refresher/README.rst @@ -27,7 +27,7 @@ Web Refresher Adds a button next to the pager (in trees/kanban views) to refresh the displayed list. -.. |refresh| image:: ./images/refresh.png +.. |refresh| image:: https://raw.githubusercontent.com/OCA/web/12.0/web_refresher/images/refresh.png **Table of contents** diff --git a/web_widget_color/README.rst b/web_widget_color/README.rst index 53cc71a99..5a9e90de5 100644 --- a/web_widget_color/README.rst +++ b/web_widget_color/README.rst @@ -51,9 +51,9 @@ Features |listview| -.. |picker| image:: ./images/picker.png -.. |formview| image:: ./images/form_view.png -.. |listview| image:: ./images/list_view.png +.. |picker| image:: https://raw.githubusercontent.com/OCA/web/12.0/web_widget_color/images/picker.png +.. |formview| image:: https://raw.githubusercontent.com/OCA/web/12.0/web_widget_color/images/form_view.png +.. |listview| image:: https://raw.githubusercontent.com/OCA/web/12.0/web_widget_color/images/list_view.png **Table of contents** diff --git a/web_widget_color/static/description/index.html b/web_widget_color/static/description/index.html index 45200b034..273f7cb51 100644 --- a/web_widget_color/static/description/index.html +++ b/web_widget_color/static/description/index.html @@ -374,17 +374,17 @@ ul.auto-toc {Features
The picker allow the user to quickly select a color on edit mode
-Note
Notice how html code and the background color is updating when selecting a color.
Display the color on form view when you are not editing it
-Display the color on list view to quickly find what’s wrong!
-Table of contents
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'), ] diff --git a/web_widget_x2many_2d_matrix/static/description/index.html b/web_widget_x2many_2d_matrix/static/description/index.html index beac91d17..829dc6c31 100644 --- a/web_widget_x2many_2d_matrix/static/description/index.html +++ b/web_widget_x2many_2d_matrix/static/description/index.html @@ -486,7 +486,7 @@ the field in the default function: 'project_id': p.id, 'user_id': u.id, 'planned_hours': 0, - 'message_needaction': False, + 'message_needaction': False, 'date_deadline': fields.Date.today(), }) # if the project doesn't have a task for the user,