Jairo Llopis
7208ce3156
[9.0][FIX][web_widget_x2many_2d_matrix] Correctly bind events.
...
Event binding was applied in the wrong places, causing `xy_value_change()` never to be executed.
2017-01-09 15:44:20 +01:00
Pedro M. Baeza
9a84ac6edd
[FIX] web_widget_x2many_2d_matrix: Init correctly the view
2016-09-22 12:11:40 +02:00
Pedro M. Baeza
76bc2ad19f
[IMP] web_widget_x2many_2d_matrix: Remove unneeded code
2016-09-22 12:09:34 +02:00
Pedro M. Baeza
eb2cbfa921
[IMP] web_widget_x2many_2d_matrix: Better options parsing
2016-09-22 09:45:23 +02:00
Pedro M. Baeza
00ab29fbe4
[FIX] web_widget_x2many_2d_matrix: Use existing value in load_views
2016-09-21 20:39:15 +02:00
Pedro M. Baeza
76d6d72ecf
[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.
2016-09-21 18:40:55 +02:00
Jairo Llopis
6c38b07ee4
[IMP] web_widget_x2many_2d_matrix: Use new JS modularized API.
2016-09-21 18:40:55 +02:00
Pedro M. Baeza
61679afeba
[MIG] web_widget_x2many_2d_matrix: Migration to 9.0
2016-09-21 18:40:55 +02:00
Pedro M. Baeza
ab0361542c
[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.
2016-09-21 18:40:55 +02:00
Holger Brunn
60da5f45a2
[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
2016-09-21 18:39:53 +02:00
Holger Brunn
5f1ebff3c8
[FIX] also reinitialize totals
2015-04-16 10:15:39 +02:00
Holger Brunn
8ce3afdc3d
[FIX] support rerendering after virtual ids change
...
this is necessary for correct operation after creating new records
2015-04-16 09:59:47 +02:00
Holger Brunn
65e51ac52c
[IMP] better modularity
2015-03-18 17:10:29 +01:00
Holger Brunn
8dd0a8251c
[IMP] use semantic css classes instead of element names
...
[RFR] and being on it, make reacting to changes in overrides simple
2015-03-16 16:47:21 +01:00
Holger Brunn
a7342a333d
[ADD] validation
...
[IMP] write formatted value to back to input
2015-03-13 18:47:15 +01:00
Holger Brunn
a784477f5b
[FIX] setup focus
2015-03-13 18:26:29 +01:00
Holger Brunn
8d89b3ebdf
[IMP] pass computed totals to inheriting function
2015-03-13 17:44:41 +01:00
Holger Brunn
0119274720
[FIX] update readonly value after editing
2015-03-13 17:36:39 +01:00
Holger Brunn
d91b99e6b8
[IMP] support changing readonly state
2015-03-13 15:34:02 +01:00
Holger Brunn
59803fb145
[IMP] handle readonly flag
...
[ADD] show grand total
[IMP] classify floats as floats
2015-03-12 15:44:57 +01:00
Holger Brunn
69c75892e6
[ADD] allow to open linked record
...
of one of the axes is a many2one field
2015-03-12 15:27:25 +01:00
Holger Brunn
d1150e1d6c
[FIX] use odoo's parse_value
2015-03-12 12:27:24 +01:00
Holger Brunn
75a234f312
[ADD] web_widget_x2many_2d_matrix
2015-03-11 18:00:21 +01:00