Commit Graph

594 Commits (46a98eb562db401ac8fe92d49b4795f6601cb9b5)

Author SHA1 Message Date
oca-travis 46a98eb562 [UPD] Update web_widget_x2many_2d_matrix.pot 2025-03-06 09:36:34 +02:00
Dennis Sluijk 8917d0a9fd [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2025-03-06 09:36:34 +02:00
Jairo Llopis f274f7a5bb [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.
2025-03-06 09:36:34 +02:00
Jairo Llopis c273fdf6d2 [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2025-03-06 09:36:34 +02:00
Jairo Llopis 510956042e [FIX] web_widget_x2many_2d_matrix: Fix linters 2025-03-06 09:36:34 +02:00
Rodrigo Macedo 5c80845bc9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (1 of 1 strings)

Translation: web-11.0/web-11.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_widget_x2many_2d_matrix/pt_BR/
2025-03-06 09:36:34 +02:00
mreficent e59dfab86b [FIX] Make matrix editable depending of the status of the parent 2025-03-06 09:36:34 +02:00
Akim Juillerat 6e6d317321 [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2025-03-06 09:36:34 +02:00
Simone Orsi 0955e3fc86 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2025-03-06 09:36:34 +02:00
Artem Kostyuk 4168c4775d [11][MIG] web_widget_x2many_2d_matrix WIP 2025-03-06 09:36:34 +02:00
Richard deMeester 216eebd3e0 [FIX] web_widget_x2many_2d_matrix: fixes (#712)
* Patches to make module operational.
* Minor fix to Readonly Switch
* Fix to render to set change attribute.
* Totals recompute.

Fixes #697
2025-03-06 09:36:33 +02:00
Cédric Pigeon 440bf99c88 [10.0] web_widget_x2many_2d_matrix: update README 2025-03-06 09:36:33 +02:00
Pedro M. Baeza ad973477c6 [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2025-03-06 09:36:33 +02:00
jesusVMayor 0b772c9277 Migration of web_widget_x2many_2d_matrix to 10.0 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 8181063fff [MIG] Rename manifest files 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 13c04e7b6a [MIG] Make modules uninstallable 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 8cbb3866a5 [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 358d39015d [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2025-03-06 09:36:33 +02:00
Pedro M. Baeza 13b19861e6 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2025-03-06 09:36:33 +02:00
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