Browse Source

[FIX] RST syntax

pull/907/head
Holger Brunn 6 years ago
parent
commit
557da70a7c
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 1
      web_drop_target/README.rst
  2. 4
      web_widget_timepicker/README.rst
  3. 26
      web_widget_x2many_2d_matrix/README.rst

1
web_drop_target/README.rst

@ -30,6 +30,7 @@ Known issues / Roadmap
* dropping on list or kanban views would be nice too * dropping on list or kanban views would be nice too
* handle multiple files * handle multiple files
* add an upload progress meter for huge files * add an upload progress meter for huge files
* trigger custom events about different stages of the drop operation for other addons to hook in
Bug Tracker Bug Tracker
=========== ===========

4
web_widget_timepicker/README.rst

@ -54,7 +54,7 @@ See the available options at `jquery-timepicker <https://github.com//jonthornton
Credits Credits
======= =======
* The module uses the `jquery-timepicker <https://github.com//jonthornton//jquery-timepicker#timepicker-plugin-for-jquery>`_. plugin by Jon Thornton. This software is made available under the open source MIT License. © 2014 Jon Thornton and contributors
* The module uses the `jquery-timepicker plugin <https://github.com//jonthornton//jquery-timepicker#timepicker-plugin-for-jquery>`_ by Jon Thornton. This software is made available under the open source MIT License. © 2014 Jon Thornton and contributors
* Odoo Community Association (OCA) * Odoo Community Association (OCA)
@ -79,4 +79,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
To contribute to this module, please visit https://odoo-community.org.

26
web_widget_x2many_2d_matrix/README.rst

@ -9,12 +9,14 @@
This module allows to show an x2many field with 3-tuples This module allows to show an x2many field with 3-tuples
($x_value, $y_value, $value) in a table ($x_value, $y_value, $value) in a table
========= =========== ===========
\ $x_value1 $x_value2
========= =========== ===========
$y_value1 $value(1/1) $value(2/1)
$y_value2 $value(1/2) $value(2/2)
========= =========== ===========
+-----------+-------------+-------------+
| | $x_value1 | $x_value2 |
+-----------+-------------+-------------+
| $y_value1 | $value(1/1) | $value(2/1) |
+-----------+-------------+-------------+
| $y_value2 | $value(1/2) | $value(2/2) |
+-----------+-------------+-------------+
where `value(n/n)` is editable. where `value(n/n)` is editable.
@ -145,12 +147,12 @@ Known issues / Roadmap
* If you pass values with an onchange, you need to overwrite the model's method * If you pass values with an onchange, you need to overwrite the model's method
`onchange` for making the widget work:: `onchange` for making the widget work::
@api.multi
def onchange(self, values, field_name, field_onchange):
if "one2many_field" in field_onchange:
for sub in [<field_list>]:
field_onchange.setdefault("one2many_field." + sub, u"")
return super(model, self).onchange(values, field_name, field_onchange)
@api.multi
def onchange(self, values, field_name, field_onchange):
if "one2many_field" in field_onchange:
for sub in [<field_list>]:
field_onchange.setdefault("one2many_field." + sub, u"")
return super(model, self).onchange(values, field_name, field_onchange)
Bug Tracker Bug Tracker
=========== ===========

Loading…
Cancel
Save