summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-09-24 16:59:15 +0000
committerChristophe Simonis <chs@odoo.com>2019-09-24 17:45:37 +0000
commitd67b2483e5bfa5d8c1e6ef1a64fb933f5e080ad5 (patch)
tree25a7fd39ac993f3c04c5d8408beb628b3c9948ce /doc/reference/javascript_reference.rst
parent38d8b0526f0fccc32df5a11f5d086a3522ed5fcf (diff)
parent9ed4872ea03f28012118ed48a43d0800617a84f3 (diff)
[MERGE] forward port branch saas-12.4 up to 9ed4872ea03
closes odoo/odoo#37372 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
-rw-r--r--doc/reference/javascript_reference.rst24
1 files changed, 10 insertions, 14 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst
index a6eeb5e8d4e..f724485f86a 100644
--- a/doc/reference/javascript_reference.rst
+++ b/doc/reference/javascript_reference.rst
@@ -15,13 +15,8 @@ description into a live application, able to interact with every model and
records in the database. It is even possible to use the web client to modify
the interface of the web client.
-.. note:: An html version of all docstrings in Odoo is available at:
-
- .. toctree::
- :maxdepth: 2
-
- javascript_api
-
+.. note:: An html version of all js docstrings in Odoo is available at:
+ :ref:`JS API <api/js>`
Overview
=========
@@ -1421,7 +1416,7 @@ the AbstractView, AbstractController, AbstractRenderer and AbstractModel classes
.. raw:: html
<svg width="550" height="173">
- <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
+ <!-- Created with Method Draw - https://github.com/duopixel/Method-Draw/ -->
<path id="svg_1" d="m147.42498,79.79206c0.09944,-8.18859 -0.06363,-16.38812 0.81774,-24.5623c21.65679,2.68895 43.05815,7.08874 64.35,11.04543c1.14304,-4.01519 0.60504,-7.34585 1.59817,-11.05817c13.67878,7.81176 27.23421,15.73476 40.23409,24.03505c-12.47212,9.41539 -26.77809,17.592 -40.82272,25.96494c-0.4548,-3.89916 -0.90967,-7.79828 -1.36448,-11.69744c-20.69972,3.77225 -42.59036,7.6724 -63.42391,11.12096c-1.41678,-7.95741 -1.37514,-16.62327 -1.38888,-24.84846z" stroke-width="1.5" stroke="#000" fill="#fff"/>
<rect id="svg_3" height="41" width="110" y="57.5" x="7" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" stroke="#000" fill="#fff"/>
<rect stroke="#000" id="svg_5" height="41" width="135" y="20.5" x="328" fill-opacity="null" stroke-opacity="null" stroke-width="1.5" fill="#fff"/>
@@ -1467,6 +1462,8 @@ the AbstractView, AbstractController, AbstractRenderer and AbstractModel classes
context of a view manager/action manager. They could be used in a client action,
or, they could be displayed in the public website (with some work on the assets).
+.. _reference/js/widgets:
+
Field Widgets
=============
@@ -1927,7 +1924,6 @@ order.
Options:
- - title: title of the bar, displayed on top of the bar options
- editable: boolean if value is editable
- current_value: get the current_value from the field that must be present in the view
- max_value: get the max_value from the field that must be present in the view
@@ -2278,18 +2274,18 @@ do that, several steps should be done.
For more information, look into the *control_panel.js* file.
.. _.appendTo():
- http://api.jquery.com/appendTo/
+ https://api.jquery.com/appendTo/
.. _.prependTo():
- http://api.jquery.com/prependTo/
+ https://api.jquery.com/prependTo/
.. _.insertAfter():
- http://api.jquery.com/insertAfter/
+ https://api.jquery.com/insertAfter/
.. _.insertBefore():
- http://api.jquery.com/insertBefore/
+ https://api.jquery.com/insertBefore/
.. _event delegation:
- http://api.jquery.com/delegate/
+ https://api.jquery.com/delegate/
.. _datepicker: https://github.com/Eonasdan/bootstrap-datetimepicker