3
0
Fork 0
Commit Graph

286 Commits (afd8477551abaf9a604e6c7e94f714f50514bc9c)

Author SHA1 Message Date
Alexey Pelykh afd8477551 [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2023-02-28 13:53:55 +01:00
Alexey Pelykh d59d9fb630 [12.0][FIX] web_widget_x2many_2d_matrix: README 2023-02-28 13:53:55 +01:00
Alexey Pelykh 801b05aa14 [MIG] web_widget_x2many_2d_matrix: Migration to 12.0 2023-02-28 13:53:55 +01:00
Pedro M. Baeza 6f88b71632 [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2023-02-28 13:53:55 +01:00
Jordi Ballester Alomar ba78bff95d web_widget_x2many_matrix: fix issue with limit of records 2023-02-28 13:53:55 +01:00
oca-travis 4838bcde2b [UPD] Update web_widget_x2many_2d_matrix.pot 2023-02-28 13:53:55 +01:00
Dennis Sluijk 56de5dde21 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2023-02-28 13:53:55 +01:00
Jairo Llopis 1246c0be67 [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.
2023-02-28 13:53:55 +01:00
Jairo Llopis 53a543962c [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2023-02-28 13:53:55 +01:00
Jairo Llopis c7c58a7245 [FIX] web_widget_x2many_2d_matrix: Fix linters 2023-02-28 13:53:55 +01:00
Rodrigo Macedo 2c0c118a4f 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/
2023-02-28 13:53:55 +01:00
mreficent 3d14d618ef [FIX] Make matrix editable depending of the status of the parent 2023-02-28 13:53:55 +01:00
Akim Juillerat b901bc2aad [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2023-02-28 13:53:55 +01:00
Simone Orsi 963a07e61c [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2023-02-28 13:53:55 +01:00
Artem Kostyuk 373fa5ffda [11][MIG] web_widget_x2many_2d_matrix WIP 2023-02-28 13:53:55 +01:00
Richard deMeester 82b0d44651 [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
2023-02-28 13:53:55 +01:00
Cédric Pigeon 92f920247b [10.0] web_widget_x2many_2d_matrix: update README 2023-02-28 13:53:55 +01:00
Pedro M. Baeza 280e36751d [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2023-02-28 13:53:55 +01:00
jesusVMayor 0fc203d70e Migration of web_widget_x2many_2d_matrix to 10.0 2023-02-28 13:53:55 +01:00
Pedro M. Baeza b78a63c5a6 [MIG] Rename manifest files 2023-02-28 13:53:55 +01:00
Pedro M. Baeza 117319eeb4 [MIG] Make modules uninstallable 2023-02-28 13:53:55 +01:00
Pedro M. Baeza b5eed66ef2 [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2023-02-28 13:53:55 +01:00
Pedro M. Baeza e16eb9dc1f [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2023-02-28 13:53:55 +01:00
Pedro M. Baeza f4a4fd26ed [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2023-02-28 13:53:55 +01:00
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
Pedro M. Baeza 48fd313f08 [MIG] Make modules uninstallable 2023-02-28 13:53:55 +01:00
Stéphane Bidoul b0a4f022a2 [UPD] prefix versions with 8.0 2023-02-28 13:53:55 +01:00
Markus Schneider a35077d47d remove comma 2023-02-28 13:53:55 +01:00
Markus Schneider 9a9ec66494 add OCA to author 2023-02-28 13:53:55 +01:00
Yannick Vaucher a26af9c550 Add bug tracker link on README.rst 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