Commit Graph

64 Commits (f36b75005db9e5ab9927e7068bf09a8b97e3e78b)

Author SHA1 Message Date
OCA-git-bot f8674c5dea [UPD] README.rst 2020-11-10 16:33:55 +00:00
OCA-git-bot 44017009a7 [UPD] README.rst 2020-07-13 05:55:03 +00:00
OCA-git-bot 971b6cd101 [UPD] README.rst 2020-07-13 05:31:27 +00:00
Alexandre Díaz 8a9959947c [IMP] web_widget_x2many_2d_matrix: Debug mode 2020-04-15 15:12:21 +02:00
OCA-git-bot 82757d201a [UPD] README.rst 2020-03-29 06:55:25 +00:00
OCA-git-bot fef6fbcb12 [UPD] README.rst 2020-03-06 07:35:40 +00:00
Adrià Gil Sorribes 6e6c60395e [13.0][MIG] web_widget_x2many_2d_matrix 2020-03-05 16:51:12 +01:00
Adrià Gil Sorribes 9bd27d63b0 [IMP] web_widget_x2many_2d_matrix: black, isort 2020-03-05 16:51:12 +01:00
Pablo Fuentes 333a67ca13 [FIX] web_widget_x2many_2d_matrix: Ensure lines order
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2020-03-05 08:17:01 +01:00
Alexandre Díaz ded7922ca0 [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2020-03-05 08:17:01 +01:00
Pablo Fuentes 54faf1bd1b [FIX] web_widget_x2many_2d_matrix: Wrong widget
In previous versions _setSubViewLimit was defined at AbstractView widget but in v12 is defined at FormView widget
2020-03-05 08:17:01 +01:00
Alexandre Díaz 18f63e537c [FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile 2020-03-05 08:17:01 +01:00
Pedro M. Baeza faa7118959 Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
This reverts commit 10971ad68e.
2020-03-05 08:17:01 +01:00
Alexandre Díaz 905a0b40fc [FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens 2020-03-05 08:17:01 +01:00
Holger Brunn da4c0b0e10 [ADD] detect if used field type can be aggregated
fixes #1365
2020-03-05 08:17:01 +01:00
OCA-git-bot 8b688fd42a [UPD] README.rst 2020-03-05 08:17:01 +01:00
tarteo 30f6f279a4 [FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
[FIX] Padding in aggregate row
2020-03-05 08:17:01 +01:00
tarteo d76600708e [FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates 2020-03-05 08:17:01 +01:00
Alexey Pelykh c99025aab7 [IMP] web_widget_x2many_2d_matrix: center header cell 2020-03-05 08:17:01 +01:00
Alexey Pelykh a9257b6a93 [FIX] web_widget_x2many_2d_matrix: total cell calculation 2020-03-05 08:17:01 +01:00
Alexey Pelykh c38c70e0f3 [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2020-03-05 08:17:01 +01:00
OCA-git-bot 380bbe0c6f [UPD] README.rst 2020-03-05 08:17:01 +01:00
Alexey Pelykh a1e5e48537 [12.0][FIX] web_widget_x2many_2d_matrix: README 2020-03-05 08:17:01 +01:00
Alexey Pelykh 89a35e7d91 [MIG] web_widget_x2many_2d_matrix: Migration to 12.0 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 849525e48e [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2020-03-05 08:17:01 +01:00
Jordi Ballester Alomar 5dccd038ce web_widget_x2many_matrix: fix issue with limit of records 2020-03-05 08:17:01 +01:00
Dennis Sluijk 09991cb574 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2020-03-05 08:17:01 +01:00
Jairo Llopis f39fdc94c9 [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.
2020-03-05 08:17:01 +01:00
Jairo Llopis f5dde1577d [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2020-03-05 08:17:01 +01:00
Jairo Llopis 36913cd896 [FIX] web_widget_x2many_2d_matrix: Fix linters 2020-03-05 08:17:01 +01:00
mreficent 15e39d44b2 [FIX] Make matrix editable depending of the status of the parent 2020-03-05 08:17:01 +01:00
Akim Juillerat ca213cd38e [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2020-03-05 08:17:01 +01:00
Simone Orsi d2dafcbdeb [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2020-03-05 08:17:01 +01:00
Artem Kostyuk 130909c7c4 [11][MIG] web_widget_x2many_2d_matrix WIP 2020-03-05 08:17:01 +01:00
Richard deMeester 307e93007e [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
2020-03-05 08:17:01 +01:00
jesusVMayor 976ea30892 Migration of web_widget_x2many_2d_matrix to 10.0 2020-03-05 08:17:01 +01:00
Pedro M. Baeza ccdf5710ab [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 4feb82659e [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 9fb5f933f8 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 07518433d1 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 2655123d5b [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.
2020-03-05 08:17:01 +01:00
Jairo Llopis 7e25a97cef [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2020-03-05 08:17:01 +01:00
Pedro M. Baeza fe7b4c3a85 [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 07e12b3f3e [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.
2020-03-05 08:17:01 +01:00
Holger Brunn b981ecd72f [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
2020-03-05 08:17:01 +01:00
Holger Brunn c671d3525d [FIX] also reinitialize totals 2020-03-05 08:17:01 +01:00
Holger Brunn 7d5d0d130f [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2020-03-05 08:17:01 +01:00
Holger Brunn e4365fa24c [IMP] better modularity 2020-03-05 08:17:01 +01:00
Holger Brunn c4cbaf52a8 [IMP] icon 2020-03-05 08:17:01 +01:00
Holger Brunn 1ad7523065 [IMP] add screenshot, example in README 2020-03-05 08:17:01 +01:00