Pedro M. Baeza
c4f72a0900
[IMP] web_widget_x2many_2d_matrix: Better options parsing
2023-02-28 13:53:55 +01:00
Pedro M. Baeza
1efebb3a1b
[FIX] web_widget_x2many_2d_matrix: Use existing value in load_views
2023-02-28 13:53:55 +01:00
Pedro M. Baeza
4401895afd
[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.
2023-02-28 13:53:55 +01:00
Jairo Llopis
0f384225ca
[IMP] web_widget_x2many_2d_matrix: Use new JS modularized API.
2023-02-28 13:53:55 +01:00
Pedro M. Baeza
20eab643cf
[MIG] web_widget_x2many_2d_matrix: Migration to 9.0
2023-02-28 13:53:55 +01:00
Pedro M. Baeza
9e9f4f331e
[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.
2023-02-28 13:53:55 +01:00
Holger Brunn
08d6ca5c49
[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
2023-02-28 13:53:55 +01:00
Holger Brunn
28def31d3d
[FIX] also reinitialize totals
2023-02-28 13:53:55 +01:00
Holger Brunn
ef9e3902fe
[FIX] support rerendering after virtual ids change
...
this is necessary for correct operation after creating new records
2023-02-28 13:53:55 +01:00
Holger Brunn
e77ea015f6
[IMP] better modularity
2023-02-28 13:53:55 +01:00
Holger Brunn
7df56f4174
[IMP] icon
2023-02-28 13:53:55 +01:00
Holger Brunn
df1e49c4a2
[IMP] add screenshot, example in README
2023-02-28 13:53:55 +01:00
Holger Brunn
8f5504bdc7
[IMP] use semantic css classes instead of element names
...
[RFR] and being on it, make reacting to changes in overrides simple
2023-02-28 13:53:55 +01:00
Holger Brunn
fc3d465f8d
[IMP] we don't need data-x and data-y on the input
2023-02-28 13:53:55 +01:00
Holger Brunn
53cea885d5
[ADD] validation
...
[IMP] write formatted value to back to input
2023-02-28 13:53:55 +01:00
Holger Brunn
ad43d29e57
[FIX] setup focus
2023-02-28 13:53:55 +01:00
Holger Brunn
e6ad012152
[FIX] replace therp icon
2023-02-28 13:53:55 +01:00
Holger Brunn
c0afeee32a
[IMP] pass computed totals to inheriting function
2023-02-28 13:53:55 +01:00
Holger Brunn
e08c75d82a
[FIX] update readonly value after editing
2023-02-28 13:53:55 +01:00
Holger Brunn
7f30189d31
[IMP] support changing readonly state
2023-02-28 13:53:55 +01:00
Holger Brunn
ce0465e31f
[IMP] collapse whitespace in rows
2023-02-28 13:53:55 +01:00
Holger Brunn
d0b01845c1
[IMP] handle readonly flag
...
[ADD] show grand total
[IMP] classify floats as floats
2023-02-28 13:53:55 +01:00
Holger Brunn
e57de0e0e8
[ADD] allow to open linked record
...
of one of the axes is a many2one field
2023-02-28 13:53:55 +01:00
Holger Brunn
7a0c5d3704
[FIX] use odoo's parse_value
2023-02-28 13:53:55 +01:00
Holger Brunn
73f2bdb2ad
[IMP] show column totals in table footer
2023-02-28 13:53:55 +01:00
Holger Brunn
f6f3c7127c
[ADD] web_widget_x2many_2d_matrix
2023-02-28 13:53:55 +01:00