Commit Graph

18 Commits

Author SHA1 Message Date
Dennis Sluijk
4fea08d468 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2018-09-20 16:05:34 +02:00
Jairo Llopis
0efe75de7c [FIX] web_widget_x2many_2d_matrix: Allow empty cells
Before this commit, if a matrix was lacking one element, some ugly errors appeared to the user.

Now, it just displays the empty cell and lets the user go on.

Also, acknowledge another limitation of the widget and add it to roadmap.
2018-08-27 16:57:15 +02:00
Jairo Llopis
78beda0546 [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2018-08-24 09:45:24 +01:00
Jairo Llopis
a54ca01096 [FIX] web_widget_x2many_2d_matrix: Fix linters 2018-08-24 08:11:45 +01:00
Simone Orsi
69cc921ab3 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2018-03-28 12:47:39 +02:00
Artem Kostyuk
75f79755c0 [11][MIG] web_widget_x2many_2d_matrix WIP 2018-03-27 17:16:11 +02:00
Cédric Pigeon
22aaa168c8 [10.0] web_widget_x2many_2d_matrix: update README 2018-03-27 17:16:11 +02:00
Pedro M. Baeza
936e9c23dd [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2018-03-27 17:16:11 +02:00
Pedro M. Baeza
c4d2981193 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2018-03-27 17:16:11 +02:00
Pedro M. Baeza
3123f7fa30 [IMP] web_widget_x2many_2d_matrix: Include x_axis_clickable and y_axis_clickable attrs
XML attributes for the widget that allows to configure if the axis will be clickable
or not in case the source field is a many2one field.
2018-03-27 17:16:11 +02:00
Pedro M. Baeza
e3a2ca214f [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2018-03-27 17:16:11 +02:00
Pedro M. Baeza
2a2439b848 [IMP] web_widget_x2many_2d_matrix: New option field_att_<name>
Declare as many options prefixed with this string as you need for binding
a field value with an HTML node attribute (disabled, class, style...)
called as the `<name>` passed in the option.

NOTE: This doesn't prevent to require to fill the full matrix with
all the combination records.
2018-03-27 17:16:11 +02:00
Holger Brunn
3841f92900 [IMP] web_widget_x2many_2d_matrix: Several improvements
* README update to newest OCA template
* Example in README
* Massive performance boost for big matrices, specially on Firefox
* Assign id on row in order to find it back in all cases
* Fix #321, choked on cached writes
2018-03-27 17:16:11 +02:00
Yannick Vaucher
58126af6de Add bug tracker link on README.rst 2018-03-27 17:16:11 +02:00
Holger Brunn
48b086e6bf [IMP] add screenshot, example in README 2018-03-27 17:16:11 +02:00
Holger Brunn
d5c0a478b9 [ADD] validation
[IMP] write formatted value to back to input
2018-03-27 17:16:11 +02:00
Holger Brunn
9b65b5d85d [UPD] readme 2018-03-27 17:16:11 +02:00
Holger Brunn
0dba5d648f [ADD] web_widget_x2many_2d_matrix 2018-03-27 17:16:11 +02:00