Alexandre Díaz
8a9959947c
[IMP] web_widget_x2many_2d_matrix: Debug mode
2020-04-15 15:12:21 +02:00
Adrià Gil Sorribes
6e6c60395e
[13.0][MIG] web_widget_x2many_2d_matrix
2020-03-05 16:51:12 +01:00
Adrià Gil Sorribes
9bd27d63b0
[IMP] web_widget_x2many_2d_matrix: black, isort
2020-03-05 16:51:12 +01:00
Pablo Fuentes
333a67ca13
[FIX] web_widget_x2many_2d_matrix: Ensure lines order
...
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2020-03-05 08:17:01 +01:00
Pablo Fuentes
54faf1bd1b
[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
2020-03-05 08:17:01 +01:00
Alexandre Díaz
18f63e537c
[FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
faa7118959
Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
...
This reverts commit 10971ad68e
.
2020-03-05 08:17:01 +01:00
Alexandre Díaz
905a0b40fc
[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens
2020-03-05 08:17:01 +01:00
Holger Brunn
da4c0b0e10
[ADD] detect if used field type can be aggregated
...
fixes #1365
2020-03-05 08:17:01 +01:00
tarteo
d76600708e
[FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates
2020-03-05 08:17:01 +01:00
Alexey Pelykh
c99025aab7
[IMP] web_widget_x2many_2d_matrix: center header cell
2020-03-05 08:17:01 +01:00
Alexey Pelykh
a9257b6a93
[FIX] web_widget_x2many_2d_matrix: total cell calculation
2020-03-05 08:17:01 +01:00
Alexey Pelykh
c38c70e0f3
[FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
849525e48e
[FIX] web_widget_x2many_2d_matrix: Closing parenthesis
2020-03-05 08:17:01 +01:00
Jordi Ballester Alomar
5dccd038ce
web_widget_x2many_matrix: fix issue with limit of records
2020-03-05 08:17:01 +01:00
Dennis Sluijk
09991cb574
[IMP] web_widget_x2many_2d_matrix: Total of all rows ( #1043 )
2020-03-05 08:17:01 +01:00
Jairo Llopis
f39fdc94c9
[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.
2020-03-05 08:17:01 +01:00
Jairo Llopis
f5dde1577d
[FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation
2020-03-05 08:17:01 +01:00
Jairo Llopis
36913cd896
[FIX] web_widget_x2many_2d_matrix: Fix linters
2020-03-05 08:17:01 +01:00
mreficent
15e39d44b2
[FIX] Make matrix editable depending of the status of the parent
2020-03-05 08:17:01 +01:00
Akim Juillerat
ca213cd38e
[11.0] x2m matrix widget: Fix display of widget when called in onchange
...
Add nicer message when there are no values to display
2020-03-05 08:17:01 +01:00
Simone Orsi
d2dafcbdeb
[MIG+REF][11] web_widget_x2many_2d_matrix
...
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2020-03-05 08:17:01 +01:00
Artem Kostyuk
130909c7c4
[11][MIG] web_widget_x2many_2d_matrix WIP
2020-03-05 08:17:01 +01:00
Richard deMeester
307e93007e
[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
2020-03-05 08:17:01 +01:00
jesusVMayor
976ea30892
Migration of web_widget_x2many_2d_matrix to 10.0
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
ccdf5710ab
[FIX] web_widget_x2many_2d_matrix: Init correctly the view
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
4feb82659e
[IMP] web_widget_x2many_2d_matrix: Remove unneeded code
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
9fb5f933f8
[IMP] web_widget_x2many_2d_matrix: Better options parsing
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
07518433d1
[FIX] web_widget_x2many_2d_matrix: Use existing value in load_views
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
2655123d5b
[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.
2020-03-05 08:17:01 +01:00
Jairo Llopis
7e25a97cef
[IMP] web_widget_x2many_2d_matrix: Use new JS modularized API.
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
fe7b4c3a85
[MIG] web_widget_x2many_2d_matrix: Migration to 9.0
2020-03-05 08:17:01 +01:00
Pedro M. Baeza
07e12b3f3e
[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.
2020-03-05 08:17:01 +01:00
Holger Brunn
b981ecd72f
[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
2020-03-05 08:17:01 +01:00
Holger Brunn
c671d3525d
[FIX] also reinitialize totals
2020-03-05 08:17:01 +01:00
Holger Brunn
7d5d0d130f
[FIX] support rerendering after virtual ids change
...
this is necessary for correct operation after creating new records
2020-03-05 08:17:01 +01:00
Holger Brunn
e4365fa24c
[IMP] better modularity
2020-03-05 08:17:01 +01:00
Holger Brunn
569def98e2
[IMP] use semantic css classes instead of element names
...
[RFR] and being on it, make reacting to changes in overrides simple
2020-03-05 08:17:01 +01:00
Holger Brunn
1eaf985999
[ADD] validation
...
[IMP] write formatted value to back to input
2020-03-05 08:17:01 +01:00
Holger Brunn
4af854c2eb
[FIX] setup focus
2020-03-05 08:17:01 +01:00
Holger Brunn
08285bb319
[IMP] pass computed totals to inheriting function
2020-03-05 08:17:01 +01:00
Holger Brunn
2e2b2453d7
[FIX] update readonly value after editing
2020-03-05 08:17:01 +01:00
Holger Brunn
ea84a081f0
[IMP] support changing readonly state
2020-03-05 08:17:01 +01:00
Holger Brunn
4203e2ab4c
[IMP] handle readonly flag
...
[ADD] show grand total
[IMP] classify floats as floats
2020-03-05 08:17:01 +01:00
Holger Brunn
4a4bf0b68f
[ADD] allow to open linked record
...
of one of the axes is a many2one field
2020-03-05 08:17:01 +01:00
Holger Brunn
fcafa6268f
[FIX] use odoo's parse_value
2020-03-05 08:17:01 +01:00
Holger Brunn
970cca94f3
[ADD] web_widget_x2many_2d_matrix
2020-03-05 08:17:01 +01:00