3
0
Fork 0
Commit Graph

480 Commits (79247c53b66740945da92d0c46a17bf85beb9beb)

Author SHA1 Message Date
Alexandre Díaz 79247c53b6 [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2022-02-18 09:33:22 +01:00
Pablo Fuentes be2c2aa71f [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
2022-02-18 09:33:22 +01:00
Bole 6ff3342165 Translated using Weblate (Croatian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/hr/
2022-02-18 09:33:22 +01:00
Alexandre Díaz 337a2b72af [FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 8f1db7f5fa Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
This reverts commit 10971ad68e.
2022-02-18 09:33:22 +01:00
Alexandre Díaz 9aef7f1019 [FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens 2022-02-18 09:33:22 +01:00
Holger Brunn 7d692504dc [ADD] detect if used field type can be aggregated
fixes #1365
2022-02-18 09:33:22 +01:00
Rodrigo Macedo 5eaf4e0d32 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/pt_BR/
2022-02-18 09:33:22 +01:00
黎伟杰 76a010f49a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/zh_CN/
2022-02-18 09:33:22 +01:00
黎伟杰 9e0082c2cc Added translation using Weblate (Chinese (Simplified)) 2022-02-18 09:33:22 +01:00
Nicolas JEUDY 94a05abd65 Translated using Weblate (French)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/fr/
2022-02-18 09:33:22 +01:00
gslabit 3a5850f5a6 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/it/
2022-02-18 09:33:22 +01:00
tarteo f76aecca4a [FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
[FIX] Padding in aggregate row
2022-02-18 09:33:22 +01:00
tarteo acc4625875 [FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates 2022-02-18 09:33:22 +01:00
Alexey Pelykh c42b87bdf7 [IMP] web_widget_x2many_2d_matrix: center header cell 2022-02-18 09:33:22 +01:00
Alexey Pelykh 71654f1fc3 [FIX] web_widget_x2many_2d_matrix: total cell calculation 2022-02-18 09:33:22 +01:00
Alexey Pelykh 31861c7bf2 [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2022-02-18 09:33:22 +01:00
Alexey Pelykh 9b7d02e6d5 [12.0][FIX] web_widget_x2many_2d_matrix: README 2022-02-18 09:33:22 +01:00
Alexey Pelykh ac07ca17a3 [MIG] web_widget_x2many_2d_matrix: Migration to 12.0 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 66dfcbbc9a [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2022-02-18 09:33:22 +01:00
Jordi Ballester Alomar e7b5c57901 web_widget_x2many_matrix: fix issue with limit of records 2022-02-18 09:33:22 +01:00
oca-travis f65908904d [UPD] Update web_widget_x2many_2d_matrix.pot 2022-02-18 09:33:22 +01:00
Dennis Sluijk d5368b4693 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2022-02-18 09:33:22 +01:00
Jairo Llopis 426253935e [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.
2022-02-18 09:33:22 +01:00
Jairo Llopis b18ec39b9b [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2022-02-18 09:33:22 +01:00
Jairo Llopis 71f2d864f7 [FIX] web_widget_x2many_2d_matrix: Fix linters 2022-02-18 09:33:22 +01:00
Rodrigo Macedo 79cc563367 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/
2022-02-18 09:33:22 +01:00
mreficent eab2efc6d0 [FIX] Make matrix editable depending of the status of the parent 2022-02-18 09:33:22 +01:00
Akim Juillerat bb1652da41 [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2022-02-18 09:33:22 +01:00
Simone Orsi d0afa41c48 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2022-02-18 09:33:22 +01:00
Artem Kostyuk 70db2e4c43 [11][MIG] web_widget_x2many_2d_matrix WIP 2022-02-18 09:33:22 +01:00
Richard deMeester fdd7d6a5c9 [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
2022-02-18 09:33:22 +01:00
Cédric Pigeon de9e68d219 [10.0] web_widget_x2many_2d_matrix: update README 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 2dee94c4c4 [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2022-02-18 09:33:22 +01:00
jesusVMayor ace6e2e833 Migration of web_widget_x2many_2d_matrix to 10.0 2022-02-18 09:33:22 +01:00
Pedro M. Baeza e4afb595f4 [MIG] Rename manifest files 2022-02-18 09:33:22 +01:00
Pedro M. Baeza ddf2b8e33c [MIG] Make modules uninstallable 2022-02-18 09:33:22 +01:00
Pedro M. Baeza fb31c0a7b7 [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2022-02-18 09:33:22 +01:00
Pedro M. Baeza f55c2f2602 [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 72c0607162 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 081cf931f1 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 500035ee37 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2022-02-18 09:33:22 +01:00
Pedro M. Baeza ec59e753c5 [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.
2022-02-18 09:33:22 +01:00
Jairo Llopis 60a71e5e20 [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2022-02-18 09:33:22 +01:00
Pedro M. Baeza e3375644cf [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2022-02-18 09:33:22 +01:00
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
Pedro M. Baeza 75c10c5407 [MIG] Make modules uninstallable 2022-02-18 09:33:22 +01:00
Stéphane Bidoul a73771adbe [UPD] prefix versions with 8.0 2022-02-18 09:33:22 +01:00
Markus Schneider 465bdc7e7b remove comma 2022-02-18 09:33:22 +01:00