Commit Graph

132 Commits (8f5aa160d641fb8ccbd5b51f9f9fb2cb181abf59)

Author SHA1 Message Date
Pedro M. Baeza fd7f23f810 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 97338c7965 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 11138d5f87 [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.
2025-03-06 09:36:33 +02:00
Jairo Llopis 970632bc73 [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2025-03-06 09:36:33 +02:00
Pedro M. Baeza bf66e5f144 [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2025-03-06 09:36:33 +02:00
Pedro M. Baeza ac5d36019e [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.
2025-03-06 09:36:33 +02:00
Holger Brunn 8c434ad7cf [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
2025-03-06 09:36:33 +02:00
Pedro M. Baeza 3e06c988b4 [MIG] Make modules uninstallable 2025-03-06 09:36:33 +02:00
Stéphane Bidoul 31938f2e33 [UPD] prefix versions with 8.0 2025-03-06 09:36:33 +02:00
Markus Schneider 357abd2bdc remove comma 2025-03-06 09:36:33 +02:00
Markus Schneider 22a2277b7f add OCA to author 2025-03-06 09:36:33 +02:00
Yannick Vaucher 15a2ede07b Add bug tracker link on README.rst 2025-03-06 09:36:33 +02:00
Holger Brunn 50051f3cb0 [FIX] also reinitialize totals 2025-03-06 09:36:33 +02:00
Holger Brunn 538bc24087 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2025-03-06 09:36:33 +02:00
Holger Brunn 998cbab374 [IMP] better modularity 2025-03-06 09:36:33 +02:00
Holger Brunn f8fa89d192 [IMP] icon 2025-03-06 09:36:33 +02:00
Holger Brunn a773f3854f [IMP] add screenshot, example in README 2025-03-06 09:36:33 +02:00
Holger Brunn c63fc194da [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2025-03-06 09:36:33 +02:00
Holger Brunn 4bf864d35d [IMP] we don't need data-x and data-y on the input 2025-03-06 09:36:33 +02:00
Holger Brunn 98203385e5 [ADD] validation
[IMP] write formatted value to back to input
2025-03-06 09:36:33 +02:00
Holger Brunn e2855df5a3 [FIX] setup focus 2025-03-06 09:36:33 +02:00
Holger Brunn 6e71c0ba25 [FIX] replace therp icon 2025-03-06 09:36:33 +02:00
Holger Brunn 05f779e9f0 [IMP] pass computed totals to inheriting function 2025-03-06 09:36:33 +02:00
Holger Brunn 295955bdba [FIX] update readonly value after editing 2025-03-06 09:36:33 +02:00
Holger Brunn 4648be3429 [IMP] support changing readonly state 2025-03-06 09:36:33 +02:00
Holger Brunn d5b92a2c4b [IMP] collapse whitespace in rows 2025-03-06 09:36:33 +02:00
Holger Brunn a82b910e4c [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2025-03-06 09:36:33 +02:00
Holger Brunn d253a1971b [ADD] allow to open linked record
of one of the axes is a many2one field
2025-03-06 09:36:33 +02:00
Holger Brunn a28757f2c5 [FIX] use odoo's parse_value 2025-03-06 09:36:33 +02:00
Holger Brunn 874070c7c9 [IMP] show column totals in table footer 2025-03-06 09:36:33 +02:00
Holger Brunn ced65db0f0 [UPD] readme 2025-03-06 09:36:33 +02:00
Holger Brunn e8d68ba07f [ADD] web_widget_x2many_2d_matrix 2025-03-06 09:36:33 +02:00