Commit Graph

390 Commits

Author SHA1 Message Date
Simone Orsi
4aaa4f9cb4 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2024-02-29 11:34:47 +05:30
Artem Kostyuk
7833764d82 [11][MIG] web_widget_x2many_2d_matrix WIP 2024-02-29 11:34:47 +05:30
Richard deMeester
71c5a464f2 [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
2024-02-29 11:34:47 +05:30
Cédric Pigeon
19a7b2b9b2 [10.0] web_widget_x2many_2d_matrix: update README 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
6a066512f6 [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2024-02-29 11:34:47 +05:30
jesusVMayor
8a193b1d89 Migration of web_widget_x2many_2d_matrix to 10.0 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
086d6146fd [MIG] Rename manifest files 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
955539828e [MIG] Make modules uninstallable 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
bf1c32b2ce [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
daa25cb505 [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
c6a368333e [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
b5cb9a940b [IMP] web_widget_x2many_2d_matrix: Better options parsing 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
1e8f27f176 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
bc89fd38f3 [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.
2024-02-29 11:34:47 +05:30
Jairo Llopis
a75c51e706 [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
5e160c6ab0 [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2024-02-29 11:34:47 +05:30
Pedro M. Baeza
ad00b3ebd7 [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.
2024-02-29 11:34:47 +05:30
Holger Brunn
aef0fdbded [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
2024-02-29 11:34:47 +05:30
Pedro M. Baeza
7876610951 [MIG] Make modules uninstallable 2024-02-29 11:34:47 +05:30
Stéphane Bidoul
c550aadd22 [UPD] prefix versions with 8.0 2024-02-29 11:34:47 +05:30
Markus Schneider
8be95b566b remove comma 2024-02-29 11:34:47 +05:30
Markus Schneider
3d4f3a8d2b add OCA to author 2024-02-29 11:34:47 +05:30
Yannick Vaucher
cdd339244a Add bug tracker link on README.rst 2024-02-29 11:34:47 +05:30
Holger Brunn
8823c6fa8b [FIX] also reinitialize totals 2024-02-29 11:34:47 +05:30
Holger Brunn
9a5e53b7a9 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2024-02-29 11:34:47 +05:30
Holger Brunn
5e57e3e37f [IMP] better modularity 2024-02-29 11:34:47 +05:30
Holger Brunn
da7fd1119f [IMP] icon 2024-02-29 11:34:47 +05:30
Holger Brunn
aeb6eaf42b [IMP] add screenshot, example in README 2024-02-29 11:34:47 +05:30
Holger Brunn
023132a4d4 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2024-02-29 11:34:47 +05:30
Holger Brunn
4d3d7205de [IMP] we don't need data-x and data-y on the input 2024-02-29 11:34:47 +05:30
Holger Brunn
2ad9902132 [ADD] validation
[IMP] write formatted value to back to input
2024-02-29 11:34:47 +05:30
Holger Brunn
cd4f971785 [FIX] setup focus 2024-02-29 11:34:47 +05:30
Holger Brunn
8eda585c1f [FIX] replace therp icon 2024-02-29 11:34:47 +05:30
Holger Brunn
4abba5c830 [IMP] pass computed totals to inheriting function 2024-02-29 11:34:47 +05:30
Holger Brunn
7a180b0b04 [FIX] update readonly value after editing 2024-02-29 11:34:47 +05:30
Holger Brunn
e3db7e5036 [IMP] support changing readonly state 2024-02-29 11:34:47 +05:30
Holger Brunn
a41dc4ba0f [IMP] collapse whitespace in rows 2024-02-29 11:34:47 +05:30
Holger Brunn
0989395655 [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2024-02-29 11:34:47 +05:30
Holger Brunn
c0ef7a6122 [ADD] allow to open linked record
of one of the axes is a many2one field
2024-02-29 11:34:47 +05:30
Holger Brunn
c533e63e02 [FIX] use odoo's parse_value 2024-02-29 11:34:47 +05:30
Holger Brunn
5e269f1b53 [IMP] show column totals in table footer 2024-02-29 11:34:47 +05:30
Holger Brunn
241b98219a [UPD] readme 2024-02-29 11:34:47 +05:30
Holger Brunn
b8a928741c [ADD] web_widget_x2many_2d_matrix 2024-02-29 11:34:47 +05:30
mymage
481ce4ec97 Translated using Weblate (Italian)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/it/
2024-02-12 11:39:29 +00:00
Ivorra78
6d2d7649dd Translated using Weblate (Spanish)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/es/
2024-02-06 19:37:02 +00:00
Ivorra78
c0751a7d35 Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/es/
2024-02-06 19:37:02 +00:00
mymage
fe0cd5f5cd Translated using Weblate (Italian)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/it/
2024-02-04 16:34:09 +00:00
mymage
0e94dd11aa Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-17.0/web-17.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_environment_ribbon/it/
2024-02-04 16:34:09 +00:00
mymage
bc9610a269 Added translation using Weblate (Italian) 2024-02-04 13:31:40 +00:00
mymage
811f455df6 Added translation using Weblate (Italian) 2024-02-04 13:31:35 +00:00