Commit Graph

469 Commits (3a5850f5a6acb351cb8e7bad7e1566a02e60d070)

Author SHA1 Message Date
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
Markus Schneider 843a7be243 add OCA to author 2022-02-18 09:33:22 +01:00
Yannick Vaucher bf3371954b Add bug tracker link on README.rst 2022-02-18 09:33:22 +01:00
Holger Brunn 78ef5f067f [FIX] also reinitialize totals 2022-02-18 09:33:22 +01:00
Holger Brunn b2ac1b5407 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2022-02-18 09:33:22 +01:00
Holger Brunn 9ce4562396 [IMP] better modularity 2022-02-18 09:33:22 +01:00
Holger Brunn 4f34a94473 [IMP] icon 2022-02-18 09:33:22 +01:00
Holger Brunn e14b376906 [IMP] add screenshot, example in README 2022-02-18 09:33:22 +01:00
Holger Brunn bea6f42160 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2022-02-18 09:33:22 +01:00
Holger Brunn 59733e8777 [IMP] we don't need data-x and data-y on the input 2022-02-18 09:33:22 +01:00
Holger Brunn 5131dea7cf [ADD] validation
[IMP] write formatted value to back to input
2022-02-18 09:33:22 +01:00
Holger Brunn ddb18f4db9 [FIX] setup focus 2022-02-18 09:33:22 +01:00