Commit Graph

18 Commits

Author SHA1 Message Date
Dennis Sluijk
e3de0d49c1 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2020-11-13 10:57:57 +07:00
Jairo Llopis
f51faf036e [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.
2020-11-13 10:57:54 +07:00
Jairo Llopis
05509c568c [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2020-11-13 10:57:54 +07:00
Jairo Llopis
9ce5fee34b [FIX] web_widget_x2many_2d_matrix: Fix linters 2020-11-13 10:57:54 +07:00
Simone Orsi
3a1ae72bec [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2020-11-13 10:57:50 +07:00
Artem Kostyuk
37f4c9b2af [11][MIG] web_widget_x2many_2d_matrix WIP 2020-11-13 10:57:50 +07:00
Cédric Pigeon
014573f256 [10.0] web_widget_x2many_2d_matrix: update README 2020-11-13 10:57:42 +07:00
Pedro M. Baeza
d7bc206af0 [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
37b8929872 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2020-11-13 10:57:42 +07:00
Pedro M. Baeza
c850393872 [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.
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
ceab0655dd [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2020-11-13 10:57:42 +07:00
Pedro M. Baeza
e35a2731ff [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.
2020-11-13 10:57:42 +07:00
Holger Brunn
4397e84221 [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
2020-11-13 10:57:42 +07:00
Yannick Vaucher
4f8517de4c Add bug tracker link on README.rst 2020-11-13 10:23:49 +07:00
Holger Brunn
0ac1f53fd3 [IMP] add screenshot, example in README 2020-11-13 10:23:49 +07:00
Holger Brunn
55afc94891 [ADD] validation
[IMP] write formatted value to back to input
2020-11-13 10:23:49 +07:00
Holger Brunn
9370dc42fa [UPD] readme 2020-11-13 10:23:49 +07:00
Holger Brunn
9e136505e0 [ADD] web_widget_x2many_2d_matrix 2020-11-13 10:23:49 +07:00