From f2fbc03c23db78eae2fb9b04ffc631dba39b00c8 Mon Sep 17 00:00:00 2001
From: OCA-git-bot To use this functionality you need to return following action with list of actions to execute: To use this functionality you need to return following action: 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 contentsUsage
-@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
-@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






-@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,