Pedro M. Baeza
c8ee9c02ae
[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.
2022-02-18 09:33:22 +01:00
Holger Brunn
6d9ec8eb55
[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
2022-02-18 09:33:22 +01:00
Holger Brunn
78ef5f067f
[FIX] also reinitialize totals
2022-02-18 09:33:22 +01:00
Holger Brunn
b2ac1b5407
[FIX] support rerendering after virtual ids change
...
this is necessary for correct operation after creating new records
2022-02-18 09:33:22 +01:00
Holger Brunn
9ce4562396
[IMP] better modularity
2022-02-18 09:33:22 +01:00
Holger Brunn
4f34a94473
[IMP] icon
2022-02-18 09:33:22 +01:00
Holger Brunn
e14b376906
[IMP] add screenshot, example in README
2022-02-18 09:33:22 +01:00
Holger Brunn
bea6f42160
[IMP] use semantic css classes instead of element names
...
[RFR] and being on it, make reacting to changes in overrides simple
2022-02-18 09:33:22 +01:00
Holger Brunn
59733e8777
[IMP] we don't need data-x and data-y on the input
2022-02-18 09:33:22 +01:00
Holger Brunn
5131dea7cf
[ADD] validation
...
[IMP] write formatted value to back to input
2022-02-18 09:33:22 +01:00
Holger Brunn
ddb18f4db9
[FIX] setup focus
2022-02-18 09:33:22 +01:00
Holger Brunn
16a289cd3a
[FIX] replace therp icon
2022-02-18 09:33:22 +01:00
Holger Brunn
8c2df69691
[IMP] pass computed totals to inheriting function
2022-02-18 09:33:22 +01:00
Holger Brunn
da1512e65c
[FIX] update readonly value after editing
2022-02-18 09:33:22 +01:00
Holger Brunn
5f718facd0
[IMP] support changing readonly state
2022-02-18 09:33:22 +01:00
Holger Brunn
6bdb0cd2d8
[IMP] collapse whitespace in rows
2022-02-18 09:33:22 +01:00
Holger Brunn
08d687be94
[IMP] handle readonly flag
...
[ADD] show grand total
[IMP] classify floats as floats
2022-02-18 09:33:21 +01:00
Holger Brunn
9b7870d35b
[ADD] allow to open linked record
...
of one of the axes is a many2one field
2022-02-18 09:33:21 +01:00
Holger Brunn
170c7d94b2
[FIX] use odoo's parse_value
2022-02-18 09:33:21 +01:00
Holger Brunn
a6d5482409
[IMP] show column totals in table footer
2022-02-18 09:33:21 +01:00
Holger Brunn
79e09dd753
[ADD] web_widget_x2many_2d_matrix
2022-02-18 09:33:21 +01:00