3
0
Fork 0
Commit Graph

49 Commits (6df32b51c354df444aed0f2bba41374f02469e54)

Author SHA1 Message Date
OCA-git-bot 6df32b51c3 [UPD] README.rst 2019-07-29 03:49:00 +00:00
tarteo dad7313c28 [FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
[FIX] Padding in aggregate row
2019-04-25 12:04:27 +02:00
tarteo 8820e290c3 [FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates 2019-04-24 15:40:03 +02:00
Alexey Pelykh c3d5fdf82d [IMP] web_widget_x2many_2d_matrix: center header cell 2019-02-19 15:16:21 +01:00
Alexey Pelykh 6ca36a4b36 [FIX] web_widget_x2many_2d_matrix: total cell calculation 2019-02-05 09:03:13 +02:00
Alexey Pelykh 343d0560d5 [FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells 2018-12-10 23:56:23 +02:00
OCA-git-bot beb7abc68a [UPD] README.rst 2018-12-02 02:59:09 +00:00
Alexey Pelykh f7fc839bc0 [12.0][FIX] web_widget_x2many_2d_matrix: README 2018-11-20 10:46:18 +02:00
Alexey Pelykh 95b01b24eb [MIG] web_widget_x2many_2d_matrix: Migration to 12.0 2018-11-20 08:34:56 +00:00
Pedro M. Baeza fba72698ca [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2018-11-20 08:34:56 +00:00
Jordi Ballester Alomar c90a414c93 web_widget_x2many_matrix: fix issue with limit of records 2018-11-20 08:34:56 +00:00
Dennis Sluijk 58e22f173f [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2018-11-20 08:34:56 +00:00
Jairo Llopis ef60996e88 [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.
2018-11-20 08:34:56 +00:00
Jairo Llopis f1278e4ba6 [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2018-11-20 08:34:56 +00:00
Jairo Llopis c83ef4a9fa [FIX] web_widget_x2many_2d_matrix: Fix linters 2018-11-20 08:34:56 +00:00
mreficent 5be63c90b8 [FIX] Make matrix editable depending of the status of the parent 2018-11-20 08:34:56 +00:00
Akim Juillerat e3483010a2 [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2018-11-20 08:34:56 +00:00
Simone Orsi 054741ab11 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2018-11-20 08:34:56 +00:00
Artem Kostyuk 48f1dc3a6f [11][MIG] web_widget_x2many_2d_matrix WIP 2018-11-20 08:34:56 +00:00
Richard deMeester cb74aab0cd [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
2018-11-20 08:34:56 +00:00
jesusVMayor 7ff2c149f2 Migration of web_widget_x2many_2d_matrix to 10.0 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 3441b0f2b5 [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 22e3a6834d [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 75ba3f6f58 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 6bc158324f [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 9a2abbc479 [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.
2018-11-20 08:34:56 +00:00
Jairo Llopis 3d7183062b [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2018-11-20 08:34:56 +00:00
Pedro M. Baeza ce503fc8a6 [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2018-11-20 08:34:56 +00:00
Pedro M. Baeza 7f196f715a [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.
2018-11-20 08:34:56 +00:00
Holger Brunn 323ed2bd30 [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
2018-11-20 08:34:56 +00:00
Holger Brunn 8ff5229112 [FIX] also reinitialize totals 2018-11-20 08:34:56 +00:00
Holger Brunn e3f3a55e05 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2018-11-20 08:34:56 +00:00
Holger Brunn c6962de141 [IMP] better modularity 2018-11-20 08:34:56 +00:00
Holger Brunn 299c1153d1 [IMP] icon 2018-11-20 08:34:56 +00:00
Holger Brunn 55a6f3531a [IMP] add screenshot, example in README 2018-11-20 08:34:56 +00:00
Holger Brunn 8c4fa12b45 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2018-11-20 08:34:56 +00:00
Holger Brunn e33404dc06 [IMP] we don't need data-x and data-y on the input 2018-11-20 08:34:56 +00:00
Holger Brunn 29b3401c45 [ADD] validation
[IMP] write formatted value to back to input
2018-11-20 08:34:56 +00:00
Holger Brunn b66e4ef04a [FIX] setup focus 2018-11-20 08:34:56 +00:00
Holger Brunn 5a93f163ea [FIX] replace therp icon 2018-11-20 08:34:56 +00:00
Holger Brunn 923236dae9 [IMP] pass computed totals to inheriting function 2018-11-20 08:34:56 +00:00
Holger Brunn dda1629c41 [FIX] update readonly value after editing 2018-11-20 08:34:56 +00:00
Holger Brunn 03c652fb0b [IMP] support changing readonly state 2018-11-20 08:34:56 +00:00
Holger Brunn 2a71992d4e [IMP] collapse whitespace in rows 2018-11-20 08:34:56 +00:00
Holger Brunn 647ba2028b [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2018-11-20 08:34:56 +00:00
Holger Brunn 346cef95a4 [ADD] allow to open linked record
of one of the axes is a many2one field
2018-11-20 08:34:56 +00:00
Holger Brunn 865411d234 [FIX] use odoo's parse_value 2018-11-20 08:34:56 +00:00
Holger Brunn 20d1b205a8 [IMP] show column totals in table footer 2018-11-20 08:34:56 +00:00
Holger Brunn d6664b3bc7 [ADD] web_widget_x2many_2d_matrix 2018-11-20 08:34:56 +00:00